Bug 43245 - Error when upgrading jenkins app
Summary: Error when upgrading jenkins app
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: App Center
Version: UCS 4.1
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: App Center maintainers
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 15:51 CET by Florian Best
Modified: 2019-01-03 07:21 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-12-22 15:51:36 CET
Status: Image is up to date for docker.software-univention.de/jenkins:2.19.3
An error occurred - see "/var/log/univention/updater.log" for details

2016-12-22 14:53:19,241 DEBUG:univention.appcenter.actions.upgrade-search:Calling upgrade-search
0
2016-12-22 14:53:19,242 DEBUG:univention.appcenter.actions.upgrade-search.progress:0
Calling update
2016-12-22 14:53:19,242 DEBUG:univention.appcenter.actions.update:Calling update
0
2016-12-22 14:53:19,242 DEBUG:univention.appcenter.actions.update.progress:0
UCS Version is '4.1'
2016-12-22 14:53:19,244 DEBUG:univention.appcenter.actions.update:UCS Version is '4.1'
Downloading "https://appcenter-test.software-univention.de/meta-inf/4.1/index.json.gz"...
2016-12-22 14:53:19,244 INFO:univention.appcenter.actions.update:Downloading "https://appcenter-test.software-univention.de/meta-inf/4.1/index.json.gz"...
  ... Not Modified
2016-12-22 14:53:19,356 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter-test.software-univention.de/meta-inf/categories.ini"...
2016-12-22 14:53:19,361 INFO:univention.appcenter.actions.update:Downloading "https://appcenter-test.software-univention.de/meta-inf/categories.ini"...
  ... Not Modified
2016-12-22 14:53:19,483 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter-test.software-univention.de/meta-inf/rating.ini"...
2016-12-22 14:53:19,489 INFO:univention.appcenter.actions.update:Downloading "https://appcenter-test.software-univention.de/meta-inf/rating.ini"...
  ... Not Modified
2016-12-22 14:53:19,608 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter-test.software-univention.de/meta-inf/license_types.ini"...
2016-12-22 14:53:19,614 INFO:univention.appcenter.actions.update:Downloading "https://appcenter-test.software-univention.de/meta-inf/license_types.ini"...
  ... Not Modified
2016-12-22 14:53:19,727 DEBUG:univention.appcenter.actions.update:  ... Not Modified
0 file(s) are new
2016-12-22 14:53:22,142 INFO:univention.appcenter.actions.update:0 file(s) are new
100
2016-12-22 14:53:22,143 DEBUG:univention.appcenter.actions.update.progress:100
Loaded 305 apps from cache
2016-12-22 14:53:22,398 DEBUG:univention.appcenter.apps:Loaded 305 apps from cache
Checking agorumcore-pro=7.5.5-3415
2016-12-22 14:53:22,979 DEBUG:univention.appcenter.actions.upgrade-search:Checking agorumcore-pro=7.5.5-3415
agorumcore-pro=7.5.5-3415: Not running, cannot check further
2016-12-22 14:53:22,980 INFO:univention.appcenter.actions.upgrade-search:agorumcore-pro=7.5.5-3415: Not running, cannot check further
Checking jenkins=1.651.2
2016-12-22 14:53:22,980 DEBUG:univention.appcenter.actions.upgrade-search:Checking jenkins=1.651.2
Executing interface update_available for jenkins
2016-12-22 14:53:23,081 INFO:univention.appcenter.actions.upgrade-search:Executing interface update_available for jenkins
No interface defined
2016-12-22 14:53:23,082 INFO:univention.appcenter.actions.upgrade-search:No interface defined
Checking kvm=1.1.2
2016-12-22 14:53:23,093 DEBUG:univention.appcenter.actions.upgrade-search:Checking kvm=1.1.2
Checking maildisclaimer=2.0.1
2016-12-22 14:53:23,099 DEBUG:univention.appcenter.actions.upgrade-search:Checking maildisclaimer=2.0.1
Checking plucs=0.2-3
2016-12-22 14:53:23,104 DEBUG:univention.appcenter.actions.upgrade-search:Checking plucs=0.2-3
Checking self-service=1.0
2016-12-22 14:53:23,110 DEBUG:univention.appcenter.actions.upgrade-search:Checking self-service=1.0
Checking ucc=3.0
2016-12-22 14:53:23,115 DEBUG:univention.appcenter.actions.upgrade-search:Checking ucc=3.0
Checking ucsschool=4.1 R2 v4
2016-12-22 14:53:23,120 DEBUG:univention.appcenter.actions.upgrade-search:Checking ucsschool=4.1 R2 v4
Checking uvmm=5
2016-12-22 14:53:23,126 DEBUG:univention.appcenter.actions.upgrade-search:Checking uvmm=5
100
2016-12-22 14:53:23,131 DEBUG:univention.appcenter.actions.upgrade-search.progress:100
found

