Similarly to the beginning of the year, I had a problem with Seafile. It was crashing and I couldn’t start it with systemd.
Here’s my notes/steps/fixes for the issue.
I stopped the services:
sudo systemctl stop seahub
sudo systemctl stop seafile
Sudo into the seafile user:
sudo -u seafileuser -s /bin/sh
Disabled the daemon mode and manually started seafile to see the output errors:
vi $HOME/seafile/conf/gunicorn.conf.py
(...)
daemon = False
(...)
seafile-server-latest/seafile.sh start
seafile-server-latest/seahub.sh start
I had errors loading some python libraries, so I updated them:
sudo pip3 install --timeout=3600 django-pylibmc django-simple-captcha
sudo pip3 install --timeout=3600 future mysqlclient
Enabled the daemon mode:
vi $HOME/seafile/conf/gunicorn.conf.py
(...)
daemon = True
(...)
Started seafile with success:
sudo systemctl start seafile
sudo systemctl start seahub