I’ve been working on a side project called elys-app-v2 for the past couple of weeks, my application appears to be in a strange state where it simultaneously exists and doesn’t exist in the Fly.io system
what i know
I don’t recall deleting this application
I still have a valid Tigris volume associated with this app (confirming I’m not confusing names or directories)
This is a server application, and the user interface still references this now inexistent app
The Fly CLI recognizes there’s an app with my current fly.toml configuration
The CLI doesn’t show this application when I run fly apps list
Here where it gets weird.
When I try to create a new app with the same configuration:
# Attempting to launch a new app with the exact same configuration
> elys-app-v2 % fly launch --no-deploy
An existing fly.toml file was found for app elys-app-v2
? Would you like to copy its configuration to the new app? (y/N)
The CLI tells me there’s already an app with this .toml file. But when I try to deploy:
> laptop@MacBook-Air elys-app-v2 % fly deploy
==> Verifying app config
Validating elys-app-v2/fly.toml
✓ Configuration is valid
--> Verified app config
Error: Could not find App "elys-app-v2"
The fly launch command will give you this message purely on the basis of the existence of a file with that name. fly launch is intended to be run once per app lifetime, and as part of the command, the fly.toml file is created (which is used by fly deploy and various other flyctl commands).
In other words, is it possible you authored this file (or an AI tool for you), and fly launch is merely noticing it’s there?
All the other things you mention could unfortunately be true whether or not the app exists/ever existed. Nail in the coffin: I can’t find any app that has the substring elys-app in its name, and we don’t delete app rows from our db on deletion, we merely mark them as deleted.
I have an issue that might be related… I have a machine in ord and when I redeploy the app it says there’s no more capacity… when I check my machines, it’s missing.
I’m not specifying any strategy in my toml, so I’m assuming it’s the default rolling.
The current error is: failed retrieving current user: Post https://api.fly.io/graphql: dial tcp: lookup api.fly.io no such host.