The following apps can be upgraded:

Jenkins: Version 1.651.2 can be upgraded to 2.19.3
UCS@school: Version 4.1 R2 v4 can be upgraded to 4.1 R2 v9
Starting univention-app upgrade at Thu Dec 22 14:53:23 2016...

Starting app upgrade                                  Calling upgrade
2016-12-22 14:53:36,992 DEBUG:univention.appcenter.actions.upgrade:Calling upgrade
0
2016-12-22 14:53:36,993 DEBUG:univention.appcenter.actions.upgrade.progress:0
Going to upgrade Jenkins (2.19.3)
2016-12-22 14:53:36,994 INFO:univention.appcenter.actions.upgrade:Going to upgrade Jenkins (2.19.3)
Calling prescript (preinst)
2016-12-22 14:53:37,207 DEBUG:univention.appcenter.actions.upgrade:Calling prescript (preinst)
Calling /var/cache/univention-appcenter/jenkins_20161116233835.preinst --version 2.19.3 --old-version 1.651.2 --error-file /tmp/tmpJ8k9HB
2016-12-22 14:53:37,231 DEBUG:univention.appcenter.actions.upgrade:Calling /var/cache/univention-appcenter/jenkins_20161116233835.preinst --version 2.19.3 --old-version 1.651.2 --error-file /tmp/tmpJ8k9HB
/var/cache/univention-appcenter/jenkins_20161116233835.preinst returned with 0
2016-12-22 14:53:37,432 DEBUG:univention.appcenter.actions.upgrade:/var/cache/univention-appcenter/jenkins_20161116233835.preinst returned with 0
Calling start
2016-12-22 14:53:37,436 DEBUG:univention.appcenter.actions.start:Calling start
0
2016-12-22 14:53:37,436 DEBUG:univention.appcenter.actions.start.progress:0
Calling /etc/init.d/docker-app-jenkins start
2016-12-22 14:53:37,459 DEBUG:univention.appcenter.actions.start:Calling /etc/init.d/docker-app-jenkins start
Container is already running
2016-12-22 14:53:39,858 INFO:univention.appcenter.actions.start:Container is already running
/etc/init.d/docker-app-jenkins returned with 0
2016-12-22 14:53:39,864 DEBUG:univention.appcenter.actions.start:/etc/init.d/docker-app-jenkins returned with 0
100
2016-12-22 14:53:39,864 DEBUG:univention.appcenter.actions.start.progress:100
Executing interface update_available for jenkins
2016-12-22 14:53:39,864 INFO:univention.appcenter.actions.upgrade:Executing interface update_available for jenkins
No interface defined
2016-12-22 14:53:39,864 INFO:univention.appcenter.actions.upgrade:No interface defined
Upgrading image (u'docker.software-univention.de/jenkins:2.19.3')
2016-12-22 14:53:39,865 INFO:univention.appcenter.actions.upgrade:Upgrading image (u'docker.software-univention.de/jenkins:2.19.3')
Verifying Docker registry manifest for app image docker.software-univention.de/jenkins:2.19.3
2016-12-22 14:53:39,865 INFO:univention.appcenter.actions.upgrade:Verifying Docker registry manifest for app image docker.software-univention.de/jenkins:2.19.3
Saving data from old container (jenkins=1.651.2)
2016-12-22 14:55:29,565 INFO:univention.appcenter.actions.upgrade:Saving data from old container (jenkins=1.651.2)
Calling start
2016-12-22 14:55:29,797 DEBUG:univention.appcenter.actions.start:Calling start
0
2016-12-22 14:55:29,853 DEBUG:univention.appcenter.actions.start.progress:0
Calling /etc/init.d/docker-app-jenkins start
2016-12-22 14:55:29,963 DEBUG:univention.appcenter.actions.start:Calling /etc/init.d/docker-app-jenkins start
Container is already running
2016-12-22 14:55:38,884 INFO:univention.appcenter.actions.start:Container is already running
/etc/init.d/docker-app-jenkins returned with 0
2016-12-22 14:55:38,976 DEBUG:univention.appcenter.actions.start:/etc/init.d/docker-app-jenkins returned with 0
100
2016-12-22 14:55:38,977 DEBUG:univention.appcenter.actions.start.progress:100
Calling stop
2016-12-22 14:55:48,654 DEBUG:univention.appcenter.actions.stop:Calling stop
0
2016-12-22 14:55:48,654 DEBUG:univention.appcenter.actions.stop.progress:0
Calling /etc/init.d/docker-app-jenkins stop
2016-12-22 14:55:48,680 DEBUG:univention.appcenter.actions.stop:Calling /etc/init.d/docker-app-jenkins stop
Couldn't find an alternative telinit implementation to spawn.
2016-12-22 14:55:54,374 WARNING:univention.appcenter.actions.stop:Couldn't find an alternative telinit implementation to spawn.
Stopping jenkins Container 75e66b2abc857cb5eb5aa036557d15db7dab6915a630687f29569de3d3d06e3f ....
2016-12-22 14:55:56,765 INFO:univention.appcenter.actions.stop:Stopping jenkins Container 75e66b2abc857cb5eb5aa036557d15db7dab6915a630687f29569de3d3d06e3f ....
/etc/init.d/docker-app-jenkins returned with 0
2016-12-22 14:55:59,096 DEBUG:univention.appcenter.actions.stop:/etc/init.d/docker-app-jenkins returned with 0
100
2016-12-22 14:55:59,097 DEBUG:univention.appcenter.actions.stop.progress:100
Backed up jenkins=1.651.2 as appcenter-backup-jenkins:1482414938. ID: 566d4ed2ef77ac9237b6f112dbdacfb8192685ed7f7d80d7df25d60534b08321

