I had a running OCIS installation using a docker compose setup using the instructions found on the OCIS docker site
Today I decided to upgrade the docker image that I was running to the latest version so I did the following:
docker compose stop
docker compose rm -f
docker compose pull
docker compose up -d
The container would startup but then continually restart. So I backed up my ocis.yml file and rerun the init cmd. ```
docker run --rm -it -v $(pwd):/etc/ocis/ owncloud/ocis:latest init
to generate a new ocis.yml. After this I was able to restart the container successfully and launch the url to get to the main login page. But when I enter my user login credentials I get an "Unexecpted HTTP response: 500" error.
Looking at the logs I see a lot of errors regarding invalid credentials. Most likely there are some credentials in my database that conflict with the new keys that got created when I reran init.
How do I fix this and regain access to my OCIS data?
simple-ocis_ocis_1 | 2024-03-05T21:45:12Z ERR invalid credentials bind_dn=uid=idp,ou=sysusers,o=libregraph-idm op=bind remote_addr=127.0.0.1:48204 service=idm
simple-ocis_ocis_1 | 2024-03-05T21:45:12Z ERR identifier failed to logon with backend error="ldap identifier backend logon connect error: LDAP Result Code 49 \"Invalid Credentials\": " service=idp
simple-ocis_ocis_1 | 2024-03-05T21:47:59Z ERR invalid credentials bind_dn=uid=reva,ou=sysusers,o=libregraph-idm op=bind remote_addr=127.0.0.1:40182 service=idm
simple-ocis_ocis_1 | 2024-03-05T21:47:59Z ERR failed to authenticate request error="could not authenticate with username and password user: dronegeek, got code: 6" authenticator=basic path=/remote.php/webdav/Joplin/info.json service=proxy
simple-ocis_ocis_1 | 2024-03-05T21:48:37Z ERR invalid credentials bind_dn=uid=idp,ou=sysusers,o=libregraph-idm op=bind remote_addr=127.0.0.1:56798 service=idm
simple-ocis_ocis_1 | 2024-03-05T21:48:37Z ERR identifier failed to logon with backend error="ldap identifier backend logon connect error: LDAP Result Code 49 \"Invalid Credentials\": " service=idp
simple-ocis_ocis_1 | 2024-03-05T21:53:00Z ERR invalid credentials bind_dn=uid=reva,ou=sysusers,o=libregraph-idm op=bind remote_addr=127.0.0.1:33012 service=idm
simple-ocis_ocis_1 | 2024-03-05T21:53:00Z ERR failed to authenticate request error="could not authenticate with username and password user: dronegeek, got code: 6" authenticator=basic path=/remote.php/webdav/Joplin/info.json service=proxy