mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
[BUG] PostgreSQL 18 backup fails due to missing privileges for Databasus auto read-only user after DB schema upgrade #239
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StafLoker on 1/14/2026
Description
I have installed Databasus v2.22.1 and PostgreSQL 18. After upgrading an application that performs automatic database schema migrations (Remnawave used only as an example, this can affect any application), PostgreSQL backups started failing.
The issue appears to be that schema changes introduced during migrations do not grant privileges to the Databasus auto-created read-only user, causing pg_dump to fail.
No manual database changes were made. The migration was executed entirely by the application’s official migration scripts.
Error in detailed:
Expected behavior
Backups should continue to work after schema migrations without requiring manual permission fixes.