Unable to start OCIS

After an update I was unable to start the docker, the log gave me this error:

The service account id has not been configured for ocm. Make sure your /etc/ocis config contains the proper values (e.g. by running ocis init or setting it manually in the config/corresponding environment variable).

I decided to do a fresh install, and now it keep giving me the JWT error:
The jwt_secret has not been set properly in your config for ocis. Make sure your /etc/ocis config contains the proper values (e.g. by running ocis init or setting it manually in the config/corresponding environment variable).

I did followed the guide from OCIS and generated a config file, all my paths are pointing to the right place.

Anyone has any clues of what I could try next?
I run the docker on a unraid server.

Can you check if your configuration file contains jwt_secret? This should be created when you initialize ocis for the first time via ocis init

1 Like

I am experiencing the same issue. I have confirmed that my ocis.yaml file contains jwt_secret and a value, as follows (starts at line 1 of the ocis.yaml file):

token_manager:
jwt_secret: ‘[string of characters]’

(jwt_secret is indented in the file but not displayed as such above.

This is on a brand new install (I am new to owncloud) after running ocis init. I am pulling owncloud\ocis-rolling:latest.

Which guide did you use for the installation? Was it from the dev or admin docs? You always should use the admin docs guide. See section “Deployment Examples” in Admin docs for rolling or Admin docs for production.

1 Like

Yep it’s there, even if it’s there on the first line it says it isn’t…

Yes, I used the Admin docs Deployment → Container Setup guide, including the “First Time Start” section.

Use one of the Ubuntu with Docker Compose examples. The compose examples are compared to the plain Docker example much more complete as you have a ready to use Traefik setup inlcuding LE, online office integration and an easier way to add more services like full text search.

You mentioned that you upgrade. Which versions are we taliking about?
Note that v5.x is production and 6.x is rolling. With the next production release, an upgrade path will be provided as usual.

Before proceeding, I should be upfront about the fact that - and I have no idea if this pertains to uncleclaude - I have gone off-book with my setup in an attempt to streamline the setup to only the services I want. Basically, I have attempted to manually create a single docker-compose file that contains only the ocis, collabora, and collaboration services with traefik labels removed as I don’t want to use traefik as I already have an established nginx reverse proxy in place and I don’t need/want the other services at this time. Additionally, I am also (as is uncleclaude) running this on unraid and I have seen repeated requirements that docker compose on unraid (for reasons I do not know) doesn’t work with multiple .yml files.

I’d still like to understand how to fix this. Would it be best to post my docker-compose.yml and .env here and continue on or to create a new post making it clear I’m using a non-standard method deployment method?