Skip to content

Ocm - #1204

Merged
Svanvith merged 11 commits into
mainfrom
ocm
Oct 27, 2026
Merged

Ocm#1204
Svanvith merged 11 commits into
mainfrom
ocm

Conversation

@Svanvith

@Svanvith Svanvith commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

@tbsbdr ocm docs for admins how to configure it and for user how to invite another user and share files and folders with them

@Svanvith
Svanvith requested a review from schweigisito October 27, 2026 10:27
# Conflicts:
#	docs/admin/configuration/index.md
Comment thread docs/admin/configuration/ocm.md Outdated

## Enable OCM services

Create an `ocm.yml` file in the root of the `opencloud-compose` directory with the following content:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer putting the file into ./custom directory as this is excluded from git via the .git-ignore file and doesn't conflict with the git origin.

Comment thread docs/admin/configuration/ocm.md Outdated
Add `ocm.yml` to the end of the existing `COMPOSE_FILE` value in the `.env` file. Keep all files that are already part of your deployment. For example:

```bash
COMPOSE_FILE=docker-compose.yml:traefik/opencloud.yml:ocm.yml

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementing the obove comment, would result in custom/ocm.yml then.

@schweigisito

Copy link
Copy Markdown
Member

While debugging issues with customer deployments, it's also quite important that the configured api versions match the actual deployment. There might be an additional comment for the troubleshoot section to verify the api version of the mesh partners, e.g. by querying the /.well-known/ocm endpoint of the mesh partners. This may look like this:

curl https://cloud.opencloud.test/.well-known/ocm
{
   "enabled": true,
   "apiVersion": "1.2.0",
   "endPoint": "https://cloud.opencloud.test/ocm",
   "provider": "OpenCloud",
   "resourceTypes": [
      {
         "name": "file",
         "shareTypes": [
            "user"
         ],
         "protocols": {
            "webdav": "/dav/ocm"
         }
      }
   ],
   "capabilities": [
      "invites",
      "webdav-uri",
      "protocol-object",
      "invite-wayf"
   ],
   "inviteAcceptDialog": "https://cloud.opencloud.test/open-cloud-mesh/accept-invite"

@Svanvith
Svanvith merged commit 122dfa5 into main Oct 27, 2026
2 checks passed
@Svanvith
Svanvith deleted the ocm branch October 27, 2026 12:23
@openclouders openclouders mentioned this pull request Oct 27, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants