Charm not being published on Charmhub

I’m trying to publish a charm, “tls-secure”, on Charmhub. Github repo

I have followed https://juju.is/docs/sdk/publishing and Juju | How to add docs to your charm or charm bundle on Charmhub. The docs are at: tls-secure docs-index and in the docs: in metadata.yaml

charmcraft status tls-secure

Track    Base                  Channel    Version    Revision                                                                                               
latest   ubuntu 22.04 (amd64)  stable     -          -                                                                                                      
                               candidate  -          -                                                                                                      
                               beta       -          -                                                                                                      
                               edge       2          2 

https://charmhub.io/tls-secure is giving 404

https://charmhub.io/tls-secure?channel=edge is giving 404

juju find tls-secure returns No matching charms or bundles

Anyone who can tell me what is wrong?

@wgrant can someone on the Charmhub team please look into this?

Can you try closing latest/edge and rerunning the same release command again? It looks like part of the operation didn’t complete properly (internally, the first release is meant to set the status from registered to published, but that hasn’t happened).

I tried closing and then releasing again but unfortunately it did not work. I also tried renaming the charm to “tlss” but that didn’t work either. Current status of the original charm “tls-secure” and the renamed “tlss”.

charmcraft names
Name        Type    Visibility    Status                                                                                                                                        
tls-secure  charm   public        registered                                                                                                                                    
tlss        charm   public        registered  

charmcraft revisions tls-secure
Revision    Version    Created at            Status                                                                                                                             
6           6          2023-10-23T11:19:41Z  released                                                                                                                           
5           5          2023-10-23T11:06:07Z  approved                                                                                                                           
4           4          2023-10-23T11:01:31Z  approved                                                                                                                           
3           3          2023-10-23T10:06:22Z  approved                                                                                                                           
2           2          2023-10-20T08:29:08Z  approved                                                                                                                           
1           1          2023-10-19T16:31:09Z  approved 

charmcraft revisions tlss
Revision    Version    Created at            Status                                                                                                                             
1           1          2023-10-24T08:07:15Z  released

charmcraft status tls-secure
Track    Base                  Channel    Version    Revision                                                                                                                   
latest   ubuntu 22.04 (amd64)  stable     -          -                                                                                                                          
                               candidate  -          -                                                                                                                          
                               beta       -          -                                                                                                                          
                               edge       6          6        

charmcraft status tlss
Track    Base                  Channel    Version    Revision                                                                                                                   
latest   ubuntu 22.04 (amd64)  stable     -          -                                                                                                                          
                               candidate  -          -                                                                                                                          
                               beta       -          -                                                                                                                          
                               edge       1          1        

Thanks, that let me track down the crash (Canonical-only link, sorry). We’ll investigate internally and get back to you.

Alright sounds good, thanks!

1 Like

Hi Martwall,

Does your charm’s metadata.yaml contain the maintainers stanza like so?

maintainers:
    - Martwall

If this is indeed the case, the stanza is missing an email. Could you please try again with your email address appended like so:

maintainers:
    - Martwall <name@email.com>

We’ll look into how to better handle such errors, but in the meantime this should unblock your releases (please let us know).

Thanks! Bowen

2 Likes

Thank you, that resolved the issue :slight_smile:

1 Like