Seafile upgrade from 5.1 to 6.0 fails "gunicorn.conf not found"


#1

Greetings,

I actually have the version 5.1.4 of seafile and I wish to upgrade it to 6.0

I’ve downloaded the latest version by running:

wget https://download.seadrive.org/seafile-server_6.3.2_x86-64.tar.gz

And then I ran the upgrade with

root@SEAFILE:/home/Seafile# seafile-server-6.3.2/upgrade/upgrade_5.1_6.0.sh


This script would upgrade your seafile server from 5.1 to 6.0
Press [ENTER] to contiune

Updating seafile/seahub database …

[INFO] You are using MySQL
[INFO] updating seahub database…
Done

migrating avatars …

Done

updating /home/Seafile/seafile-server-latest symbolic link to /home/Seafile/seafile-server-6.3.2 …


Upgraded your seafile server successfully.

root@SEAFILE:/home/Seafile# ls
ccnet seafile-data seafile-server-latest
conf seafile-server-3.1.7 seahub-data
installed seafile-server-4.3.1 seahub_settings.py
logs seafile-server-5.1.4 seahub_settings.pyc
pids seafile-server-6.3.2 seahub_settings.py.seafile-5.0.0-bak

root@SEAFILE:/home/Seafile# ./seafile-server-latest/seafile.sh start

[08/09/18 10:34:36] …/common/session.c(132): using config file /home/Seafile/conf/ccnet.conf
Starting seafile server, please wait …
Seafile server started

Done.
root@SEAFILE:/home/Seafile# ./seafile-server-latest/seahub.sh start

LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 …

Error: ‘/home/Seafile/conf/gunicorn.conf’ doesn’t exist
Error:Seahub failed to start.
Please try to run “./seahub.sh start” again

the problem is that it says that conf/gunicorn.conf is missing

root@SEAFILE:/home/Seafile# ls conf
ccnet.conf seafdav.conf seafile.conf seahub_settings.py seahub_settings.pyc
root@SEAFILE:/home/Seafile#

Any help on that??

Thanks


#2

You have to do all minor steps, so also to 6.1 and 6.2 before installing 6.3.