Skip to content

Latest commit

 

History

History
98 lines (69 loc) · 2.47 KB

upgrading_seafile_professional_server.md

File metadata and controls

98 lines (69 loc) · 2.47 KB

Upgrading Seafile Professional Server

This page is for users who use the pre-compiled seafile server package.

Major Continuous Upgrade (like from 1.2.x to 1.3.y)

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.

  1. Shutdown Seafile server if it's running

    cd haiwen/seafile-server-1.2.0
    ./seahub.sh stop
    ./seafile.sh stop
  2. 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
  3. Start the new server version as for any upgrade

    cd haiwen/seafile-server-1.3.0/
    ./seafile.sh start
    ./seahub.sh start

Noncontinuous Upgrade (like from 1.1 to 1.3)

You may also upgrade a few versions at once, e.g. from 1.1.0 to 1.3.0. The procedure is:

  1. upgrade from 1.1.0 to 1.2.0;
  2. 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 (like from 1.5.0 to 1.5.1)

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
  1. 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
  2. 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
  3. 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
  4. If the new version works file, the old version can be removed

    rm -rf seafile-server-1.5.0