已解决
域名解析问题。
可以从/opt/seafile-data/seafile/logs中seahub.log日志文件中看出问题。
[2025-06-12 03:45:06] [ERROR] seahub.api2.endpoints.wiki2:618 post HTTPConnectionPool(host=‘seafile.liuguohua.com’
, port=80): Max retries exceeded with url: /seafhttp/upload-api/043d0c35-88e5-4527-9270-a1226ea2ff46?replace=1 (Ca
used by NameResolutionError(“<urllib3.connection.HTTPConnection object at 0x7fca0d3daba0>: Failed to resolve ‘seaf
ile.liuguohua.com’ ([Errno -2] Name or service not known)”))
[2025-06-12 03:45:06] [ERROR] django.request:241 log_response Internal Server Error: /api/v2.1/wiki2/164bce55-a206
-4c6a-8124-6d162199f8ae/pages/
我也出现了这个问题,但是似乎和域名解析无感,是端口调用错误,请问你有什么头绪吗?
以下是sdoc-server.log的内容
[2025-06-16 08:17:10] [ERROR] document-controller.js[56] - ER_ACCESS_DENIED_ERROR: Access denied for user ‘seafile’@‘172.17.0.6’ (using password: YES)
[2025-06-16 08:17:10] [ERROR] document-controller.js[90] - Load Untitled.sdoc(b3df28fd-6b2d-4c2c-806e-90c399a098f9) doc content error
[2025-06-16 08:17:26] [ERROR] document-controller.js[56] - ER_ACCESS_DENIED_ERROR: Access denied for user ‘seafile’@‘172.17.0.6’ (using password: YES)
[2025-06-16 08:17:26] [ERROR] document-controller.js[90] - Load 123.sdoc(96bb0ff5-fac8-4f03-b434-d58c9f61a7aa) doc content error
这个提示是连接数据库错误,看看 sdoc 中连接 seafile 数据库的密码是不是没有设置正确