What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
What app is this about: Seafile
Describe your issue
Seahub wont start
Share relevant logs or error messages
When i start the systemd seahub service
juil. 15 11:02:43 yuno.exemple.tld seahub.sh[133051]: LC_ALL is not set in ENV, set to fr_FR.UTF-8
juil. 15 11:02:43 yuno.exemple.tld seahub.sh[133051]: /opt/seafile/seafile-server-12.0.14/seahub.sh: line 231: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
juil. 15 11:02:43 yuno.exemple.tld seahub.sh[133051]: Starting seahub at port 8000 …
juil. 15 11:02:46 yuno.exemple.tld seahub.sh[133067]: [2025-07-15 11:02:46 +0200] [133067] [INFO] Starting gunicorn 23.0.0
juil. 15 11:02:46 yuno.exemple.tld seahub.sh[133067]: Error: Already running on PID 1451 (or pid file ‘/opt/seafile/pids/seahub.pid’ is stale)
juil. 15 11:02:48 yuno.exemple.tld seahub.sh[133051]: Error:Seahub failed to start.
juil. 15 11:02:48 yuno.exemple.tld seahub.sh[133051]: Please try to run “./seahub.sh start” again
juil. 15 11:02:48 yuno.exemple.tld systemd[1]: seahub.service: Control process exited, code=exited, status=1/FAILURE
I notice systemd file use bind path
sudo systemctl cat seahub
…
BindPaths=/home/yunohost.app/seafile/seafile-data:/opt/seafile/seafile-data /home/yunohost.app/seafile/seahub-data:/opt/seafile/seahub-data /var/log/seafile:/opt/seafile/logs /var/www/seafile/conf:/opt/seafile/conf /var/www/seafile/ccnet:/opt/seafile/ccnet /proc /dev
Because /opt/seafile/pids/ does not exist but /var/www/seafile/pids exist with good right
sudo ls -ald /var/www/seafile/pids
drwxr----- 2 seafile seafile 4096 22 juin 2024 /var/www/seafile/pids
I tried to stop seafile and restart it not working
I added this to bind path and it fix my issue
BindPaths= /var/www/seafile/pids:/opt/seafile/pids/