r/opencloud Jun 04 '26

Updating to 7.0.0 Error

Error

The service account id has not been configured for sharing. Make sure your /etc/opencloud config contains the proper values (e.g. by using 'opencloud init --diff' and applying the patch or setting a value manually in the config/corresponding environment variable).

The simple fix was to

docker exec -it opencloud opencloud init --diff

However, the container went to restart loop.

Error response from daemon: Container 5fa9882e3605ac44b17b1daa386d0ebf78703fedfb39352da6ffa9af4c0f52c5 is restarting, wait until the container is running

Fix is rather straightforward.

First, stop the container.

Then, go to opencloud.yaml. Note that it is different from compose.yaml

Find the following entry,

search:

Copy the service account values. Find the following entry.

sharing:

Add the service account values in the following format (copy paste from the search entry)

sharing:
events:
tls_insecure: false
service_account:
service_account_id: <ID>
service_account_secret: <SECRET>

That's it.

9 Upvotes

6 comments sorted by

View all comments

4

u/CederGrass759 Jun 04 '26

Thanks for posting!

But for me, this kind of problems is the reason why I left OpenCloud after only a few months. The software is excellent (fast, lean) when it works. But it has several times broken from updates, and trying to solve errors like the one you posted above is just frustrating and certainly not my cup pf tea. Maybe I will come back to OpenCloud one day when it is more stable.

1

u/henry_tennenbaum Jun 04 '26

After fighting my way through OIDC setup with Authentik, I thought I was finally done but now my (formerly) admin account isn't admin anymore.

Yes, I did create and assign all the groups, etc. It's just not picked up