Archiv für den Monat: Dezember 2015

Seafile CLI sync certificate error

If you get the following error while syncing your seafile library with a server using a self signed certificate, you have to add the certficate to your certificate store.

Error:

urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>

Solution:

  1. Retrieve the self-signed certificate (usually .pem or .crt)
  2. Make sure you have ca-certificates installed
    apt-get install ca-certificates
  3. Copy your certificate into the certificate folder
    cp cert.pem /usr/share/ca-certificates
  4. Activate the certificate
    dpkg-reconfigure ca-certificates

For more information see: http://unix.stackexchange.com/a/90607

Update Seafile Client 4.x to 5.x on Raspberry Pi

To update your Seafile Client (e.g. 3.1.7) on your Raspberry you just have to install the new packages of version 5.x.

1. Download packages

2. Install packages

dpkg -i libsearpc-3.0_3.0-latest-2_armhf.deb
dpkg -i ccnet_5.0.1-1_armhf.deb
dpkg -i seafile_5.0.1-1_armhf.deb
dpkg -i seafile-client_5.0.1-1_armhf.deb

As usual: Please, report if you have any issues and also report if it worked for you.