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

Time to upgrade the server! πŸ˜€

My Debian 9 GNU/Linux virtual machine:

  • Debian GNU/Linux 9.3 (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 organised 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.1.x to 6.2.x is a major version update, so have to use theΒ upgrade_6.1_6.2.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.2, It is recommended to use WSGI mode for communication between Seahub and Nginx/Apache. Two steps are needed if you’d like 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!

Quelle: 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.