OCM share not working with Nextcloud

Hi there,

after OCM is now working between two seafile 9.0.7 instances, I also want to share files with a Nextcloud (24.0.4) server. This is not working.

According to Seafile Release Table this should be working with 9.0 (“Support Open Cloud Mesh with other cloud products”) but I believe this is not the case.

In seahub/seahub/ocm/settings.py I find:


which leads me to believe that sharing with other products is not supported at the moment.

Can anyone tell me what the current status of OCM share with other products is/should be?

Thank you!

In 9.0 version, sharing from NextCloud to Seafile should work. But sharing from Seafile to NextCloud doesn’t work yet. We plan to add the support in version 10.

1 Like

Sharing from Nextcloud to Seafile does not work for me. I try to share with $EMAILADDR@$SEAFILESERVER (with EMAILADDR=$USER@$DOAMIN, the one I use to login to seafile), but this is not possible.


a.b.c.d - - [22/Aug/2022:12:04:58 +0200] “GET /ocm-provider/ HTTP/1.1” 200 5872 “-” “Nextcloud Server Crawler”
a.b.c.d - - [22/Aug/2022:12:04:58 +0200] “POST /api/v2.1/ocm//shares HTTP/1.1” 301 5692 “-” “Nextcloud Server Crawler”
a.b.c.d - - [22/Aug/2022:12:04:58 +0200] “GET /api/v2.1/ocm/shares/ HTTP/1.1” 405 452 “-” “Nextcloud Server Crawler”
a.b.c.d - - [22/Aug/2022:12:04:58 +0200] “POST /ocs/v2.php/cloud/shares?format=json HTTP/1.1” 404 14158 “-” “Nextcloud Server Crawler”


2022-08-22 12:04:58,698 [WARNING] django.request:224 log_response Method Not Allowed: /api/v2.1/ocm/shares/
2022-08-22 12:04:58,772 [WARNING] django.request:224 log_response Not Found: /ocs/v2.php/cloud/shares

Hello, please enable ENABLE_OCM_VIA_WEBDAV



Thank you, that does the trick!

One thing I noticed is that I have now two lines “Shared from other servers” in my web gui. One is the share from the other Seafile server and one is the new share from the Nextcloud server.

Have you enabled ENABLE_OCM and ENABLE_OCM_VIA_WEBDAV at the same time?

If NOT, maybe you can try clearing your browser’s cache and test again.