Bug 56078 - Error downloading 'repository/online/component/.*/server' don't use the correct URL and get 404
Error downloading 'repository/online/component/.*/server' don't use the corre...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UCR
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-19 10:10 CEST by Mirac Erdemiroglu
Modified: 2023-10-25 18:22 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.171
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023051521000461, 2023101721000215
Bug group (optional): Workaround is available
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirac Erdemiroglu univentionstaff 2023-05-19 10:10:21 CEST
If you are setting up the UCRV for your own repo component server in the old/classic stye, each variable for each setting, for example

repository/online/component/foo/server=http://foo.bar.de 
repository/online/component/foo/prefix=apt/foobar
repository/online/component/foo: yes
repository/online/httpmethod: HEAD
repository/online/port: 80
repository/online/prefix: univention-repository
repository/online/server: http://foo.bar.de


so the system diagnose will check this and give you the hint to fix these UCRV, because some UCRV from the settings are depricated.
The system diagnose give you the option to fix the UCRV on the webgui and after the fix, it looks like this

repository/online/component/foo/server: http://foo.bar.de/apt/foobar
repository/online/component/foo: yes
repository/online/httpmethod: HEAD
repository/online/port: 80
repository/online/prefix: <empty>
repository/online/server: http://foo.bar.de:80/univention-repository

and in the source.list for the component you will see this:

cat /etc/apt/sources.list.d/20_ucs-online-component.list
#Warning: This file is auto-generated and might be overwritten by
#         univention-config-registry.
#         Please edit the following file(s) instead:
#Warnung: Diese Datei wurde automatisch generiert und kann durch
#         univention-config-registry ueberschrieben werden.
#         Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):
#
#       /etc/univention/templates/files/etc/apt/sources.list.d/20_ucs-online-component.list
#

# Component olb: Error downloading http://foo.bar.de/univention-repository/univention-repository/5.0/maintained/component/foo/all/Packages.gz: 404
Comment 1 Mirac Erdemiroglu univentionstaff 2023-05-19 10:19:55 CEST
A Workaround could be to use the depricated UCRV and don't fix it over the system diagnose in the web gui, until this problem is fixed.

repository/online/component/foo/server=http://foo.bar.de 
repository/online/component/foo/prefix=apt/foobar
repository/online/component/foo: yes
repository/online/httpmethod: HEAD
repository/online/port: 80
repository/online/prefix: univention-repository
repository/online/server: http://foo.bar.de

or 

repository/online/component/foo/prefix: apt/foobar
repository/online/component/foo: yes
repository/online/httpmethod: HEAD
repository/online/port: 80
repository/online/prefix: univention-repository
repository/online/server: http://foo.bar.de