secret being picked up by some abra spells but not others #692

Closed
opened 2025-10-07 13:28:42 +00:00 by knoflook · 1 comment
Owner

relevant commit needed to reproduce: 124e6825ff
the secret in question is django_email_host_password

When running abra secret generate it gets generated and stored on the server. However when you abra secret ls afterwards it's not visible anymore. Also trying to deploy it fails complaining about this secret. It cannot be removed for the same reason. However trying to re-generate it fails because it exists. Also it does exist on the server when you run docker secret ls. It's only this secret.

relevant commit needed to reproduce: https://git.coopcloud.tech/coop-cloud/lasuite-docs/commit/124e6825ff3f3f90e0f1fa7e8ca4c80c576db027 the secret in question is `django_email_host_password` When running `abra secret generate` it gets generated and stored on the server. However when you `abra secret ls` afterwards it's not visible anymore. Also trying to deploy it fails complaining about this secret. It cannot be removed for the same reason. However trying to re-generate it fails because it exists. Also it does exist on the server when you run `docker secret ls`. It's only this secret.
knoflook added the
bug
label 2025-10-07 13:28:49 +00:00
decentral1se added this to the Abra v0.12 project 2025-10-07 19:48:29 +00:00
decentral1se moved this to Prioritised in Abra v0.12 on 2025-10-15 08:03:34 +00:00
decentral1se moved this to Backlog in Abra v0.12 on 2025-10-17 17:31:32 +00:00
decentral1se moved this to Prioritised in Abra v0.12 on 2025-10-17 17:31:51 +00:00
Owner

Took a look at this again. In 124e6825ff it seems that SECRET_DJANGO_EMAIL_HOST_PASSWORD_VERSION was never added to the .env file? I don't know which version of abra you're running but on the latest "stable", when I try to generate the secrets without the version, it show: FATA <app/secret.go:78> missing version for secret? ($name_of_secret). That's the only thing I can think of now. If you have more info or more reproduction steps, hit me up!

Took a look at this again. In https://git.coopcloud.tech/coop-cloud/lasuite-docs/commit/124e6825ff3f3f90e0f1fa7e8ca4c80c576db027 it seems that `SECRET_DJANGO_EMAIL_HOST_PASSWORD_VERSION` was never added to the `.env` file? I don't know which version of `abra` you're running but on the latest "stable", when I try to generate the secrets without the version, it show: `FATA <app/secret.go:78> missing version for secret? ($name_of_secret)`. That's the only thing I can think of now. If you have more info or more reproduction steps, hit me up!
decentral1se moved this to Done in Abra v0.12 on 2025-11-04 14:33:47 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#692
No description provided.