Issues creating and deleting Upstash Redis databases

Hi, I think I’m experiencing Upstash / CLI sync issues as others have previously reported.

I tried to create a free instance with a custom name earlier and received this error (org/db names changed):

? Select Organization: My Org (my-org)
? Choose a Redis database name (leave blank to generate one): my-custom-name
? Choose a primary region (can't be changed later) London, United Kingdom (lhr)

Upstash Redis can evict objects when memory is full. This is useful when caching in Redis. This setting can be changed later.
Learn more at https://fly.io/docs/reference/redis/#memory-limits-and-object-eviction-policies
? Would you like to enable eviction? Yes
? Optionally, choose one or more replica regions (can be changed later):
? Select an Upstash Redis plan Free: 100 MB Max Data Size
Error returned error 500 Internal Server Error: {"errors":[{"message":"You hit a Fly API error with request ID: 01GMTYMH6DH1BBTS1SF3FRSMT3-lhr","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GMTYMH6DH1BBTS1SF3FRSMT3-lhr"}}],"data":{}}

No database was created. I then tried again, accepting the auto-generated database name, and that succeeded. I then tried to delete the database which was created, because I want to use a custom name:

$ fly redis delete withered-violet-2146
Deleting a redis instance is not reversible.
? Destroy redis instance for app withered-violet-2146? Yes
Error returned error 500 Internal Server Error: {"errors":[{"message":"You hit a Fly API error with request ID: 01GMTYW0XWDT1CYAKERFZHZHF2-lhr","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GMTYW0XWDT1CYAKERFZHZHF2-lhr"}}],"data":{}}

The database still appears in the list:

$ flyctl redis list
map[eviction:true]
NAME                	ORG          	PLAN	EVICTION	PRIMARY REGION	READ REGIONS
withered-violet-2146	climb-bandits	Free	Enabled 	lhr

Running delete again still fails, but with a different message:

$ fly redis delete withered-violet-2146
Deleting a redis instance is not reversible.
? Destroy redis instance for app withered-violet-2146? Yes
Error input:3: deleteAddOn database not found

I can’t view this database in the web dashboard (I get redirected, and a “database not found” error) so it appears to be in some half-deleted state. And indeed, when I try to create another free instance, I get:

Error input:3: createAddOn You may only provision 1 Free plan per organization

@jsierles – you managed to quickly sort things for the two posters linked above. Hope you can do the same for me! :slight_smile: My objective is to be able to remove this erroneous free instance and to create my own with a custom name.

Thanks!

Hey, sorry for the trouble. We had to upgrade our database and API the choked for a moment. I cleaned up the DB instance, so you should be good to go.

There’s some work on the way to prevent this when adding/removing Redis instances. Thanks!

Wow, that was fast. All sorted, thanks!

I am getting exactly the same issue, without no luck solving it. I have tried fly redis delete my-redis and this is what I get Error: input:3: deleteAddOn database not found

You should now be able to delete your database now @nathaniel.

all good, thanks!