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

Setting secrets doesn't work when a shell machine is created before app machines #3251

Open
benbjohnson opened this issue Feb 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@benbjohnson
Copy link
Contributor

benbjohnson commented Feb 8, 2024

Per @lillianberryfly:

$ fly secrets import <secrets
Secrets are staged for the first deployment
$ fly m run --shell [...]
[...]
$ fly secrets import <.env.production 
[WARNING] Your app doesn't have any Fly Launch machines, so we'll create one now. Learn more at 
https://fly.io/docs/apps/deploy/#machines-not-managed-by-fly-launch

Error: could not find image to use for deployment; backend error was: current release not found for app X
@benbjohnson benbjohnson added the bug Something isn't working label Feb 8, 2024
@rugwirobaker
Copy link
Contributor

I wasn't able to reproduce this but what I found out is the shell machine doesn't have any of the app's set secrets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants