Univention Bugzilla – Bug 44534
OError: [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/var/lib/docker/overlay/.../merged/etc/timezone'
Last modified: 2020-07-03 20:54:53 CEST
Die Ausführung des Kommandos appcenter/docker/progress ist fehlgeschlagen: 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 227, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 233, 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 87, in _do_it if self._install_app(app, args): File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 61, in _install_app self._start_docker_image(app, hostdn, password, args) File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 207, in _start_docker_image self._copy_files_into_container(app, '/etc/timezone', '/etc/localtime', database_password_file) File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 146, in _copy_files_into_container shutil.copy2(filename, docker.path(filename)) File "/usr/lib/python2.7/shutil.py", line 130, in copy2 copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/var/lib/docker/overlay/6f81507b79a5089b39ab9661c4956f5a01d6cd8768268afe63f6272ef9a7996d/merged/etc/timezone' Version: 4.2-0 errata10 (Lesum) Remark: Update UCS 4.1 -> 4.2 Nextcloud 503 Service Service Unavailable and App not starting in Appcenter.
Shell: univention-app install nextcloud --do-not-revert .... Creating data directories for nextcloud... Copying /var/cache/univention-appcenter/appcenter.software-univention.de/4.1/nextcloud_20170318012349.schema Registering UCR for nextcloud Marking 4.1/nextcloud=11.0.2-0 as installed File: /etc/univention/service.info/services/univention-appcenter.cfg Multifile: /etc/postgresql/9.1/main/pg_hba.conf Module: kopano-cfg File: /usr/share/univention-portal/apps.json Setting ports for apache proxy Multifile: /etc/apache2/sites-available/000-default.conf Multifile: /etc/apache2/sites-available/default-ssl.conf Module: kopano-cfg Creating /etc/init.d/docker-app-nextcloud insserv: warning: script 'K01univention-saml' missing LSB tags and overrides insserv: warning: script 'K01univention-system-setup-boot' missing LSB tags and overrides insserv: warning: script 'univention-system-setup-boot' missing LSB tags and overrides insserv: warning: script 'univention-system-setup-boot-prepare' missing LSB tags and overrides insserv: warning: script 'univention-saml' missing LSB tags and overrides Adding localhost to LDAP object Setting overview variables Module: create_portal_entries Module: kopano-cfg Reloading apache2 configuration (via systemctl): apache2.service. Es wurden 0 B in 0 s geholt (0 B/s) Ausführen von dpkg Cannot find service-record of _pkgdb._tcp. No DB-Server-Name found. Cannot find service-record of _pkgdb._tcp. No DB-Server-Name found. 4.1/nextcloud=11.0.2-0 already has its database Registering schema /usr/share/univention-appcenter/apps/nextcloud/nextcloud.schema Password for Administrator: INFO: No change of core data of object nextcloud. No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=dv-home,dc=intern WARNING: cannot append nextcloud to appidentifier, value exists No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=dv-home,dc=intern Waiting for activation of the extension object nextcloud: OK Registering the container host nextc-64905821 for nextcloud Module: kopano-cfg Verifying Docker registry manifest for app image docker.software-univention.de/nextcloud:11.0.2-0 Downloading app image docker.software-univention.de/nextcloud:11.0.2-0 11.0.2-0: Pulling from nextcloud d54efb8db41d: Already exists f8b845f45a87: Already exists e8db7bf7c39f: Already exists 9654c40e9079: Already exists 6d9ef359eaaa: Already exists a3ed95caeb02: Already exists 1ac80e806ce4: Already exists 16179d4692d2: Already exists 53577aeaf583: Already exists b7968fbae152: Already exists ff5c6d839bca: Already exists 64ff3547b9e7: Already exists 3ec72af52de2: Already exists Digest: sha256:d0573221dd48073b3dbd737d9ce6218fec5824006eb2def01635282d0194ecd0 Status: Image is up to date for docker.software-univention.de/nextcloud:11.0.2-0 Initializing app image Module: kopano-cfg Preconfiguring container 5ad19d7947259c1e22ab920f44a4b96686a4248f97263d1899a5600475593848 Starting docker-app-nextcloud (via systemctl): docker-app-nextcloud.service. ucr cannot be found, falling back to changing the database file directly Executing interface restore_data_before_setup for nextcloud Copying App Center's restore_data_before_setup to container's /usr/share/univention-docker-container-mode/restore_data_before_setup_custom Executing interface setup for nextcloud Copying App Center's setup to container's /usr/share/univention-docker-container-mode/setup_custom An unhandled exception has been thrown: PDOException: SQLSTATE[42P01]: Undefined table: 7 FEHLER: Relation »oc_appconfig« existiert nicht LINE 1: SELECT * FROM "oc_appconfig" ^ in /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104 Stack trace: #0 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(104): PDO->query('SELECT * FROM "...') #1 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(833): Doctrine\DBAL\Driver\PDOConnection->query('SELECT * FROM "...') #2 /var/www/html/lib/private/DB/Connection.php(194): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM "...', Array, Array, NULL) #3 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): OC\DB\Connection->executeQuery('SELECT * FROM "...', Array, Array) #4 /var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php(177): Doctrine\DBAL\Query\QueryBuilder->execute() #5 /var/www/html/lib/private/AppConfig.php(314): OC\DB\QueryBuilder\QueryBuilder->execute() #6 /var/www/html/lib/private/AppConfig.php(90): OC\AppConfig->loadConfigValues() #7 /var/www/html/lib/private/AppConfig.php(273): OC\AppConfig->getApps() #8 /var/www/html/lib/private/legacy/app.php(1057): OC\AppConfig->getValues(false, 'installed_versi...') #9 /var/www/html/lib/private/Server.php(374): OC_App::getAppVersions() #10 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server)) #11 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('MemCacheFactory') #12 /var/www/html/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('MemCacheFactory') #13 /var/www/html/lib/private/Server.php(1097): OC\ServerContainer->query('MemCacheFactory') #14 /var/www/html/lib/private/Server.php(515): OC\Server->getMemCacheFactory() #15 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server)) #16 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('AppManager') #17 /var/www/html/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('AppManager') #18 /var/www/html/lib/private/Server.php(1293): OC\ServerContainer->query('AppManager') #19 /var/www/html/lib/private/legacy/app.php(320): OC\Server->getAppManager() #20 /var/www/html/lib/private/legacy/app.php(111): OC_App::getEnabledApps() #21 /var/www/html/lib/base.php(676): OC_App::loadApps(Array) #22 /var/www/html/lib/base.php(1092): OC::init() #23 /var/www/html/console.php(48): require_once('/var/www/html/l...') #24 /var/www/html/occ(11): require_once('/var/www/html/c...') #25 {main} Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[42P01]: Undefined table: 7 FEHLER: Relation »oc_appconfig« existiert nicht LINE 1: SELECT * FROM "oc_appconfig" ^ in /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106 Stack trace: #0 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(833): Doctrine\DBAL\Driver\PDOConnection->query('SELECT * FROM "...') #1 /var/www/html/lib/private/DB/Connection.php(194): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM "...', Array, Array, NULL) #2 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): OC\DB\Connection->executeQuery('SELECT * FROM "...', Array, Array) #3 /var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php(177): Doctrine\DBAL\Query\QueryBuilder->execute() #4 /var/www/html/lib/private/AppConfig.php(314): OC\DB\QueryBuilder\QueryBuilder->execute() #5 /var/www/html/lib/private/AppConfig.php(90): OC\AppConfig->loadConfigValues() #6 /var/www/html/lib/private/AppConfig.php(273): OC\AppConfig->getApps() #7 /var/www/html/lib/private/legacy/app.php(1057): OC\AppConfig->getValues(false, 'installed_versi...') #8 /var/www/html/lib/private/Server.php(374): OC_App::getAppVersions() #9 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server)) #10 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('MemCacheFactory') #11 /var/www/html/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('MemCacheFactory') #12 /var/www/html/lib/private/Server.php(1097): OC\ServerContainer->query('MemCacheFactory') #13 /var/www/html/lib/private/Server.php(515): OC\Server->getMemCacheFactory() #14 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server)) #15 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('AppManager') #16 /var/www/html/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('AppManager') #17 /var/www/html/lib/private/Server.php(1293): OC\ServerContainer->query('AppManager') #18 /var/www/html/lib/private/legacy/app.php(320): OC\Server->getAppManager() #19 /var/www/html/lib/private/legacy/app.php(111): OC_App::getEnabledApps() #20 /var/www/html/lib/base.php(676): OC_App::loadApps(Array) #21 /var/www/html/lib/base.php(1092): OC::init() #22 /var/www/html/console.php(48): require_once('/var/www/html/l...') #23 /var/www/html/occ(11): require_once('/var/www/html/c...') #24 {main} Next Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT * FROM "oc_appconfig"': SQLSTATE[42P01]: Undefined table: 7 FEHLER: Relation »oc_appconfig« existiert nicht LINE 1: SELECT * FROM "oc_appconfig" ^ in /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php:75 Stack trace: #0 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(128): Doctrine\DBAL\Driver\AbstractPostgreSQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException)) #1 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(836): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOPgSql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'SELECT * FROM "...', Array) #2 /var/www/html/lib/private/DB/Connection.php(194): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM "...', Array, Array, NULL) #3 /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): OC\DB\Connection->executeQuery('SELECT * FROM "...', Array, Array) #4 /var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php(177): Doctrine\DBAL\Query\QueryBuilder->execute() #5 /var/www/html/lib/private/AppConfig.php(314): OC\DB\QueryBuilder\QueryBuilder->execute() #6 /var/www/html/lib/private/AppConfig.php(90): OC\AppConfig->loadConfigValues() #7 /var/www/html/lib/private/AppConfig.php(273): OC\AppConfig->getApps() #8 /var/www/html/lib/private/legacy/app.php(1057): OC\AppConfig->getValues(false, 'installed_versi...') #9 /var/www/html/lib/private/Server.php(374): OC_App::getAppVersions() #10 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server)) #11 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('MemCacheFactory') #12 /var/www/html/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('MemCacheFactory') #13 /var/www/html/lib/private/Server.php(1097): OC\ServerContainer->query('MemCacheFactory') #14 /var/www/html/lib/private/Server.php(515): OC\Server->getMemCacheFactory() #15 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server)) #16 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('AppManager') #17 /var/www/html/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('AppManager') #18 /var/www/html/lib/private/Server.php(1293): OC\ServerContainer->query('AppManager') #19 /var/www/html/lib/private/legacy/app.php(320): OC\Server->getAppManager() #20 /var/www/html/lib/private/legacy/app.php(111): OC_App::getEnabledApps() #21 /var/www/html/lib/base.php(676): OC_App::loadApps(Array) #22 /var/www/html/lib/base.php(1092): OC::init() #23 /var/www/html/console.php(48): require_once('/var/www/html/l...') #24 /var/www/html/occ(11): require_once('/var/www/html/c...') #25 {main}Error while installing Nextcloud Setup script failed! Aborting... File: /usr/share/univention-management-console/modules/apps.xml Module: kopano-cfg File: /usr/share/univention-management-console/i18n/de/apps.mo File: /etc/apt/apt.conf.d/55user_agent Executing interface update_available for nextcloud No interface defined
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.