[opensuse-buildservice] Private instance incorrect download repository link
Hello All, I'm trying to setup private OBS version 2.10. Now everything is working as expected expect the links from GUI to download repository. base of links generated by GUI is https://$hostname/ which create links like https://$hostname/home:/dibo:/git-tools/RHEL_7 When link is being followed will get passengers "Page not found" I was trying to use old config value from very old version 2.1.x in BSConfig.pm our $repodownload = "https://$hostname/basepath/"; but it have no effect. Can anybody point me where to setup proper base URL? Many thanks Dibo -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 16. Oktober 2019, 18:47:44 CEST Radoslav Dibarbora wrote:
Hello All,
I'm trying to setup private OBS version 2.10. Now everything is working as expected expect the links from GUI to download repository. base of links generated by GUI is https://$hostname/ which create links like https://$hostname/home:/dibo:/git-tools/RHEL_7
When link is being followed will get passengers "Page not found"
I was trying to use old config value from very old version 2.1.x in BSConfig.pm our $repodownload = "https://$hostname/basepath/";
but it have no effect.
Can anybody point me where to setup proper base URL?
# osc api -e /configuration
and edit download_url tag.
This has been moved to configuration.xml to have the same settings
in all components. So you should remove the definition in BSConfig.pm, since
this would overwrite it in some cases.
--
Adrian Schroeter
On 17/10/2019 08:54, Adrian Schröter wrote:
# osc api -e /configuration
and edit download_url tag.
This has been moved to configuration.xml to have the same settings in all components. So you should remove the definition in BSConfig.pm, since this would overwrite it in some cases.
Thank this helped. one more question. Old version used to generate .repo files in download repository. Was it removed or do I need to enable it somehow? Thanks Dibo -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Donnerstag, 17. Oktober 2019, 11:05:00 CEST Radoslav Dibarbora wrote:
On 17/10/2019 08:54, Adrian Schröter wrote:
# osc api -e /configuration
and edit download_url tag.
This has been moved to configuration.xml to have the same settings in all components. So you should remove the definition in BSConfig.pm, since this would overwrite it in some cases.
Thank this helped.
one more question. Old version used to generate .repo files in download repository. Was it removed or do I need to enable it somehow?
your backend as no download url defined then ...
it is read from /srv/obs/configuration.xml , check that.
--
Adrian Schroeter
On 17/10/2019 11:16, Adrian Schröter wrote:
On Donnerstag, 17. Oktober 2019, 11:05:00 CEST Radoslav Dibarbora wrote:
On 17/10/2019 08:54, Adrian Schröter wrote:
# osc api -e /configuration
and edit download_url tag.
This has been moved to configuration.xml to have the same settings in all components. So you should remove the definition in BSConfig.pm, since this would overwrite it in some cases. Thank this helped.
one more question. Old version used to generate .repo files in download repository. Was it removed or do I need to enable it somehow? your backend as no download url defined then ...
it is read from /srv/obs/configuration.xml , check that.
thanks for the help publisher now started to generate it -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Okt 16 2019, Radoslav Dibarbora
base of links generated by GUI is https://$hostname/ which create links like https://$hostname/home:/dibo:/git-tools/RHEL_7
The download url should use port 82 and plain http. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Andreas Schwab
-
Radoslav Dibarbora