HowTo: Update Seafile Server for generic Linux to version 7.0.5 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 23.09.2019 the fifth maintenance release version 7.0.5 is public available.

My Debian 9 GNU/Linux virtual machine:

  • Debian GNU/Linux 9.11 (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:

    1. Download the latest version:
  3. Unpack the archive:
  4. The directory listing should look similar to this example:
  5. Stop the services before the update.
  6. List the available update scripts:
  7. The update from 6.3.x to 7.0.x is a major version update, so have to use the script:

    Caution: There is a bug in the update script It doesn’t distinguish between the community and pro version anymore, hence the errors above. These errors are no problem, if you use the community edition, because they don’t account to that version.
  8. Revise the file system permissions:
  9. 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 ./ start instead of ./ start-fastcgi
  10. First let’s check the init script:
  11. And second edit the corresponding apache.conf:
  12. Reload the apache.conf:
  13. Start the services:

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


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.