Fly Postgres database down after upgrading RAM and can't restore from snapshot

Upgraded the RAM on one of our Fly Postgres databases according to the Fly docs earlier - now it wont start up with the following errors in logs:

2024-06-17T13:45:44.007 app[] lhr [info] postgres | 2024-06-17 13:45:44.004 UTC [23779] LOG: database system shutdown was interrupted; last known up at 2024-06-17 13:45:43 UTC

2024-06-17T13:45:44.020 app[] lhr [info] postgres | 2024-06-17 13:45:44.019 UTC [23779] LOG: database system was not properly shut down; automatic recovery in progress
2024-06-17T14:06:54.658 app[] lhr [info] postgres | 2024-06-17 14:06:54.658 UTC [21518] PANIC: could not flush dirty data: Structure needs cleaning

It doesn’t seem like automatic recovery is working, so I tried to create a new database from a snapshot and got the following error:

Error:  "Failed to resolve source machine from snapshot."

Has anyone had this issue before/know how to fix this? It would be fine if we could at least have it from a snapshot.

Update: managed to get it working by creating a fork from the volume.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.