I went to upgrade Lemmy from 18.4 to 18.5 but in the process it failed with an incorrect Postgres password error. I'm trying to create a new docker container and mount the postgres volume in order to reset the "lemmy" user password but can't figure out how to get it running without knowing the password.
Could anyone point me in the right direction, please?
So you don't have the root database password, or just the Lemmy user password?
Might be worth it to make a new database and create a new Lemmy user and migrate data from the backup.
I found this article which might help: https://www.postgresqltutorial.com/postgresql-administration/postgresql-reset-password/
I've only ever used Maria dB so YMMV.
I got it back up! I was able to reset the database user's password.