2016-12-22 14:56:08,709 INFO:univention.appcenter.actions.upgrade:Backed up jenkins=1.651.2 as appcenter-backup-jenkins:1482414938. ID: 566d4ed2ef77ac9237b6f112dbdacfb8192685ed7f7d80d7df25d60534b08321

Setting up new container (jenkins=2.19.3)
2016-12-22 14:56:08,709 INFO:univention.appcenter.actions.upgrade:Setting up new container (jenkins=2.19.3)
Finding all configuration options for jenkins
2016-12-22 14:56:09,111 DEBUG:univention.appcenter.actions.configure:Finding all configuration options for jenkins
Creating data directories for jenkins...
2016-12-22 14:56:09,111 INFO:univention.appcenter.actions.upgrade:Creating data directories for jenkins...
5
2016-12-22 14:56:09,154 DEBUG:univention.appcenter.actions.upgrade.progress:5
Registering UCR for jenkins
2016-12-22 14:56:09,206 INFO:univention.appcenter.actions.upgrade:Registering UCR for jenkins
Marking jenkins=2.19.3 as installed
2016-12-22 14:56:09,206 INFO:univention.appcenter.actions.upgrade:Marking jenkins=2.19.3 as installed
Setting ports for apache proxy
2016-12-22 14:56:11,267 INFO:univention.appcenter.actions.upgrade:Setting ports for apache proxy
Creating /etc/init.d/docker-app-jenkins
2016-12-22 14:56:11,269 INFO:univention.appcenter.actions.upgrade:Creating /etc/init.d/docker-app-jenkins
[Errno 17] File exists
2016-12-22 14:56:11,270 INFO:univention.appcenter.actions.upgrade:[Errno 17] File exists
Adding localhost to LDAP object
2016-12-22 14:56:11,739 INFO:univention.appcenter.actions.upgrade:Adding localhost to LDAP object
Calling /etc/init.d/apache2 reload
2016-12-22 14:56:12,089 DEBUG:univention.appcenter.actions.upgrade:Calling /etc/init.d/apache2 reload
Reloading apache2 configuration (via systemctl): apache2.service.
2016-12-22 14:56:13,124 INFO:univention.appcenter.actions.upgrade:Reloading apache2 configuration (via systemctl): apache2.service.
/etc/init.d/apache2 returned with 0
2016-12-22 14:56:13,292 DEBUG:univention.appcenter.actions.upgrade:/etc/init.d/apache2 returned with 0
10
2016-12-22 14:56:13,294 DEBUG:univention.appcenter.actions.upgrade.progress:10
15
2016-12-22 14:56:13,294 DEBUG:univention.appcenter.actions.upgrade.progress:15
Already found cn=jenkins-1467645744250278,cn=memberserver,cn=computers,dc=school,dc=local as a host for jenkins. Better do nothing...
2016-12-22 14:56:13,352 INFO:univention.appcenter.actions.upgrade:Already found cn=jenkins-1467645744250278,cn=memberserver,cn=computers,dc=school,dc=local as a host for jenkins. Better do nothing...
20
2016-12-22 14:56:13,353 DEBUG:univention.appcenter.actions.upgrade.progress:20
Verifying Docker registry manifest for app image docker.software-univention.de/jenkins:2.19.3
2016-12-22 14:56:13,354 INFO:univention.appcenter.actions.upgrade:Verifying Docker registry manifest for app image docker.software-univention.de/jenkins:2.19.3
Downloading app image docker.software-univention.de/jenkins:2.19.3
2016-12-22 14:56:13,354 INFO:univention.appcenter.actions.upgrade:Downloading app image docker.software-univention.de/jenkins:2.19.3
Initializing app image
2016-12-22 14:56:14,113 INFO:univention.appcenter.actions.upgrade:Initializing app image
Finding all configuration options for jenkins
2016-12-22 14:56:14,114 DEBUG:univention.appcenter.actions.configure:Finding all configuration options for jenkins
Preconfiguring container a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4
2016-12-22 14:56:14,695 INFO:univention.appcenter.actions.upgrade:Preconfiguring container a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4
Calling start
2016-12-22 14:56:14,697 DEBUG:univention.appcenter.actions.start:Calling start
0
2016-12-22 14:56:14,697 DEBUG:univention.appcenter.actions.start.progress:0
Calling /etc/init.d/docker-app-jenkins start
2016-12-22 14:56:14,719 DEBUG:univention.appcenter.actions.start:Calling /etc/init.d/docker-app-jenkins start
Starting jenkins Container a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4 ....
2016-12-22 14:56:20,421 INFO:univention.appcenter.actions.start:Starting jenkins Container a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4 ....
/etc/init.d/docker-app-jenkins returned with 0
2016-12-22 14:56:20,529 DEBUG:univention.appcenter.actions.start:/etc/init.d/docker-app-jenkins returned with 0
100
2016-12-22 14:56:20,530 DEBUG:univention.appcenter.actions.start.progress:100
Copying /etc/timezone into container
2016-12-22 14:56:20,530 DEBUG:univention.appcenter.actions.upgrade:Copying /etc/timezone into container
Calling start
2016-12-22 14:56:20,532 DEBUG:univention.appcenter.actions.start:Calling start
0
2016-12-22 14:56:20,532 DEBUG:univention.appcenter.actions.start.progress:0
Calling /etc/init.d/docker-app-jenkins start
2016-12-22 14:56:20,550 DEBUG:univention.appcenter.actions.start:Calling /etc/init.d/docker-app-jenkins start
Container is already running
2016-12-22 14:56:22,246 INFO:univention.appcenter.actions.start:Container is already running
/etc/init.d/docker-app-jenkins returned with 0
2016-12-22 14:56:22,354 DEBUG:univention.appcenter.actions.start:/etc/init.d/docker-app-jenkins returned with 0
100
2016-12-22 14:56:22,355 DEBUG:univention.appcenter.actions.start.progress:100
upgrade jenkins: 500
2016-12-22 14:56:22,356 DEBUG:univention.appcenter.utils:upgrade jenkins: 500
File: /usr/share/univention-management-console/modules/apps.xml
2016-12-22 14:56:25,872 INFO:univention.appcenter.actions.upgrade:File: /usr/share/univention-management-console/modules/apps.xml

