Univention Bugzilla – Bug 44624
appcenter/docker/progress: No such file or directory: '/etc/mysql.secret'
Last modified: 2022-01-27 17:11:22 CET
Version: 4.2-0 errata15 (Lesum) Execution of command 'appcenter/docker/progress' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 249, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/mixins.py", line 149, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 375, in invoke_docker result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 238, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 244, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/install.py", line 70, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 110, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 67, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/install.py", line 83, in _do_it self._register_database(app) File "%PY2.7%/univention/appcenter/actions/register.py", line 341, in _register_database database_connector.create_database() File "%PY2.7%/univention/appcenter/database.py", line 184, in create_database self.create_db_and_user(password) File "%PY2.7%/univention/appcenter/database.py", line 282, in create_db_and_user self.execute('CREATE DATABASE IF NOT EXISTS `%s`' % self.escape(self.get_db_name())) File "%PY2.7%/univention/appcenter/database.py", line 279, in escape return self.get_root_connection().escape(unicode(value)) File "%PY2.7%/univention/appcenter/database.py", line 255, in get_root_connection with open('/etc/mysql.secret') as f: IOError: [Errno 2] No such file or directory: '/etc/mysql.secret'
Reported again: Version: 4.3-0 errata89 (Neustadt) Interner Server-Fehler in "appcenter/docker/progress". Request: appcenter/docker/progress Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/mixins.py", line 149, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 426, in invoke_docker result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/install.py", line 73, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 105, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 63, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/install.py", line 86, in _do_it self._register_database(app) File "%PY2.7%/univention/appcenter/actions/register.py", line 350, in _register_database database_connector.create_database() File "%PY2.7%/univention/appcenter/database.py", line 188, in create_database self.create_db_and_user(password) File "%PY2.7%/univention/appcenter/database.py", line 289, in create_db_and_user self.execute('CREATE DATABASE IF NOT EXISTS `%s`' % self.escape(self.get_db_name())) File "%PY2.7%/univention/appcenter/database.py", line 286, in escape return self.get_root_connection().escape(unicode(value)) File "%PY2.7%/univention/appcenter/database.py", line 259, in get_root_connection with open('/etc/mysql.secret') as f: IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/mysql.secret' Role: memberserver
Reported again: Version: 4.3-1 errata151 (Neustadt) Remark: Hi, i cant install owncloud in Univention admin panel... Internal server error during "appcenter/docker/progress". Request: appcenter/docker/progress Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/mixins.py", line 149, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 431, in invoke_docker result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/install.py", line 73, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 107, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 63, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/install.py", line 86, in _do_it self._register_database(app) File "%PY2.7%/univention/appcenter/actions/register.py", line 350, in _register_database database_connector.create_database() File "%PY2.7%/univention/appcenter/database.py", line 188, in create_database self.create_db_and_user(password) File "%PY2.7%/univention/appcenter/database.py", line 289, in create_db_and_user self.execute('CREATE DATABASE IF NOT EXISTS `%s`' % self.escape(self.get_db_name())) File "%PY2.7%/univention/appcenter/database.py", line 286, in escape return self.get_root_connection().escape(unicode(value)) File "%PY2.7%/univention/appcenter/database.py", line 259, in get_root_connection with open('/etc/mysql.secret') as f: IOError: [Errno 2] No such file or directory: '/etc/mysql.secret' Role: domaincontroller_master
Reported again: Version: 4.3-2 errata305 (Neustadt) - UCS@school 4.3 v5 Remark: Einfache Installation von WordPress fehlgeschlagen Interner Server-Fehler in "appcenter/docker/progress". Request: appcenter/docker/progress Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/mixins.py", line 149, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 431, in invoke_docker result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/install.py", line 73, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 109, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 63, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/install.py", line 86, in _do_it self._register_database(app) File "%PY2.7%/univention/appcenter/actions/register.py", line 438, in _register_database database_connector.create_database() File "%PY2.7%/univention/appcenter/database.py", line 188, in create_database self.create_db_and_user(password) File "%PY2.7%/univention/appcenter/database.py", line 289, in create_db_and_user self.execute('CREATE DATABASE IF NOT EXISTS `%s`' % self.escape(self.get_db_name())) File "%PY2.7%/univention/appcenter/database.py", line 286, in escape return self.get_root_connection().escape(unicode(value)) File "%PY2.7%/univention/appcenter/database.py", line 259, in get_root_connection with open('/etc/mysql.secret') as f: IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/mysql.secret' Role: domaincontroller_master
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.
reported again: Version: 5.0-1 errata199 Remark: Frische Installation schlägt fehl, zuvor war die App nicht installiert. Error: Interner Server-Fehler in "appcenter/progress". Request: appcenter/progress Traceback (most recent call last): File "%PY3%/univention/management/console/base.py", line 344, in __error_handling six.reraise(etype, exc, etraceback) File "%PY3%/six.py", line 693, in reraise raise value File "%PY3%/univention/management/console/base.py", line 247, in execute function.__func__(self, request, *args, **kwargs) File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY3%/univention/management/console/modules/mixins.py", line 158, in progress ret = progress_obj.poll() File "%PY3%/univention/management/console/modules/mixins.py", line 102, in poll six.reraise(*self.exc_info) File "%PY3%/six.py", line 693, in reraise raise value File "%PY3%/univention/management/console/modules/decorators.py", line 312, in _thread result = _multi_response(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 292, in run host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress) File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 339, in _run_local success = action.call(app=[app], username=self.username, password=self.password, **kwargs) File "%PY3%/univention/appcenter/actions/__init__.py", line 175, in call return obj.call_with_namespace(namespace) File "%PY3%/univention/appcenter/actions/__init__.py", line 181, in call_with_namespace result = self.main(namespace) File "%PY3%/univention/appcenter/actions/install.py", line 87, in main return self.do_it(args) File "%PY3%/univention/appcenter/actions/install_base.py", line 169, in do_it success = self.do_it_once(app, args) File "%PY3%/univention/appcenter/actions/install.py", line 203, in do_it_once return super(Install, self).do_it_once(app, args) File "%PY3%/univention/appcenter/actions/install_base.py", line 214, in do_it_once self._do_it(app, args) File "%PY3%/univention/appcenter/actions/docker_install.py", line 71, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY3%/univention/appcenter/actions/install.py", line 112, in _do_it self._register_database(app) File "%PY3%/univention/appcenter/actions/register.py", line 458, in _register_database database_connector.create_database() File "%PY3%/univention/appcenter/database.py", line 216, in create_database self.create_db_and_user(password) File "%PY3%/univention/appcenter/database.py", line 337, in create_db_and_user self.execute('CREATE DATABASE IF NOT EXISTS `%s`' % self.get_db_name()) File "%PY3%/univention/appcenter/database.py", line 315, in execute cursor = self.get_cursor() File "%PY3%/univention/appcenter/database.py", line 310, in get_cursor self._cursor = self.get_root_connection().cursor() File "%PY3%/univention/appcenter/database.py", line 300, in get_root_connection with open('/etc/mysql.secret') as f: FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/mysql.secret' Role: domaincontroller_master