I am having an issue with Seafile, I cannot start Seahub when running ./seahub.sh
restart command I get the following error:
root@seafile:/opt/seafile/seafile-server-8.0.2# ./seahub.sh restart
Seahub is not running
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
The specs of the box are as follows:
OS: Ubuntu 20.04 (all updates installed)
NGiNX: 1.18 (Ubuntu’s Repo)
Seafile does run:
root@seafile:/opt/seafile/seafile-server-latest# ./seafile.sh start
Seafile controller is already running, pid 16807
But systemctl won’t run it:
root@seafile:/opt/seafile/seafile-server-8.0.2# systemctl start seafile.service
Job for seafile.service failed because the control process exited with error code.
See "systemctl status seafile.service" and "journalctl -xe" for details.
root@seafile:/opt/seafile/seafile-server-8.0.2# systemctl status seafile.service
● seafile.service - Seafile
Loaded: loaded (/etc/systemd/system/seafile.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-01-11 20:14:19 UTC; 12s ago
Process: 17073 ExecStart=/opt/seafile/seafile-server-latest/seafile.sh start (code=exited, status=217/USER)
Jan 11 20:14:18 seafile systemd[1]: Starting Seafile...
Jan 11 20:14:18 seafile systemd[17073]: seafile.service: Failed to determine user credentials: No such process
Jan 11 20:14:18 seafile systemd[17073]: seafile.service: Failed at step USER spawning /opt/seafile/seafile-server-latest/seafile.sh: No such process
Jan 11 20:14:19 seafile systemd[1]: seafile.service: Control process exited, code=exited, status=217/USER
Jan 11 20:14:19 seafile systemd[1]: seafile.service: Failed with result 'exit-code'.
Jan 11 20:14:19 seafile systemd[1]: Failed to start Seafile.
Seahub doesn’t start:
root@seafile:/opt/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:Seahub failed to start.
Please try to run "./seahub.sh start" again
What can I do to fix this? What am I doing wrong?