You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2023. It is now read-only.
If you created an app (e.g. app-name is test-app-mlem and deployment file is app-first.mlem), but want to use the same fly app (app name) in a different deployment (e.g. app.mlem), you're getting this error.
$ mlem deploy run flyio app.mlem -m model --app_name test-app-mlem --env.org personal --org personaldsa
💾 Saving deployment to app.mlem
⏳️ Loading model from model.mlem
Error: prompt: non interactive
❌ Command '['flyctl', 'launch', '--auto-confirm', '--region', 'lax', '--no-deploy', '--name', 'test-app-mlem', '--org', 'personaldsa']' returned
non-zero exit status 1.
It happens because flyctl asks you to confirm re-deployment. But the error doesn't explain itself anyhow - you'll be left wondering what happened.
The text was updated successfully, but these errors were encountered:
@aguschin I can pick this up. flyctl has a flag --reuse-app which can be used to Continue even if app name clashes with an existent app. I think this has a side-effect but with the non interactive mode the other option is just to show better errors from the flyctl output.
@aminalaee, I think using it is fine TBH. Let's apply --reuse-app then.
For the reference, we had an extensive discussion about that in #463, but I don't think we have the capacity to implement it soon, so your suggestion LGTM.
If you created an app (e.g.
app-name
istest-app-mlem
and deployment file isapp-first.mlem
), but want to use the same fly app (app name) in a different deployment (e.g.app.mlem
), you're getting this error.It happens because
flyctl
asks you to confirm re-deployment. But the error doesn't explain itself anyhow - you'll be left wondering what happened.The text was updated successfully, but these errors were encountered: