Unable to start seahub after minor upgrade (6.2.2 -> 6.2.5)

server

#1

I ran a minor upgrade as root from Seafile 6.2.2 to 6.2.5
Now Seahub won’t start anymore.

seafile@Ubuntu-1604-xenial-64-minimal:~/seafile-server-latest$ ./seafile.sh start

[02/12/18 16:03:23] ../common/session.c(132): using config file /opt/seafile/conf/ccnet.conf
Starting seafile server, please wait ...
Seafile server started

Done.
seafile@Ubuntu-1604-xenial-64-minimal:~/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:Seahub failed to start.
Please try to run "./seahub.sh start" again

I read afterwards, that I should have been logged in as the seafile user. Which I was not. Therefore do I have to chown some folders? I don’t know which ones.


#2

Everything under the home directory for the seafile user needs to be owned by the seafile user.

Fix that and try again.


#3

Thank you, running the following as root

sudo chown -cR seafile /opt/seafile

fixed the problem!