Also, can you paste the output of fly images show ?
There’s a readonly.lock file that gets set during specific situations. You can manually clear it by ssh’ing into the Machine and doing the following:
su postgres
cd ~
rm readonly.lock
If your running an older version, it’s possible you’re hitting a bug. If that’s the case, you should consider updating to the latest version with fly image update.