Seahub fails to start with:
# ./seahub.sh start
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 ...
!!!
!!! WARNING: configuration file should have a valid Python extension.
!!!
Error:Seahub failed to start.
Please try to run "./seahub.sh start" again
rdb
April 12, 2020, 9:27am
2
Hi toxidxd,
welcome to the Seafile Community Forum!
The community will try to help you when you furnish enough pertinent information to assist.
Based on the information you provided, all I can tell you is that - this will be a disappointment - I think a config file has not the right extension.
Why not share with us:
Is this a new Seafile server? Or and update?
What about your config files?
What debugging steps have you already performed?
this strange, but it started before i install seafile in docker container…
Hi,
I have the same problem with clean install on debian 10. I installed 7.0.5 and works correctly…
export PYTHONPATH=/opt/seafile-server-7.1.3/seafile/lib/python3.6/site-packages:/opt/seafile-server-7.1.3/seafile/lib64/python3.6/site-packages:/opt/seafile-server-7.1.3/seahub:/opt/seafile-server-7.1.3/seahub/thirdpart:
PYTHONPATH=/opt/seafile-server-7.1.3/seafile/lib/python3.6/site-packages:/opt/seafile-server-7.1.3/seafile/lib64/python3.6/site-packages:/opt/seafile-server-7.1.3/seahub:/opt/seafile-server-7.1.3/seahub/thirdpart:
warning_if_seafile_not_running
pgrep -f ‘seafile-controller -c /opt/ccnet’
validate_seahub_running
pgrep -f /opt/seafile-server-7.1.3/seahub/manage.py
pgrep -f seahub.wsgi:application
prepare_seahub_log_dir
logdir=/opt/logs
[[ -d ‘’ ]]
mkdir -p /opt/logs
export SEAHUB_LOG_DIR=/opt/logs
SEAHUB_LOG_DIR=/opt/logs
echo ‘Starting seahub at port 8000 …’
Starting seahub at port 8000 …
check_init_admin
check_init_admin_script=/opt/seafile-server-7.1.3/check_init_admin.py
python3 /opt/seafile-server-7.1.3/check_init_admin.py
python3 /opt/seafile-server-7.1.3/seahub/thirdpart/bin/gunicorn seahub.wsgi:application -c /opt/conf/gunicorn.conf.py --preload
sleep 5
pgrep -f seahub.wsgi:application
printf ‘\033[33mError:Seahub failed to start.\033[m\n’
Error:Seahub failed to start.
echo ‘Please try to run “./seahub.sh start” again’