之前一直都是用二进制包部署的Seafile社区版,因为官方从v12开始全部专项Docker部署方式了。
我也趁着假期尾声将Seafile社区版从11.0.13迁移到了Docker版本的12.0.7。
为了避免数据历史数据的干扰问题,我是用Docker方式重新部署了一套Seafile-ce-12.0.7,然后通过备份与恢复方式,完成的数据迁移。
经过一番折腾,现在系统可以正常登录和使用了,但Seafile容器的启动日志一直有错误提示:
*** Running /etc/my_init.d/01_create_data_links.sh...
*** Booting runit daemon...
*** Runit started as PID 21
*** Running /scripts/enterpoint.sh...
2025-02-05 20:58:50 Nginx ready
2025-02-05 20:58:50 This is an idle script (infinite loop) to keep container running.
[2025-02-05 20:58:50] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[02/05/2025 20:58:50][upgrade]: The container was recreated, start fix the media symlinks
mv: not replacing '/shared/seafile/seahub-data/avatars/default-non-register.jpg'
mv: not replacing '/shared/seafile/seahub-data/avatars/default.png'
mv: not replacing '/shared/seafile/seahub-data/avatars/groups'
[02/05/2025 20:58:50][upgrade]: Done
Starting seafile server, please wait ...
Seafile server started
Done.
Starting seahub at port 8000 ...
/opt/seafile/seafile-server-12.0.7/seahub/seahub/settings.py:1050: SyntaxWarning: invalid escape sequence '\w'
match = re.search('^EXTRA_(\w+)', attr)
/opt/seafile/seafile-server-12.0.7/seahub/thirdpart/seafobj/mc.py:13: SyntaxWarning: invalid escape sequence '\S'
match = re.match('--SERVER\\s*=\\s*(\S+)', mc_options)
/opt/seafile/seafile-server-12.0.7/seahub/seahub/utils/htmldiff.py:1383: SyntaxWarning: invalid escape sequence '\+'
change_re = re.compile('(\++|\-+|\^+)')
/opt/seafile/seafile-server-12.0.7/seahub/seahub/utils/password.py:26: SyntaxWarning: invalid escape sequence '\d'
has_numbers = bool(re.search('\d', password))
/opt/seafile/seafile-server-12.0.7/seahub/seahub/base/middleware.py:126: SyntaxWarning: invalid escape sequence '\.'
http_accept_regex = re.compile("application/vnd\.wap\.xhtml\+xml", re.IGNORECASE)
/opt/seafile/seafile-server-12.0.7/seahub/seahub/group/utils.py:33: SyntaxWarning: invalid escape sequence '\w'
return re.match('^[()()\w\s\'\.-]+$', group_name, re.U)
[2025-02-05 20:58:56 +0000] [147] [INFO] Starting gunicorn 23.0.0
[2025-02-05 20:58:56 +0000] [147] [INFO] Listening at: http://127.0.0.1:8000 (147)
[2025-02-05 20:58:56 +0000] [147] [INFO] Using worker: sync
[2025-02-05 20:58:56 +0000] [156] [INFO] Booting worker with pid: 156
[2025-02-05 20:58:56 +0000] [157] [INFO] Booting worker with pid: 157
[2025-02-05 20:58:56 +0000] [158] [INFO] Booting worker with pid: 158
[2025-02-05 20:58:56 +0000] [159] [INFO] Booting worker with pid: 159
[2025-02-05 20:58:56 +0000] [160] [INFO] Booting worker with pid: 160
请大家帮忙看下。