Skip to content

Nextcloud to Seafile sending federated share problems #136

@MahdiBaghbani

Description

@MahdiBaghbani

From Vincent Lee via cs3org/OCM Matrix chat :

Hello, I'm a Seafile developer and currently working on integrating Seafile and Nextcloud via OCM.

I encountered some issues during development. Let me first describe the problems in detail.

The Seafile server I'm using is https://test.seafile.com

Accessing https://test.seafile.com/ocm-provider/ returns the following:

{
  "apiVersion": "1.0-proposal1",
  "enabled": true,
  "endPoint": "https://test.seafile.com/ocm-via-webdav/",
  "resourceTypes": {
    "name": "file",
    "protocols": {
      "webdav": "/seafdav/"
    },
    "shareTypes": [
      "user"
    ]
  }
}

The Nextcloud server is https://nextcloud.seafile.top, deployed on Ubuntu 22.04.4 LTS, using the snap-installed version 29.0.4snap2.

I can successfully log in to Nextcloud, but when I try to share a file remotely with lian@[email protected] (where [email protected] is a user on test.seafile.com), the page displays "Error creating the share" and the admin-logs page shows the following error.

WX20240815-181132@2x
WX20240815-181911@2x

I also checked the Apache log on test.seafile.com, and only got one log:

112.126.25.132 - - [15/Aug/2024:10:04:06 +0000] "GET /ocm-provider/ HTTP/1.1" 200 2997 "-" "Nextcloud Server Crawler"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions