Archiv für den Monat: Oktober 2015

Update Seafile Server on Raspberry

  1. Get link of newest seafile server release from https://github.com/haiwen/seafile-rpi/releases (e.g. v4.4.0/seafile-server_4.4.0_pi.tar.gz)
  2. Switch to the seafile user: sudo su seafile
  3. Switch to the seafile home folder: cd ~
  4. Download the new release: e.g. wget https://github.com/haiwen/seafile-rpi/releases/download/v4.4.0/seafile-server_4.4.0_pi.tar.gz
  5. Unpack the new release: tar -xzf seafile-server_4.4.0_pi.tar.gz
  6. Follow the steps in http://manual.seafile.com/deploy/upgrade.html

Fix „SSLCertificateFile: file ‚…‘ does not exist or is empty“

After updating a certificate in Plesk I got the error message:

New configuration files for the Apache web server were not created due to the errors in configuration templates:
Syntax error on line 50 of /etc/apache2/plesk.conf.d/vhosts/xxx.conf: SSLCertificateFile: file ‚/opt/psa/var/certificates/cert-xxx‘ does not exist or is empty .

Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files

To fix this:

  1. Log into your server using ssh
  2. cd /opt/psa/var/certificates/
  3. Determine the new name of the certificate (first output of ls -lt) e.g. cert-yyyyy
  4. Create the missing certificate: cp cert-yyyyy cert-xxxxx
  5. Click on the link in the error message to regenerate all configuration files.

The error message should disappear.