Failing on Attempts To Upgrade UCS From 4.4.3

First off, this is a fantastic product! I’ve been trying to get nextcloud integrated with onlyoffice for quite a while and this product does a great job at it. The ONLY issue I’ve had is with the UCS updates…

When trying to upgrade UCS (nextcloud and onlyoffice updates went perfectly) it kept failing after a long time of trying. I was trying to go from 4.4.3 to 4.4.4 first of course but it fails every time. Did reboot of the VM and even the host after having a look around at the logs and the entries in your forums.

VERSION INFO
UCS: 4.4-3 errata438
Installed: nextcloud=24.0.3-0 onlyoffice-ds=6.3.1.33
Upgradable:

Before the reboots I was getting the above message and the updater.log file had:

2022-08-11 08:36:19,030 CRITICAL:updater.Updater:Failed server detection: Configuration error: host is unresolvable
Traceback (most recent call last):

  • File “/usr/lib/python2.7/dist-packages/univention/updater/tools.py”, line 915, in ucr_reinit*
  • assert self.server.access(None, ‘/univention-repository/’)*
  • File “/usr/lib/python2.7/dist-packages/univention/updater/tools.py”, line 709, in access*
  • raise ConfigurationError(uri, reason)*
    ConfigurationError: Configuration error: host is unresolvable

Starting univention-upgrade. Current UCS version is 4.4-3 errata438

Checking for package updates: none
Checking for app updates: none
Checking for release updates: found: UCS 4.4-4
Please rerun command without --check argument to install.

Starting univention-upgrade. Current UCS version is 4.4-3 errata438

Checking for package updates: none
Checking for app updates: none
Checking for release updates: found: UCS 4.4-4
Please rerun command without --check argument to install.

After reboot the log showed the update starting with:

—>DBG:update_available(mode=net, cdrom_mount_point=/media/cdrom, iso=None)
Checking network repository
Update to = 4.4-4
***** Downloading scripts at Thu Aug 11 10:43:18 2022*
***** Starting actual update at Thu Aug 11 10:43:24 2022*
Running preup.sh script
Thu Aug 11 10:43:25 CDT 2022

HINT:
Please check the release notes carefully BEFORE updating to UCS 4.4-4:

Please also consider documents of following release updates and
3rd party components.

Do you want to continue [Y/n]?
Custom preupdate script /var/lib/local-preup.sh not found
Checking for space on /var/cache/apt/archives: OK
Checking for space on /boot: OK
Checking for space on /: OK
Checking for package status: OK
Checking LDAP schema: OK

Then lots of gathering the package details I think and finally ending with:

Error: Failed to execute “apt-get update”

Then it logs me out of UCS completely.
If you need anything else, please don’t hesitate to let me know. I look forward to your help

EDIT: Also just forgot to say that Nextcloud is stuck in maintenance mode now too.

Mastodon