This page is for users who use the pre-compiled seafile server package.
-
If you build seafile server from source, please read the Upgrading Seafile Server section on that page, instead of this one.
-
After upgrading, you may need to clean seahub cache if it doesn't behave as expect.
Continuous upgrade means to upgrade from one version of Seafile server to the next version. For example, upgrading from 1.2.0 to 1.3.0 (or upgrading from 1.2.0 to 1.3.1) is a continuous upgrade.
After downloading and extracting the new version, you should have a directory layout similar to this:
haiwen -- seafile-server-1.2.0 -- seafile-server-1.3.0 -- ccnet -- seafile-data
Now upgrade to version 1.3.0.
-
Shutdown Seafile server if it's running
cd haiwen/seafile-server-1.2.0 ./seahub.sh stop ./seafile.sh stop
-
Run the upgrade script in seafile-server-1.3.0 directory.
cd haiwen/seafile-server-1.3.0 upgrade/upgrade_1.2_1.3_server.sh
-
Start the new server version as for any upgrade
cd haiwen/seafile-server-1.3.0/ ./seafile.sh start ./seahub.sh start
You may also upgrade a few versions at once, e.g. from 1.1.0 to 1.3.0. The procedure is:
- upgrade from 1.1.0 to 1.2.0;
- upgrade from 1.2.0 to 1.3.0.
Just run the upgrade scripts in sequence. (You don't need to download server package 1.2.0)
Minor upgrade is like an upgrade from 1.5.0 to 1.5.1.
Here is our dir strutcutre
haiwen -- seafile-server-1.5.0 -- seafile-server-1.5.1 -- ccnet -- seafile-data
-
Stop the current server first as for any upgrade
seafile-server-1.5.0/seahub.sh stop seafile-server-1.5.0/seafile.sh stop
-
For this type of upgrade, you only need to update the avatar link. We provide a script for you, just run it:
cd seafile-server-1.5.1 upgrade/minor-upgrade.sh
-
Start the new server version as for any upgrade
cd .. seafile-server-1.5.1/seafile.sh start seafile-server-1.5.1/seahub.sh start
-
If the new version works file, the old version can be removed
rm -rf seafile-server-1.5.0