“fly postgres create” stucks on the step of setting secrets
Hey! We are looking into it. Is this the same error you see:
~$ fly pg create
? Choose an app name (leave blank to generate one):
? Select Organization: Daniel Graña (personal)
? Select regions: Santiago, Chile (scl)
? Select configuration: Development - Single node, 1x shared CPU, 256MB RAM, 1GB disk
Creating postgres cluster in organization personal
Creating app...
Setting secrets...
Error Could not find App
It’s a bug. Choose an app name and don’t leave it blank.
I didn’t leave it blank.
How it started for me:
- I created my first postgres db on the platform sucessfully
- I deleted it
- I tried to create a new one - issue started to happen
This issue will be fixed in the latest release. Meanwhile, if you specify a name like @dangra says, it should work, like:
fly pg create -n my-cluster-name
@Heiki Can you run flyctl version
and paste the output?
fly v0.0.420 darwin/arm64 Commit: 977028ba BuildDate: 2022-10-25T14:38:41Z
I updated flyctl
but still facing the same issue
Does it timeout after a while and show some stacktrace or any other helpful information?
it doesn’t it stucks without any output
~ fly pg create -n dev-db2 ✔ │ 19:11:45
automatically selected personal organization: Dima
? Select region: Amsterdam, Netherlands (ams)
For pricing information visit: https://fly.io/docs/about/pricing/#postgresql-clu
? Select configuration: Development - Single node, 1x shared CPU, 256MB RAM, 1GB disk
Creating postgres cluster in organization personal
Creating app...
Setting secrets on app dev-db2...
Can you try with LOG_LEVEL=debug
? That should give you some more information about where things are getting stuck.
? Select region: Amsterdam, Netherlands (ams)
For pricing information visit: https://fly.io/docs/about/pricing/#postgresql-clu
? Select configuration: Development - Single node, 1x shared CPU, 256MB RAM, 1GB disk
Creating postgres cluster in organization personal
Creating app...
...
DEBUG --> POST https://api.fly.io/graphql
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (771.94ms)
{
"data": {
"setSecrets": {
"release": null
}
}
}
DEBUG --> POST https://api.fly.io/graphql
{
"query": "mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }",
"variables": {
"input": {
"peerIps": []
}
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (124.93ms)
{
"data": {
"validateWireGuardPeers": {
"invalidPeerIps": []
}
}
}```
any updates on this issue?
This has been fixed in the lastest version of flyctl
I still have the issue(
version of flyctl:
flyctl v0.0.424 darwin/arm64 Commit: d78c6f3c BuildDate: 2022-10-27T20:12:34Z
Can you post the entire debug output? Or, is what you posted all of it? There may be a problem here with your wireguard connection. You could try fly wg websockets enable
and running the command again.
after reinstalling the flyctl
and running fly wg websockets enable
it finally worked.
Thank you!