Help fixing my instance

My vaultwarden container is giving me this error:

2024-09-27 16:01:53.577][vaultwarden::util][WARN] Can't connect to database, retrying: DieselCon.
[CAUSE] BadConnection(
    "could not translate host name \"vaultwarden-db\" to address: Temporary failure in name resolution\n",

Everything was running fine but this morning I woke up to this. Any suggestions for how to fix it? I tried restarting the vaultwarden and postgres container but i had no luck.

I figure out the problem. The postgres was updated and that created the problem. Rolling back to 16.4 solved the issue. Not sure if there is a way of migrating to 17 without breaking vaultwarden.

Same thing here (learnt my lesson from Watchtower), however when I repull the Postgres image for 16.4 I still get the same issue. @igancio82 Please can I ask how you rolled back and if you made any other change ?

i was also able to restore my previous vaultwarden folder from last week but still to no avail

I manage my container through portainer