Univention Bugzilla – Bug 44383
OperationalError: FATAL: database "selfservice" does not exist
Last modified: 2020-07-03 20:51:42 CEST
Version: 4.2-0 errata0 (Lesum) Traceback(dd5fc069ea33b13d640a6ccd4d37bc04): The initialization of the module failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 178, in _recv self.handle(msg) File "%PY2.7%/univention/management/console/protocol/modserver.py", line 178, in _recv self.handle(msg) File "%PY2.7%/univention/management/console/protocol/modserver.py", line 290, in handle self.__handler.init() File "%PY2.7%/univention/management/console/modules/passwordreset/__init__.py", line 212, in init self.db = TokenDB(MODULE) File "%PY2.7%/univention/management/console/modules/passwordreset/tokendb.py", line 53, in __init__ self.conn = self.open_db() File "%PY2.7%/univention/management/console/modules/passwordreset/tokendb.py", line 120, in open_db db_name=DB_NAME, db_user=DB_USER, db_pw=password)) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect conn = _connect(dsn, connection_factory=connection_factory, async=async) OperationalError: The initialization of the module failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 178, in _recv self.handle(msg) File "%PY2.7%/univention/management/console/protocol/modserver.py", line 290, in handle self.__handler.init() File "%PY2.7%/univention/management/console/modules/passwordreset/__init__.py", line 212, in init self.db = TokenDB(MODULE) File "%PY2.7%/univention/management/console/modules/passwordreset/tokendb.py", line 53, in __init__ self.conn = self.open_db() File "%PY2.7%/univention/management/console/modules/passwordreset/tokendb.py", line 120, in open_db db_name=DB_NAME, db_user=DB_USER, db_pw=password)) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect conn = _connect(dsn, connection_factory=connection_factory, async=async) OperationalError: FATAL: database "selfservice" does not exist
selfservice join script didn't run?
Reported again, 4.2-0 errata4 (Lesum)
Need to know on what server role this was installed on and have the installation/updater and the join log.
Role: domaincontroller_master
The postinst contains no error handling. Also I think we should do these things in the joinscript.
(In reply to Florian Best from comment #5) > The postinst contains no error handling. Also I think we should do these > things in the joinscript. +1 The whole DB setup should be moved to a join script.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.