Hi,
I am using Seafile 7.0.4 on Raspbian.
After some time using Seafile, the Seafile hub won’t start anymore (no updates on the os side has been installed).
Using systemd to start the seahub daemon leads to following error message:
● seahub.service - Seafile hub
Loaded: loaded (/etc/systemd/system/seahub.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-08-21 16:15:33 CEST; 4s ago
Process: 1454 ExecStart=/home/seafile/seafile-server-latest/seahub.sh start (code=exited, status=1/FAILURE)
Aug 21 16:15:24 seafile-pi systemd[1]: Starting Seafile hub...
Aug 21 16:15:24 seafile-pi seahub.sh[1454]: LC_ALL is not set in ENV, set to en_US.UTF-8
Aug 21 16:15:24 seafile-pi seahub.sh[1454]: Starting seahub at port 8000 ...
Aug 21 16:15:33 seafile-pi seahub.sh[1454]: Error:Seahub failed to start.
Aug 21 16:15:33 seafile-pi seahub.sh[1454]: Please try to run "./seahub.sh start" again
Aug 21 16:15:33 seafile-pi systemd[1]: seahub.service: Control process exited, code=exited status=1
Aug 21 16:15:33 seafile-pi systemd[1]: Failed to start Seafile hub.
Aug 21 16:15:33 seafile-pi systemd[1]: seahub.service: Unit entered failed state.
Aug 21 16:15:33 seafile-pi systemd[1]: seahub.service: Failed with result 'exit-code'.
There are no warning or errors in the logs file.
root@seafile-pi:/home/seafile# ls -altr logs/
insgesamt 9012
-rw-r--r-- 1 seafile seafile 2070 Jul 7 2018 seahub_django_request.log
drwxr-xr-x 2 seafile seafile 4096 Sep 5 2018 .
-rw-r--r-- 1 seafile seafile 141387 Aug 8 20:56 seahub.log
-rw-r--r-- 1 seafile seafile 357957 Aug 21 14:43 gunicorn_access.log
-rw-r--r-- 1 seafile seafile 127368 Aug 21 14:46 gunicorn_error.log
drwxr-xr-x 12 seafile seafile 4096 Aug 21 16:05 ..
-rw-r--r-- 1 seafile seafile 36270 Aug 21 16:22 controller.log
-rw-r--r-- 1 seafile seafile 8464707 Aug 21 16:22 seafile.log
-rw-r--r-- 1 seafile seafile 50332 Aug 21 16:29 ccnet.log
My seahub config
# -*- coding: utf-8 -*-
SECRET_KEY = "[SECRET]"
FILE_SERVER_ROOT = 'https://[IP]/seafhttp'
ENABLE_SETTINGS_VIA_WEB = False
# TimeZone
TIME_ZONE = 'Europe/Berlin'
# Email Configuration
EMAIL_USE_TLS = True
EMAIL_HOST = '[SERVER]'
EMAIL_HOST_USER = '[USER]'
EMAIL_HOST_PASSWORD = '[PASSWORT]'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'seahub-db',
'USER': 'seafile',
'PASSWORD': '[PASSWORD]',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}
How can I fix this problem?
Kind regards