My version of HedgeDoc is: 1.9.6
What I expected to happen:
PostgreSQL15 is supported and works like other Postgres versions.
What actually happened:
After upgrading my database to Postgres15, it seems Hedgedoc cannot connect to the database properly.
During start I’m getting following error :
2022-11-18T21:38:00.375Z warn: Session secret not set. Using random generated one. Please set `sessionSecret` in your config.json file. All users will be logged out.
2022-11-18T21:38:02.264Z error: permission denied for schema public
2022-11-18T21:38:02.264Z error: Database migration failed.
This can be the result of upgrading from quite old versions and requires manual database intervention.
See https://docs.hedgedoc.org/guides/migration-troubleshooting/ for help.
Exiting…
My database connection URL:
postgresql://hedgedoc:<PASSWORD>@postgres.postgres.svc.cluster.local:5432/hedgedoc
I already tried:
Several postgres commands after googling this error, like:
GRANT USAGE ON SCHEMA public TO hededoc;