Hello,
I’ve upgraded Seafile from Community Edition 9.0.10 to Pro 9.0.10 according to the manual and got an error when starting seahub.sh:
root@seafile:/opt/seafile# su - seafile -s /opt/seafile/seafile-server-latest/seahub.sh start
LC_ALL is not set in ENV, set to en_US.UTF-8
/opt/seafile/seafile-server-latest/seahub.sh: line 228: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Starting seahub at port 8000 ...
Error happened during creating seafile admin.
Seahub is started
Done.
When starting seahub.sh with bash -x we see this happened just before the message:
+ echo 'Starting seahub at port 8000 ...'
Starting seahub at port 8000 ...
+ check_init_admin
+ check_init_admin_script=/opt/seafile/seafile-pro-server-9.0.10/check_init_admin.py
+ python3 /opt/seafile/seafile-pro-server-9.0.10/check_init_admin.py
Error happened during creating seafile admin.
Tried to run /opt/seafile/seafile-pro-server-9.0.10/check_init_admin.py alone:
root@seafile:/opt/seafile# python3 /opt/seafile/seafile-pro-server-9.0.10/check_init_admin.py
Traceback (most recent call last):
File "/opt/seafile/seafile-pro-server-9.0.10/check_init_admin.py", line 19, in <module>
from seaserv import ccnet_api
ModuleNotFoundError: No module named 'seaserv'
I have searched for the error “No module named seaserv” but haven’t found how to solve this particular case.
The seaserv module is present:
root@seafile:/opt/seafile# find . -name seaserv
./seafile-server-9.0.10/seafile/lib/python3/site-packages/seaserv
./seafile-pro-server-9.0.10/seafile/lib/python3/site-packages/seaserv
Thank you for your help.
Yann