Sdoc in Seafile 11.07 professinal?

I’m not really clear if Seadoc is now part of Seafile 11.07 prof or if I still need to install it separately.
And if part, what do I need to configure it?

As been naive I just created (in webbrowser view) a test.sdoc file. Click to open… and after a while error message “Load doc content error”.
Back to view and then trying delete the file getting another error “access denied”. In seahub log I see:
[WARNING] django.request:241 log_response Forbidden: /api/v2.1/repos/6b7f4d55-7ad4-4dce-a2e6-bd9eccb694cd/file/

So can somebody clearify how this should work if at all?

1 Like

Same here. After struggling with the manual, that doesn’t clearly describe how to install seafile and seadoc on the same docker host, I finally got it running.
But whenever I create a new .sdoc file, a new tab opens with the message “Load doc content error”. And I also can not delete the document. I always get an “access denied” error.

The sdoc-server.log only says:

server is serve on http://127.0.0.1:7070
[2024-07-30 13:24:09] [INFO] www.js[22] - Starting sdoc server process: 51
[2024-07-30 13:29:10] [INFO] document-manager.js[104] - 0 docs saved.

The seahub.access.log shows:

- 10.10.1.1 [30/Jul/2024:15:30:56 +0200] "GET /api/v2.1/repos/dd4e0f94-5967-4ff1-afb8-5725f405f13e/dir/?p=%2F&with_thumbnail=true HTTP/1.1" 200 318 "https://my.seafile.server/lib/dd4e0f94-5967-4ff1-afb8-5725f405f13e/file/test.sdoc" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 0.035
- 10.10.1.1 [30/Jul/2024:15:30:56 +0200] "GET /sdoc-server/api/v1/docs/ec1a134f-cd3f-4cad-be90-86d4ea1675cd/ HTTP/1.1" 404 1173 "https://my.seafile.server/lib/dd4e0f94-5967-4ff1-afb8-5725f405f13e/file/test.sdoc" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 0.076
- 10.10.1.1 [30/Jul/2024:15:31:02 +0200] "DELETE /api/v2.1/repos/dd4e0f94-5967-4ff1-afb8-5725f405f13e/file/?p=%2Ftest.sdoc HTTP/1.1" 403 64 "https://my.seafile.server/library/dd4e0f94-5967-4ff1-afb8-5725f405f13e/Meine%20Bibliothek/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 0.020

I’ve installed docker-ce-27.1.1-1.el9.x86_64 on Rocky Linux 9.4. I’m running seafile-pro-mc:11.0-latest and sdoc-server:latest.

Any ideas?

This seahub log means that the request that should have been sent to SeaDoc was mistakenly sent to Seahub.
Please check whether the nginx configuration correctly proxy the /sdoc-server/ .

We have updated the document with how SeaDoc loads the content: SeaDoc Integration - Seafile Admin Manual

Would be nice to add Apache2 config as well as many installations are using this instead of ngix.

I think you can add a similar Apache2 based configuration based on the configuration for Nginx.

Similar is not as easy as I don’t really understand some of the statements in nginx.
So adding a Apache2 config in the manual would be really helpful. Ideally with ssl support.