Seahub Does not Seem to Start

I have managed to follow the official tutorial to install seafile version 10.0.16 professional.

After Following All the Steps, I reach the point where I have to start the services, and, for some reason, seahub is not starting. Here is the Output from systemctl start seahub:

× seahub.service - Seafile hub
     Loaded: loaded (/etc/systemd/system/seahub.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-09-26 18:43:44 UTC; 7min ago
    Process: 2831269 ExecStart=/var/www/seafile/seafile-server-latest/seahub.sh start (code=exited, status=0/SUCCESS)
   Main PID: 2831283 (code=exited, status=1/FAILURE)
        CPU: 1.706s

Sep 26 18:43:37 db1 systemd[1]: Starting Seafile hub...
Sep 26 18:43:37 db1 seahub.sh[2831269]: LC_ALL is not set in ENV, set to en_US.UTF-8
Sep 26 18:43:37 db1 seahub.sh[2831269]: Starting seahub at port 8000 ...
Sep 26 18:43:43 db1 seahub.sh[2831269]: Seahub is started
Sep 26 18:43:43 db1 seahub.sh[2831269]: Done.
Sep 26 18:43:43 db1 systemd[1]: Started Seafile hub.
Sep 26 18:43:44 db1 systemd[1]: seahub.service: Main process exited, code=exited, status=1/FAILURE
Sep 26 18:43:44 db1 systemd[1]: seahub.service: Failed with result 'exit-code'.
Sep 26 18:43:44 db1 systemd[1]: seahub.service: Consumed 1.706s CPU time.

I can’t see what is the Issue Here, Can Someone Help Me?

difficult to say. Please try to execute the seahub process not with systemctl but as user seafile.

sudo su seafile
cd /opt/seafile-server/seafile-server-latest/
seahub.sh start

Then check the logs to get more information.

In general, I would assume that there is a permission error if you don’t get any errors. Make sure that all files and folders belong to seafile user.