Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database schema import always failed for PostgreSQL #71

Closed
lbetz opened this issue Jan 2, 2023 · 0 comments
Closed

Database schema import always failed for PostgreSQL #71

lbetz opened this issue Jan 2, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@lbetz
Copy link
Member

lbetz commented Jan 2, 2023

Error: 'psql 'host=localhost user=icinga2 port=5432 dbname=icinga2 ' -w -f '/usr/share/icinga2-ido-pgsql/schema/pgsql.sql'' returned 2 instead of one of [0]
Error: /Stage[main]/Icinga2::Feature::Idopgsql/Exec[idopgsql-import-schema]/returns: change from 'notrun' to ['0'] failed: 'psql 'host=localhost user=icinga2 port=5432 dbname=icinga2 ' -w -f '/usr/share/icinga2-ido-pgsql/schema/pgsql.sql'' returned 2 instead of one of [0]
Notice: /Stage[main]/Icingaweb2::Config/Exec[import schema]/returns: psql: FATAL: password authentication failed for user "icingaweb2"
Error: 'psql 'host=localhost user=icingaweb2 port=5432 dbname=icingaweb2 ' -w -f /usr/share/doc/icingaweb2/schema/pgsql.schema.sql' returned 2 instead of one of [0]
Error: /Stage[main]/Icingaweb2::Config/Exec[import schema]/returns: change from 'notrun' to ['0'] failed: 'psql 'host=localhost user=icingaweb2 port=5432 dbname=icingaweb2 ' -w -f /usr/share/doc/icingaweb2/schema/pgsql.schema.sql' returned 2 instead of one of [0]

@lbetz lbetz added the bug Something isn't working label Jan 2, 2023
@lbetz lbetz added this to the v2.9.1 milestone Jan 2, 2023
@lbetz lbetz closed this as completed in bb4c80d Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant