Hi koji man!! lots of package build said as below for me , is there any way to deal with it. Error: Error downloading packages: Cannot download toplink/packages/curl/7.61.1/14.el8_3.1/x86_64/curl-7.61.1-14.el8_3.1.x86_64.rpm: All mirrors were tried https://koji.cclinux.org/koji/taskinfo?taskID=40458
You httpd appears to be configured to use 'kojifiles' not 'toplink'. https://koji.cclinux.org/kojifiles/packages/curl/7.61.1/14.el8_3.1/x86_64/curl-7.61.1-14.el8_3.1.x86_64.rpm Perhaps your 'topurl' entry in /etc/kojid/kojid.conf doesn't match your httpd config.
I checked /etc/kojid/kojid.conf on all of my kojibuilder , " topurl=https://koji.cclinux.org/kojifiles" indeed correct. what i did more is i added a external-repo for tag dist-circle8-build.
It looks ok to me. Even repodata are downloaded correctly. Only fail is final download. Can you try to run mock locally with relevant config (koji mock-config --task xyz)?
Metadata Update from @tkopecek: - Custom field Size adjusted to None
yes, i run mock locally with "koji mock-config --task $taskID" output as my local mock config . koji also tell me can not "Cannot download toplink/packages/ ........" ; i download it by click on brower and go to /mnt/koji/packages/xxxx , the packages indeed exsisted. painful for me now , what i did to skip operations is mv tag repo dist-circle8-build and regen-repo , then will go work a while, but when i built some pkg on koji and koji regen-repo automatically , it will appear for me .
It looks to be something weird with the local env. I've tried it with your system (https://paste.centos.org/view/5523659b , just changed repo id to "latest" as the original repo is already gone) and it works for me and correctly download the packages.
@james6xie Do you have FollowSymlinks turned on in your apache config for the kojifiles location? We made this part of our default config in 27aa2f51e3ccbb7b5236daf8e8cb42f53daae071 back in 2015 to deal with problems like this.
FollowSymlinks
I met the same problem:
[root@kojid1 /]$ dnf download zip --url Unable to detect release version (use '--releasever' to specify release version) Last metadata expiration check: 0:45:45 ago on Sat 11 Jun 2022 10:13:57 AM CST. http://koji.pandaos.org/kojifiles/repos/dist-pd2206-build/5/x86_64/toplink/packages/zip/3.0/29.pd2206/x86_64/zip-3.0-29.pd2206.x86_64.rpm [root@kojid1 /]$ dnf install zip Unable to detect release version (use '--releasever' to specify release version) Last metadata expiration check: 0:45:57 ago on Sat 11 Jun 2022 10:13:57 AM CST. Dependencies resolved. ================================================================================================================================================================================================================== Package Architecture Version Repository Size ================================================================================================================================================================================================================== Installing: zip x86_64 3.0-29.pd2206 build 217 k Installing dependencies: basesystem noarch 12-2.oe2203 build 7.0 k bash x86_64 5.1.8-1.oe2203 build 1.2 M bc x86_64 1.07.1-10.oe2203 build 89 k bzip2 x86_64 1.0.8-4.oe2203 build 67 k filesystem x86_64 3.16-4.oe2203 build 1.1 M glibc x86_64 2.34-70.oe2203 build 3.0 M glibc-common x86_64 2.34-70.oe2203 build 3.6 M info x86_64 6.8-3.oe2203 build 172 k libselinux x86_64 3.3-1.oe2203 build 111 k libsepol x86_64 3.3-2.oe2203 build 284 k ncurses-base noarch 6.3-2.oe2203 build 54 k ncurses-libs x86_64 6.3-2.oe2203 build 286 k openEuler-gpg-keys x86_64 1.0-3.4.oe2203 build 10 k openEuler-release x86_64 22.03LTS-52.oe2203 build 23 k openEuler-repos x86_64 1.0-3.4.oe2203 build 9.3 k pcre2 x86_64 10.39-1.oe2203 build 594 k readline x86_64 8.1-1.oe2203 build 152 k setup noarch 2.13.9.1-1.oe2203 build 150 k tzdata noarch 2021e-2.oe2203 build 428 k
Install 20 Packages
Total size: 11 M Total download size: 217 k Installed size: 53 M Downloading Packages:
Error: Error downloading packages: zip-3.0-29.pd2206.x86_64: Cannot download, all mirrors were already tried without success
http://koji.pandaos.org/kojifiles/repos/dist-pd2206-build/5/x86_64/toplink/packages/zip/3.0/29.pd2206/x86_64/zip-3.0-29.pd2206.x86_64.rpm
it seems that the 'toplink' couldn't be translated to topurl 'http://koji.pandaos.org/kojifiles'.
And how does your koji.conf looks?
koji.conf
[koji]
;configuration for koji cli tool
;url of XMLRPC server ;server = http://hub.example.com/kojihub server = http://koji.pandaos.org/kojihub
;url of web interface ;weburl = http://www.example.com/koji weburl = http://koji.pandaos.org/koji
;url of package download site ;pkgurl = http://www.example.com/packages topurl = http://koji.pandaos.org/kojifiles
;path to the koji top directory topdir = /mnt/koji
;configuration for Kerberos authentication
;the principal to auth as for automated clients ;principal = client@EXAMPLE.COM
;the keytab to auth as for automated clients ;keytab = /etc/krb5.keytab
; fedora uses kerberos auth ;authtype = kerberos
;configuration for SSL authentication
;client certificate cert = ~/.koji/client.crt
;certificate of the CA that issued the HTTP server certificate serverca = ~/.koji/serverca.crt
;plugin paths, separated by ':' as the same as the shell's PATH ;koji_cli_plugins module and ~/.koji/plugins are always loaded in advance, ;and then be overridden by this option ;plugin_paths = ~/.koji/plugins
I can't even resolve that hosname. But is is probably the same issue. Your hub or download server is not serving kojifiles directory correctly.
Thanks for your suggestions @tkopecek Indeed my download server's configuration is wrong.
sounds like this can be closed
Metadata Update from @mikem: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/2886
Please continue any further discussion there.