Skip to content

Conversation

@oxzi
Copy link
Member

@oxzi oxzi commented Jun 30, 2025

Explicitly state that the "icingadb" PostgreSQL database user must be used for schema upgrades.

The PostgreSQL database user applying a schema upgrade is the table owner of newly create tables. When applying an Icinga DB schema upgrade not as the "icingadb" user, but as "postgres", newly created tables would not be accessible for the "icingadb" user, resulting in Icinga DB and Icinga DB Web to fail.

Reported in #987.


Screenshot of rendered docs

Screenshot 2025-06-30 at 12-28-55 Upgrading - Icinga DB

Explicitly state that the "icingadb" PostgreSQL database user must be
used for schema upgrades.

The PostgreSQL database user applying a schema upgrade is the table
owner of newly create tables. When applying an Icinga DB schema upgrade
not as the "icingadb" user, but as "postgres", newly created tables
would not be accessible for the "icingadb" user, resulting in Icinga DB
and Icinga DB Web to fail.

Reported in #987.
@oxzi oxzi added this to the 1.5.0 milestone Jun 30, 2025
@oxzi oxzi added the area/documentation Improvements or additions to documentation label Jun 30, 2025
@cla-bot cla-bot bot added the cla/signed label Jun 30, 2025
@oxzi oxzi merged commit 6b4ba62 into main Jul 3, 2025
31 checks passed
@oxzi oxzi deleted the doc-04-postgresql-user-schema-upgrade branch July 3, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Improvements or additions to documentation cla/signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants