Upgrade WaWision scheitert

german
wawision

#1

Guten Morgen zusammen,

ich habe hier eine UCS-VM welche noch mit UCS 4.1 lief und darauf ist WaWision installiert. Ich habe WaWision bzw. diese VM vor einiger Zeit einfach zum ausprobieren installiert von WaWision installiert. Ich wollte das System (UCS & WaWision) nun auf den aktuellen Stand bringen was mit UCS auch geklappt hat, das WaWision Upgrade bricht aber ab:

root@pluto:~# univention-upgrade --ignoressh --ignoreterm
Starting univention-upgrade. Current UCS version is 4.3-1 errata145

Checking for local repository:                          none
Checking for package updates:                           found

The following packages will be upgraded:
 univention-management-console-login,univention-management-console-frontend,univention-management-console,univention-management-console-server,univention-management-console-web-server,python-univention-management-console,univention-errata-level

Do you want to continue [Y|n]? Y
Starting package upgrade                                done
Starting univention-upgrade. Current UCS version is 4.3-1 errata148

Checking for local repository:                          none
Checking for package updates:                           none
Checking for app updates:                               found

The following apps can be upgraded:
WaWision ERP/CRM: The underlying container can be upgraded

Starting app upgrade                                   
Do you want to upgrade WaWision ERP/CRM [Y|n]? Y

Username [Administrator]: 
Password for Administrator: 
ERROR: app upgrade failed. Please check /var/log/univention/appcenter.log

Checking for release updates:                           none
Setting update/available

