Note:You must shutdown seafile server before you upgrade.
Before you upgrade, assume you have:
C:/SeafileProgram
|______ seafile-server-3.0.0/
Then the first step is to download the new version of Seafile Server and uncompress it to C:/SeafileProgram. After this you should have:
C:/SeafileProgram
|______ seafile-server-3.0.0/
|______ seafile-server-3.1.0/
Now assume you are upgrading from Seafile Windows Server 3.0.0 to 3.0.1
Go to the folder seafile-server-3.0.0/seahub/media/avatars
The avatars folder contains all the avatars uploaded by seafile users.
If you have a user [email protected], then in this folder, you will find a subfolder [email protected]. This subfolder contains the avatar pictures of the user [email protected].
Copy all subfolders like [email protected] to seafile-server-3.0.1/seahub/media/avatars. So that when you start the new seafile 3.0.1 server, these avatars can be load correctly.
Now assume you are upgrading from Seafile Windows Server 3.0.x to 3.1.y:
Run the database upgrade script
upgrade_3.0_3.1.batIf you're using MySQL, you need to manually upgrade the database yourself:
ccnet.sql, run it with the ccnet-db databasemysql ccnet-db < ccnet.sql
seafile.sql, run it with the seafile-db databasemysql ccnet-db < seafile.sql
seahub.sql, run it with the seahub-db databasemysql seahub-db < seafile.sql
Copy all subfolders of seafile-server-3.0.0/seahub/media/avatars to seafile-server-3.1.0/seahub/media/avatars
If you have installed Seafile server as a Windows Service, you need to: