复制配置加入了额外内容导致的seahub起不来

在做配置得时候,直接复制了官方页面的这么一句配置

THUMBNAIL_IMAGE_SIZE_LIMIT = 30 # MB

而网页上做了奇怪的隔断,导致粘贴到linux时出现了这么个情况而没注意到:S 左右两边
THUMBNAIL_IMAGE_<feff>S<feff>IZE_LIMIT = 30 # MB

结果就起不来了。

而报错内容则是与之看起来没什么相关:

seahub.log

2023-10-18 09:01:24,866 [WARNING] seahub.utils.licenseparse:38 parse_license [Errno 2] No such file or directory: ‘/opt/seafile/seafile-pro-server-10.0.10/seahub/seahub/…/…/…/seafile-license.txt’
2023-10-18 09:01:44,746 [INFO] seafes:181 load_seafevents_conf [seafes] use highlighter fvh:

2023-10-18 09:30:28,550 [WARNING] django.security.csrf:224 log_response Forbidden (Referer checking failed - https://123123.com:8084/accounts/login/?next=/ does not match any trusted origins.): /accounts/login/
2023-10-18 09:41:06,569 [ERROR] django.security.DisallowedHost:99 response_for_exception Invalid HTTP_HOST header: ‘1231.com:8084:8084’. The domain name provided is not valid according to RFC 1034/1035.

docker compose logs -f

seafile | Error:Seahub failed to start.
seafile | Please try to run “./seahub.sh start” again
seafile | [2023-10-18 12:57:02] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
seafile | Traceback (most recent call last):
seafile | File “/scripts/start.py”, line 95, in
seafile | main()
seafile | File “/scripts/start.py”, line 81, in main
seafile | call(‘{} start’.format(get_script(‘seahub.sh’)))
seafile | File “/scripts/utils.py”, line 70, in call
seafile | return subprocess.check_call(*a, **kw)
seafile | File “/usr/lib/python3.8/subprocess.py”, line 364, in check_call
seafile | raise CalledProcessError(retcode, cmd)
seafile | subprocess.CalledProcessError: Command ‘/opt/seafile/seafile-pro-server-10.0.10/seahub.sh start’ returned non-zero exit status 1.