Im Log steht:

  9873 actions.upgrade-search           18-07-16 09:22:13 [   DEBUG]: Calling upgrade-search
  9873 actions.upgrade-search.progress  18-07-16 09:22:13 [   DEBUG]: 0
  9873 actions.update                   18-07-16 09:22:13 [   DEBUG]: Calling update
  9873 actions.update.progress          18-07-16 09:22:13 [   DEBUG]: 0
  9873 actions.update                   18-07-16 09:22:13 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/categories.ini"...
  9873 actions.update                   18-07-16 09:22:13 [   DEBUG]:   ... Not Modified
  9873 actions.update                   18-07-16 09:22:13 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"...
  9873 actions.update                   18-07-16 09:22:13 [   DEBUG]:   ... Not Modified
  9873 actions.update                   18-07-16 09:22:13 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/license_types.ini"...
  9873 actions.update                   18-07-16 09:22:14 [   DEBUG]:   ... Not Modified
  9873 actions.update                   18-07-16 09:22:14 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/ucs.ini"...
  9873 actions.update                   18-07-16 09:22:14 [   DEBUG]:   ... Not Modified
  9873 actions.update                   18-07-16 09:22:14 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.3/index.json.gz"...
  9873 actions.update                   18-07-16 09:22:14 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.3/index.json.gz.gpg"...
  9873 actions.update                   18-07-16 09:22:14 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.3/all.tar.gpg"...
  9873 actions.update                   18-07-16 09:22:14 [    INFO]: Downloading "http://appcenter.software-univention.de/meta-inf/4.3/all.tar.zsync"...
  9873 actions.update                   18-07-16 09:22:14 [   DEBUG]: Calling zsync http://appcenter.software-univention.de/meta-inf/4.3/all.tar.zsync -q -o /var/cache/un$
  9873 actions.update                   18-07-16 09:22:15 [   DEBUG]: Extracting archive in /var/cache/univention-appcenter/appcenter.software-univention.de/4.3
  9873 actions.update                   18-07-16 09:22:15 [   DEBUG]: Removing old files...
  9873 actions.update                   18-07-16 09:22:15 [   DEBUG]: Unpacking /var/cache/univention-appcenter/appcenter.software-univention.de/4.3/.all.tar...
  9873 actions.update                   18-07-16 09:22:15 [   DEBUG]: Calling tar -C /var/cache/univention-appcenter/appcenter.software-univention.de/4.3 -xf /var/cache/u$
  9873 actions.update                   18-07-16 09:22:15 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz"...
  9873 actions.update                   18-07-16 09:22:16 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz.gpg"...
  9873 actions.update                   18-07-16 09:22:16 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.2/all.tar.gpg"...
  9873 actions.update                   18-07-16 09:22:16 [    INFO]: Downloading "http://appcenter.software-univention.de/meta-inf/4.2/all.tar.zsync"...
  9873 actions.update                   18-07-16 09:22:16 [   DEBUG]: Calling zsync http://appcenter.software-univention.de/meta-inf/4.2/all.tar.zsync -q -o /var/cache/un$
  9873 actions.update                   18-07-16 09:22:17 [   DEBUG]: Extracting archive in /var/cache/univention-appcenter/appcenter.software-univention.de/4.2
  9873 actions.update                   18-07-16 09:22:17 [   DEBUG]: Removing old files...
  9873 actions.update                   18-07-16 09:22:17 [   DEBUG]: Unpacking /var/cache/univention-appcenter/appcenter.software-univention.de/4.2/.all.tar...
  9873 actions.update                   18-07-16 09:22:17 [   DEBUG]: Calling tar -C /var/cache/univention-appcenter/appcenter.software-univention.de/4.2 -xf /var/cache/u$
  9873 actions.update                   18-07-16 09:22:17 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz"...
  9873 actions.update                   18-07-16 09:22:17 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz.gpg"...
  9873 actions.update                   18-07-16 09:22:17 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/all.tar.gpg"...
  9873 actions.update                   18-07-16 09:22:18 [    INFO]: Downloading "http://appcenter.software-univention.de/meta-inf/4.1/all.tar.zsync"...
  9873 actions.update                   18-07-16 09:22:18 [   DEBUG]: Calling zsync http://appcenter.software-univention.de/meta-inf/4.1/all.tar.zsync -q -o /var/cache/un$
  9873 actions.update                   18-07-16 09:22:18 [   DEBUG]: Extracting archive in /var/cache/univention-appcenter/appcenter.software-univention.de/4.1
  9873 actions.update                   18-07-16 09:22:18 [   DEBUG]: Removing old files...
  9873 actions.update                   18-07-16 09:22:18 [   DEBUG]: Unpacking /var/cache/univention-appcenter/appcenter.software-univention.de/4.1/.all.tar...
  9873 actions.update                   18-07-16 09:22:18 [   DEBUG]: Calling tar -C /var/cache/univention-appcenter/appcenter.software-univention.de/4.1 -xf /var/cache/u$
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Cache outdated. Need to rebuild
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Unable to get mtime for cache: [Errno 2] No such file or directory: '/var/cache/univention-appcenter$
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Cannot load cache: mtimes of cache files do not match: None < 1531725735.7749245
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Saved 71 apps into cache
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Cache outdated. Need to rebuild
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Unable to get mtime for cache: [Errno 2] No such file or directory: '/var/cache/univention-appcenter$
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Cannot load cache: mtimes of cache files do not match: None < 1531725737.2949297
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Saved 189 apps into cache
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Cache outdated. Need to rebuild
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Unable to get mtime for cache: [Errno 2] No such file or directory: '/var/cache/univention-appcenter$
  9873 cache                            18-07-16 09:22:19 [   DEBUG]: Cannot load cache: mtimes of cache files do not match: None < 1531725739.154936
  9873 cache                            18-07-16 09:22:20 [   DEBUG]: Saved 380 apps into cache
  9873 actions.update                   18-07-16 09:22:21 [   DEBUG]: Updating app files...
  9873 actions.update                   18-07-16 09:22:21 [    INFO]: File: /usr/share/univention-management-console/modules/apps.xml
  9873 actions.update                   18-07-16 09:22:21 [    INFO]:
  9873 actions.update                   18-07-16 09:22:21 [    INFO]: Multifile: /etc/apache2/sites-available/default-ssl.conf
  9873 actions.update                   18-07-16 09:22:21 [    INFO]:
  9873 actions.update                   18-07-16 09:22:22 [    INFO]: File: /usr/share/univention-portal/apps.json
  9873 actions.update                   18-07-16 09:22:22 [    INFO]:
  9873 actions.update                   18-07-16 09:22:22 [    INFO]: File: /usr/share/univention-management-console/i18n/de/apps.mo
  9873 actions.update                   18-07-16 09:22:22 [    INFO]:
  9873 actions.update                   18-07-16 09:22:24 [    INFO]: Multifile: /etc/apache2/sites-available/000-default.conf
  9873 actions.update                   18-07-16 09:22:24 [    INFO]:
  9873 actions.update                   18-07-16 09:22:24 [   DEBUG]: Updating app icon files in UMC directory...
  9873 actions.update.progress          18-07-16 09:22:24 [   DEBUG]: 100
  9873 actions.upgrade-search           18-07-16 09:22:24 [   DEBUG]: Checking 4.1/wawision=16.3
  9873 actions.upgrade-search           18-07-16 09:22:24 [    INFO]: Executing interface update_available for wawision
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:24 [   DEBUG]: Using container.f7d3 for container f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a28425$
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:24 [   DEBUG]: Calling docker exec f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a284253e54 /usr/share$
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:24 [    INFO]: packages
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:25 [    INFO]: 4.1/wawision=16.3: Update available: packages
  9873 actions.upgrade-search.progress  18-07-16 09:22:25 [   DEBUG]: 100
  9873 actions.upgrade                  18-07-16 09:22:32 [   DEBUG]: Calling upgrade
  9873 actions.upgrade.progress         18-07-16 09:22:32 [   DEBUG]: 0
  9873 actions.upgrade                  18-07-16 09:22:32 [    INFO]: Going to upgrade WaWision ERP/CRM (16.3)
  9873 actions.upgrade                  18-07-16 09:22:32 [   DEBUG]: Calling prescript (preinst)
  9873 actions.upgrade                  18-07-16 09:22:32 [   DEBUG]: /var/cache/univention-appcenter/appcenter.software-univention.de/4.1/wawision_20170111122721.preinst$
  9873 packages                         18-07-16 09:22:32 [   DEBUG]: Holding LOCK
  9873 actions.start                    18-07-16 09:22:32 [   DEBUG]: Calling start
  9873 actions.start.progress           18-07-16 09:22:32 [   DEBUG]: 0
  9873 actions.start                    18-07-16 09:22:32 [   DEBUG]: Calling /etc/init.d/docker-app-wawision start
  9873 actions.start                    18-07-16 09:22:32 [    INFO]: Starting docker-app-wawision (via systemctl): docker-app-wawision.service.
  9873 actions.start                    18-07-16 09:22:32 [   DEBUG]: /etc/init.d/docker-app-wawision returned with 0
  9873 actions.start.progress           18-07-16 09:22:32 [   DEBUG]: 100
  9873 actions.upgrade                  18-07-16 09:22:32 [    INFO]: Executing interface update_available for wawision
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:32 [   DEBUG]: Using container.f7d3 for container f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a284253e54
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:32 [   DEBUG]: Calling docker exec f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a284253e54 /usr/share/univ$
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:33 [    INFO]: packages
  9873 actions.upgrade                  18-07-16 09:22:33 [    INFO]: Upgrading packages (None)
  9873 actions.upgrade                  18-07-16 09:22:33 [    INFO]: Executing interface update_packages for wawision
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:42 [   DEBUG]: Using container.f7d3 for container f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a284253e54
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:42 [   DEBUG]: Calling docker exec f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a284253e54 /usr/share/univ$
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:42 [    INFO]:
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:42 [    INFO]: Starting univention-upgrade. Current UCS version is 4.1-4 errata489
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:42 [    INFO]:
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:42 [    INFO]: Checking for local repository:                          none
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:54 [    INFO]: Checking for package updates:                           none
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:54 [    INFO]: Checking for app updates:                               skipped
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:57 [    INFO]: Checking for release updates:                           4.1-5 is available but updater has been inst$
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Search LDAP binddn  done
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Running 03univention-directory-listener.inst skipped (already executed)
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Running 04univention-ldap-client.inst skipped (already executed)
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Running 11univention-pam.inst skipped (already executed)
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Running 18python-univention-directory-manager.inst skipped (already executed)
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Running 20univention-directory-policy.inst skipped (already executed)
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Running 20univention-join.inst skipped (already executed)
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Running 30univention-appcenter.inst skipped (already executed)
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [    INFO]: Error: ldapsearch -x failed
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [ WARNING]: W: The config registry variable 'update/container/check/last' does not exist
  9873 actions.upgrade.container.f7d3   18-07-16 09:22:58 [ WARNING]: W: The config registry variable 'update/container/check/type' does not exist
  9873 packages                         18-07-16 09:22:59 [   DEBUG]: Releasing LOCK
  9873 actions.upgrade                  18-07-16 09:22:59 [CRITICAL]: Package upgrade script failed
  9873 actions.upgrade                  18-07-16 09:22:59 [ WARNING]: Aborting...
  9873 actions.start                    18-07-16 09:22:59 [   DEBUG]: Calling start
  9873 actions.start.progress           18-07-16 09:22:59 [   DEBUG]: 0
  9873 actions.start                    18-07-16 09:22:59 [   DEBUG]: Calling /etc/init.d/docker-app-wawision start
  9873 actions.start                    18-07-16 09:22:59 [    INFO]: Starting docker-app-wawision (via systemctl): docker-app-wawision.service.
  9873 actions.start                    18-07-16 09:22:59 [   DEBUG]: /etc/init.d/docker-app-wawision returned with 0
  9873 actions.start.progress           18-07-16 09:22:59 [   DEBUG]: 100
  9873 actions.upgrade-search           18-07-16 09:22:59 [   DEBUG]: Calling upgrade-search
  9873 actions.upgrade-search.progress  18-07-16 09:22:59 [   DEBUG]: 0
  9873 actions.upgrade-search           18-07-16 09:22:59 [   DEBUG]: Checking 4.1/wawision=16.3
  9873 actions.upgrade-search           18-07-16 09:22:59 [    INFO]: Executing interface update_available for wawision
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:59 [   DEBUG]: Using container.f7d3 for container f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a28425$
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:59 [   DEBUG]: Calling docker exec f7d3f5abfc6d934e59126fd178be9e1548ee4d926f187029940311a284253e54 /usr/share$
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:59 [    INFO]: packages
  9873 actions.upgrade-search.container.f7d3 18-07-16 09:22:59 [    INFO]: 4.1/wawision=16.3: Update available: packages
  9873 actions.upgrade-search.progress  18-07-16 09:22:59 [   DEBUG]: 100
  9873 actions.upgrade.progress         18-07-16 09:22:59 [   DEBUG]: 100

Was ich herauslesen kann dass anscheinend Variabeln in der Config fehlen. Kann mir jemand sagen wo genau das Problem liegt?

Viele Grüße
Sven