HowTo: Update Seafile Server for generic Linux to version 6.3.4 64bit

Seafile Server is an open source alternative to public cloud storage providers like Dropbox, Microsoft OneDrive, Apple iCloud, Google Drive and Citrix Sharefile. It works on free Linux Distributions like Debian and gives you the freedom to use the comfort of a modern synchronization client, the simplicity of a modern WebGUI, completed with the knowledge where your data is and who can access it.

Since 15.09.2018 the fourth maintenance release version 6.3.4 is public available.

My Debian 9 GNU/Linux virtual machine:

  • Debian GNU/Linux 9.9 (stretch) amd64
  • Apache 2.4 web server
  1. Switch to the install path of your Seafile installation:
  2. Make yourself familiar with your folder layout structure. For me it’s organized in /opt/seafile:
  3. Download the latest version:
  4. Unpack the archive:
  5. The directory listing should look similar to this example:
  6. Stop the services before the update.
  7. List the available update scripts:
  8. The update from 6.2.x to 6.3.x is a major version update, so have to use the upgrade_6.2_6.3.sh script:
  9. Revise the file system permissions:
  10. Before we can start seafile again, we have to check the init script and the apache.conf:

    From 6.3, With this upgrade, the fast-cgi mode is no longer supported. You need to config Seafile behind Nginx/Apache in WSGI mode. Two steps are needed to switch to WSGI mode:

    1. Change the config file of Nginx/Apache.
    2. Restart Seahub with ./seahub.sh start instead of ./seahub.sh start-fastcgi
  11. First let’s check the init script:
  12. And second edit the corresponding apache.conf:
  13. Reload the apache.conf:
  14. Start the services:

Thank you for reading my blog and I hope I could help someone out there!

Source: http://manual.seafile.com/deploy/upgrade.html

Author: Marco

Marco is an IT-System administrator and IT-Consultant with 10+ years experience. He is specialized in the delivery of virtual Apps and Desktops with Citrix solutions. In 2017 he has been awarded Citrix Technology Advocate by Citrix for his community work (#CTA). His second core area is availability & performance monitoring with Zabbix, a leading open-source solution. His employer is the German IT-Company ANAXCO, which is developing a Transport Management Software (TMS) based on Microsoft Dynamics AX. More about Marco

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.