Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't seem to get the noarch/repodata.json file created when using quetz-client #577

Open
Mwilliamsphx opened this issue Dec 4, 2022 · 1 comment

Comments

@Mwilliamsphx
Copy link

Mwilliamsphx commented Dec 4, 2022

Hello,

I created a private quetz server on an ECS cluster using the latest docker image and installed the quetz client on my dev instance.

I'm attempting to upload the xtensor test package to a channel I created (channel0). I exported the quetz api key per the README and then tried both the README way to upload and the other way described in this issue (which doesn't use full api path) https://github.com/mamba-org/quetz/issues/535#issuecomment-1198166208. The upload succeeds but neither way is generating the noarch/repodata.json file and when I attempt to install the same package the I receive this error:

mamba install --strict-channel-priority -c https://<quetz-server>/get/channel0 xtensor

Multi-download failed. Reason: Transfer finalized, status: 404 [https://<quetz-server>/files/channels/channel0/noarch/repodata.json]

Upload commands I've used:

quetz-client -s https://<quetz-server> channel0 xtensor 

and 

quetz-client https://<quetz-server>/api/channels/channel0 xtensor/linux-64/xtensor-0.16.1-0.tar.bz2 xtensor/osx-64/xtensor-0.16.1-0.tar.bz2

I would really appreciate any guidance on what I might be doing wrong or missing in order to get the repodata.json generated. Thank you for your time!

@janjagusch
Copy link
Collaborator

Hey @Mwilliamsphx!

I believe the path to the repodata.json is incorrect. I think it should be https://<quetz-server>/get/channel0/noarch/repodata.json. Can you give that a try and let us know if that worked for you?

Also, we've recently released a new version of the Quetz client. You can find it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants