App exists... but doesn't exist at the same time?

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

what is not working

  • The app doesn’t appear in my Fly.io dashboard
  • The app is completely inaccessible
  • 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"

I get an error saying the app doesn’t exist.

Is there a way to verify this issue actually exists, or should I just accept that im going crazy and the app never existed and accept fly gaslight?

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.

Just to clarify, elys-app isn’t the real app name - I used it as a placeholder for this post.

I’ll move forward and redeploy the app with Litestream using the same configuration. If this issue happens again, I’ll reference this post.

and thanks for taking a look! :slight_smile:

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.

What’s your deploy strategy?

Currently just fly deploy --local-only

Ah sorry, I mean deploy strategy, e.g. rolling, bluegreen, canary.

Also, any chance you can copy/paste the output here for one of these deploys?

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.

NM my Internet is down at the moment