Snapcraft upload fails

I’m trying to publish/upload to my snap which I have under the account “dwellir-snapcrafters”.

However this fails for some reason:

I’ve done this a few times, but this time I seem to be doing something wrong?

2024-08-02 00:40:00.339 Starting snapcraft, version 8.3.1
2024-08-02 00:40:00.339 Log verbosity level set to BRIEF
2024-08-02 00:40:00.339 Falling back from craft-application to snapcraft.
2024-08-02 00:40:00.420 Components provided by the user: set()
2024-08-02 00:40:00.420 No components found in snap metadata.
2024-08-02 00:40:00.420 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'.
2024-08-02 00:40:00.473 HTTP 'POST' for 'https://dashboard.snapcraft.io/dev/api/snap-push/' with params None and headers {'Accept': 'application/json', 'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/8.3.1 ubuntu/22.04 (x86_64)'}
2024-08-02 00:40:00.664 craft-store error: Store operation failed:
- resource-not-found: Snap not found for name=prysm
2024-08-02 00:40:00.664 Full execution log: '/home/erik/.local/state/snapcraft/log/snapcraft-20240802-004000.338802.log'

For some reason. After a good night sleep - it works.

erik@frozen:~/snap-prysm$ snapcraft upload ./prysm_v5.0.4-3b184f4_amd64.snap 
Revision 1 created for 'prysm'

Perhaps some outage or something with the snapstore?

Possibly - I was getting odd errors downloading snaps from the store yesterday.

Was it a recently registered name? It may have been pending for approval.

It was approved and looked all good in the webfront. I’ve done it before, so I couldn’t see any reason for this to happen.

Sorry I missed it when it was still failing. If it happens again, I’ll ping the store team right away and ask them to check from their end.

@mr_cal Its happened again today.

See the attached image that shows that the snap exists in snapcraft.io - but the upload fails.

I’ve double checked that I’m acting under the correct username.

Thanks, I just pinged the store team asking if they can take a look.

Hi @lonroth @mr_cal op-reth name was approved ~50min ago, so this might be a issue with the UI showing misleading information. The name registration was pending review, and the web UI might not fully understand that. I’ll reach out to the web&design team to check things on their end.

@lonroth as the name registration was approved, you should be able to upload revisions. Let us know if you find any issues.

Regards

3 Likes

Yeah - I think there is some kind of delay between that the approval got through, where the upload still isn’t aware.

You should probably sync this such as that the message actually is in line with reality. I’m kind of used to this, but its bound to happen to others which might think its broken.