Univention Bugzilla – Bug 46570
pykota db user creation fails
Last modified: 2018-03-14 14:38:19 CET
dpkg-maintscript-helper: error: old-conffile 'etc/postgresql/8.4/main/pg_hba.conf.d/11-pg_hba.conf' is not an absolute path Multifile: /etc/postgresql/9.6/main/pg_hba.conf psql:/usr/share/pykota/postgresql/pykota-postgresql.sql:39: FEHLER: unbekannte Rollenoption »nocreateuser« ZEILE 1: ...WITH UNENCRYPTED PASSWORD 'readonlypw' NOCREATEDB NOCREATEUS... ^ psql:/usr/share/pykota/postgresql/pykota-postgresql.sql:40: FEHLER: unbekannte Rollenoption »nocreateuser« ZEILE 1: ...ITH UNENCRYPTED PASSWORD 'readwritepw' NOCREATEDB NOCREATEUS... ^ psql:/usr/share/pykota/postgresql/pykota-postgresql.sql:185: FEHLER: Rolle »pykotaadmin« existiert nicht psql:/usr/share/pykota/postgresql/pykota-postgresql.sql:186: FEHLER: Rolle »pykotaadmin« existiert ni
seems that posgres >= 9.6 no longer supports "NOCREATEUSER" in "CREATE USER"
copied pykota-postgresql.sql from pykota to univention-printquotadb removed NOCREATEUS
Tests: OK, I've installed a UCS 4.3 and tested the printquota settings for one user. Changelog: OK
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".