Open-Xchange Repos wrong in 5.0-3

Hi there,

have the problem here, that the licensed open-xchange repositories (those, you need credentials for) are not reachable anymore, although the ucm module OX-License says all is fine.
The entries in my 20_ucs-online-component.list look like this:

# Component oxucs7106: Error downloading https://software.open-xchange.com/5.0/maintained/component/oxucs7106/Packages.gz: 404

I noticed, that there’s a difference in the design in the repository module in UCM, and am pretty sure, this might be the root cause…

I would expect something like this:

grafik

However it look like this here:

grafik

The only difference i noticed to the working setups i have, is that the non working node has UCS 5.0-3 installed, and the others are still on 5.0-2, but i can’t say if that is linked.

Please share your ideas with me.
thanks
Sascha

i can confirm, the repo wizard in 5.0-3 doesn’t have those fields (username / password) anymore, and so the repos for OX seem to be destroyed in 5.0-3…
Just tested it on another node.

grmpf…

So basically all licensed OX setups have no access anymore to their payed updates due to this bug.
As your latest updates as of today didn’t fix this either and nobody comments here, i am not sure what to make of this.
…quite dissaponting really…

Hi tafkaz,

it’s look like that ox changed there path for that repo because their is nothing to find on your post url.

On my test system i got these UCRV for OX

repository/online/component/oxseforucs_20221213100114/description: OX App Suite
repository/online/component/oxseforucs_20221213100114/localmirror: false
repository/online/component/oxseforucs_20221213100114/server: https://appcenter.software-univention.de
repository/online/component/oxseforucs_20221213100114/version: current
repository/online/component/oxseforucs_20221213100114: enabled

Let’s check what kind of UCRV you have and post the output from your system:
ucr search --brief repository/online/component/oxseforucs

Kinde regards,
Miro

Hi,

thanks for your reply!

ucr search --brief repository/online/component/oxseforucs
repository/online/component/.*: <empty>
repository/online/component/oxseforucs_20221213100114/description: OX App Suite
repository/online/component/oxseforucs_20221213100114/localmirror: false
repository/online/component/oxseforucs_20221213100114/server: https://appcenter.software-univention.de
repository/online/component/oxseforucs_20221213100114/version: current
repository/online/component/oxseforucs_20221213100114: enabled

However i don’t think OX changed their repos really.
It’s seems that just the credentials are missing now inside the /etc/apt/sources.list.d/20_ucs-online-component.list.
In the repository Wizard in UCM the complete URL (including the credentials) is being shown, and that URL is actually working.
Despite that, the correct URL is not being added to /etc/apt/sources.list.d/20_ucs-online-component.list.
Do you agree?

best
Sascha

Hi Sascha,

can you try an
apt update
and accept the upcoming change announcments?

E: Für das Depot »https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/frontend7106 ./ InRelease« wurde der »Origin«-Wert von »obs://private/frontend
-7.10.6-rev23/DebianBuster« in »obs://private/frontend-7.10.6-rev24/DebianBuster« geändert.
E: Für das Depot »https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/frontend7106 ./ InRelease« wurde der »Label«-Wert von »frontend-7.10.6-rev23« 
in »frontend-7.10.6-rev24« geändert.
N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Info
rmationen benötigen.
Möchten Sie diese Änderungen übernehmen und mit der Aktualisierung von diesem Depot fortfahren? [j/N] j

This worked for me.

Greetings
Christina

Hi Christina,
nothing to check here, already did that:

# apt update 
OK:1 https://updates.software-univention.de ucs503 InRelease
OK:2 https://updates.software-univention.de errata503 InRelease
Ign:3 https://appcenter.software-univention.de/univention-repository/5.0/maintained/component oxseforucs_20221213100114/all/ InRelease
Ign:4 https://appcenter.software-univention.de/univention-repository/5.0/maintained/component oxseforucs_20221213100114/amd64/ InRelease
OK:5 https://appcenter.software-univention.de/univention-repository/5.0/maintained/component oxseforucs_20221213100114/all/ Release
OK:6 https://appcenter.software-univention.de/univention-repository/5.0/maintained/component oxseforucs_20221213100114/amd64/ Release
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Aktualisierung für 16 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.

cheers
Sascha

Hi,

this seems to be Bug 55636 – Updater does not take the url prefix specified in UCRV repository/online/component/$comp/server - a regression introduced by Bug 55044 – UCRV repository/online/component/$comp/server=https://… disables username,password,prefix.

Immediate “fix” would be to copy the correct repository lines in /etc/apt/sources.list.d/20_ucs-online-component.list that refer to the specific OX repos from your 5.0-2 machines and put them into the same file in your 5.0-3 machine. I am not sure when the updater overwrites these files. So if you want to install updates, do it quickly via apt. We are working on a fix, though. I am quite confident that changing two lines of code would be more sustainable than changing the repository file:

In /usr/lib/python3/dist-packages/univention/updater/tools.py
you could change two lines of code around line 1032:
Before

        c_url.path = ''
        prefix = self["prefix"]

After

        prefix = c_url.path or self["prefix"]
        c_url.path = ''

This should work. Do a ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list afterwards.

Again, we are working on a fix and can hopefully release it next week.

Kind regards and sorry for the annoying inconvenience,
Dirk Wiesenthal

2 Likes

thanks Dirk, this worked!

Have a great weekend everyone
Sascha

Mastodon