# Zuul cannot upload a collection release saying that it already exists but it doesn't

**URL:** <https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898>\
**Category:** Get Help\
**Tags:** bug, galaxy-ng\
**Created:** [October 24, 2023, 9:02am UTC](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898 "2023-10-24T09:02:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andersson007](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/andersson007/32/89_2.png) [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Post date:** [October 24, 2023, 9:02am UTC](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898/1 "2023-10-24T09:02:57Z")

</div>

When I was trying to publish 5.0.1 of community.network, Zuul failed because Galaxy returns that release 5.0.1 already exists but it doesn’t.

The [collection page](https://galaxy.ansible.com/ui/repo/published/community/network/) shows the latest release as 5.0.0.

Before that attempt, I tried to upload 5.0.1 manually (failed as well), maybe there are some artifacts in cache left from those attempts that don’t allow Zuul publish it.

Could anyone please check?

Error messages:

 ![Screenshot from 2023-10-24 10-29-41](https://us1.discourse-cdn.com/ansible/original/2X/6/6ed4996bd91cc9b968339f46ad57bd243757ab7e.png)

 ![Screenshot from 2023-10-24 10-35-14](https://us1.discourse-cdn.com/ansible/original/2X/c/c90e07df5052b9fdcacb5240842f62a3467d8f13.png)

---

<div class="post-metadata">

**Author:** ![mariolenz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mariolenz/32/108_2.png) [@mariolenz](https://forum.ansible.com/u/mariolenz)\
**Post date:** [October 24, 2023, 12:36pm UTC](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898/2 "2023-10-24T12:36:55Z")

</div>

Is this the same issue as [Could not upload a new collection version to Ansible Galaxy](http://forum.ansible.com/t/could-not-upload-a-new-collection-version-to-ansible-galaxy/1816) or possibly related to it?

---

<div class="post-metadata">

**Author:** ![tannerjc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tannerjc/32/985_2.png) [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Post date:** [October 24, 2023, 1:35pm UTC](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898/3 "2023-10-24T13:35:38Z")

</div>

@Andersson007

There were 2 attempts at uploading community.network 5.0.1 …

[https://galaxy.ansible.com/ui/task/018b6066-d508-7507-9fc3-90eca1647d81/](https://galaxy.ansible.com/ui/task/018b6066-d508-7507-9fc3-90eca1647d81/)  
[https://galaxy.ansible.com/ui/task/018b60c7-8495-70a8-ab97-0749688763d5/](https://galaxy.ansible.com/ui/task/018b60c7-8495-70a8-ab97-0749688763d5/)

The first one failed because it appeared to be missing the manifest. The second failed because the backend by default saves any any all artifacts even if the upload failed (we need to try to fix this at some point) and then got tripped up on setting the highest version.

---

<div class="post-metadata">

**Author:** ![Andersson007](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/andersson007/32/89_2.png) [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Post date:** [October 25, 2023, 7:46am UTC](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898/4 "2023-10-25T07:46:07Z")

</div>

@tannerjc ok, how can i now upload the collection? I can’t do it manually because of the [error](http://forum.ansible.com/t/fails-to-upload-a-collection-new-version-tarball-with-no-permission-but-im-a-namespace-owner/1899) and with Zuul. Could anybody remove the artifact?  
I guess it’d be faster for me to try to release a mock 5.0.2 release but it would be wrong.

---

<div class="post-metadata">

**Author:** ![Andersson007](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/andersson007/32/89_2.png) [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Post date:** [October 25, 2023, 9:08am UTC](https://forum.ansible.com/t/zuul-cannot-upload-a-collection-release-saying-that-it-already-exists-but-it-doesnt/1898/5 "2023-10-25T09:08:15Z")

</div>

Did it (released 5.0.2) for the sake of experiment and it was published by Zuul on Galaxy.  
One thing that can be important when talking about first-upload-attempt missed manifest error - I didn’t do any changes in the collection’s metadata, so now it’s not complaining, which is strange.