2016-12-22 14:56:25,873 INFO:univention.appcenter.actions.upgrade:
File: /usr/share/univention-management-console/i18n/de/apps.mo
2016-12-22 14:56:33,050 INFO:univention.appcenter.actions.upgrade:File: /usr/share/univention-management-console/i18n/de/apps.mo

2016-12-22 14:56:33,050 INFO:univention.appcenter.actions.upgrade:
File: /etc/apt/apt.conf.d/55user_agent
2016-12-22 14:56:35,423 INFO:univention.appcenter.actions.upgrade:File: /etc/apt/apt.conf.d/55user_agent

2016-12-22 14:56:35,423 INFO:univention.appcenter.actions.upgrade:
Calling upgrade-search
2016-12-22 14:56:35,502 DEBUG:univention.appcenter.actions.upgrade-search:Calling upgrade-search
0
2016-12-22 14:56:35,502 DEBUG:univention.appcenter.actions.upgrade-search.progress:0
Checking jenkins=2.19.3
2016-12-22 14:56:35,502 DEBUG:univention.appcenter.actions.upgrade-search:Checking jenkins=2.19.3
Executing interface update_available for jenkins
2016-12-22 14:56:35,525 INFO:univention.appcenter.actions.upgrade-search:Executing interface update_available for jenkins
No interface defined
2016-12-22 14:56:35,525 INFO:univention.appcenter.actions.upgrade-search:No interface defined
100
2016-12-22 14:56:35,756 DEBUG:univention.appcenter.actions.upgrade-search.progress:100
[Errno 2] No such file or directory: '/var/lib/docker/overlay/a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4/merged/etc/timezone'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 191, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 70, in main
    return self.do_it(args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 109, in do_it
    self._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 104, in _do_it
    self._upgrade_image(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 156, in _upgrade_image
    self._install_new_app(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 67, in _install_new_app
    return Install._do_it(self, app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 65, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 82, in _do_it
    if self._install_app(app, args):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 59, in _install_app
    self._start_docker_image(app, hostdn, password, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 208, in _start_docker_image
    self._copy_files_into_container(app, '/etc/timezone', '/etc/localtime', database_password_file)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 147, 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] No such file or directory: '/var/lib/docker/overlay/a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4/merged/etc/timezone'
2016-12-22 14:56:35,756 ERROR:univention.appcenter.actions.upgrade:[Errno 2] No such file or directory: '/var/lib/docker/overlay/a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4/merged/etc/timezone'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 191, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 70, in main
    return self.do_it(args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 109, in do_it
    self._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 104, in _do_it
    self._upgrade_image(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 156, in _upgrade_image
    self._install_new_app(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 67, in _install_new_app
    return Install._do_it(self, app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 65, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 82, in _do_it
    if self._install_app(app, args):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 59, in _install_app
    self._start_docker_image(app, hostdn, password, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 208, in _start_docker_image
    self._copy_files_into_container(app, '/etc/timezone', '/etc/localtime', database_password_file)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 147, 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] No such file or directory: '/var/lib/docker/overlay/a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4/merged/etc/timezone'
Traceback in univention-upgrade:
Traceback (most recent call last):
  File "/usr/sbin/univention-upgrade", line 453, in do_update
    update_available = performUpdate(options, checkForUpdates=options.check, silent=False)
  File "/usr/sbin/univention-upgrade", line 150, in performUpdate
    update_available_local = func(options, checkForUpdates, silent)
  File "/usr/sbin/univention-upgrade", line 324, in do_app_updates
    pwdfile=options.pwdfile,
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 185, in call
    return obj.call_with_namespace(namespace)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 191, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 70, in main
    return self.do_it(args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 109, in do_it
    self._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 104, in _do_it
    self._upgrade_image(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 156, in _upgrade_image
    self._install_new_app(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 67, in _install_new_app
    return Install._do_it(self, app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 65, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 82, in _do_it
    if self._install_app(app, args):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 59, in _install_app
    self._start_docker_image(app, hostdn, password, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 208, in _start_docker_image
    self._copy_files_into_container(app, '/etc/timezone', '/etc/localtime', database_password_file)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 147, 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] No such file or directory: '/var/lib/docker/overlay/a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4/merged/etc/timezone'

ls /var/lib/docker/overlay/a47994a8c3f53e6953e64d5d7d0e76ae44a714400edc162f99dfcb42de3244b4/merged/
→ empty
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:21:34 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.