Login Error Unexpected HTTP response: 500 after docker image update

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

After thinking about this some more I took a slightly different approach. Instead of using the new ocis.yaml created by rerunning init I merged the differences in the new ocis.yaml create with init into my original ocis.yaml.
After doing this I was able to restart the docker compose container and successfully login into my account. This seems to resolve my initial problem but I’m still seeing some errors in the log that may be due to the new image.

imple-ocis_ocis_1 | 2024-03-05T23:08:19Z ERR failed to initiate upload error=“error: precondition failed: error: not found: temp” pkg=rgrpc service=storage-users status={“code”:11,“message”:“failed precondition”,“trace”:“376faa5f2871745daafa7696fb763b49”} traceid=376faa5f2871745daafa7696fb763b49
simple-ocis_ocis_1 | 2024-03-05T23:08:23Z ERR failed to initiate upload error=“error: precondition failed: error: not found: temp” pkg=rgrpc service=storage-users status={“code”:11,“message”:“failed precondition”,“trace”:“effa4f06f0ef17a62a79d4d11d2d0419”} traceid=effa4f06f0ef17a62a79d4d11d2d0419
simple-ocis_ocis_1 | 2024-03-05T23:08:30Z ERR failed to initiate upload error=“error: precondition failed: error: not found: temp” pkg=rgrpc service=storage-users status={“code”:11,“message”:“failed precondition”,“trace”:“cf957539a938cd3db94123c127b6635e”} traceid=cf957539a938cd3db94123c127b6635e
simple-ocis_ocis_1 | 2024-03-05T23:08:40Z ERR failed to initiate upload error=“error: precondition failed: error: not found: temp” pkg=rgrpc service=storage-users status={“code”:11,“message”:“failed precondition”,“trace”:“36555891a91251ee08550c584aa0a9f3”} traceid=36555891a91251ee08550c584aa0a9f3
simple-ocis_ocis_1 | 2024/03/05 23:08:57 http: proxy error: context canceled
simple-ocis_ocis_1 | 2024-03-05T23:09:00Z ERR failed to remove item from index error=“entity not found” Id={“opaque_id”:“72d5734c-e29b-4170-bff2-3c587ee2f8a3”,“space_id”:“a11d1b1c-b962-4dc7-adf1-5033795073ca”,“storage_id”:“102ea3d2-2291-477d-af87-2b592930e9f9”} service=search