Power outage, suddenly my docker postgres is screwed? #1277
Closed
maxiedaniels
started this conversation in
General
Replies: 1 comment
-
Fixed! I should leave this here in case anyone experiences this: The fix was running pg_resetwal -f on the database dir. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using unraid with the docker image of postgres. Here's the errors i'm getting:
My configuration has been working for months and i haven't touched the setup.
My binds:
/mnt/cache/databases/postgresql/13/main -> /var/lib/postgresql/data
/mnt/cache/databases/postgresql -> /postgresdb
The only advice i see for this issue (not docker specific) is to create the 13-main.pg_stat_tmp directory. But as far as i understand it, that folder isn't within a mounted point and is just in the docker postgres image, no? So it feels like the solution can't be to go into an area that's supposed to be static on the image to create a folder.
Any idea why postgres is getting jammed up??
Beta Was this translation helpful? Give feedback.
All reactions