[openstreetmap/openstreetmap-website] Docker db problem (#3312)
Seth Deegan
notifications at github.com
Mon Sep 6 21:01:25 UTC 2021
This first line here seems to be the problem.
```
/usr/local/bin/docker-entrypoint.sh: /docker-entrypoint-initdb.d/openstreetmap-postgres-init.sh: /bin/bash^M: bad interpreter: No such file or directory
2021-09-05 15:04:35.412 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-09-05 15:04:35.412 UTC [1] LOG: listening on IPv6 address "::", port 5432
2021-09-05 15:04:35.417 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-09-05 15:04:35.430 UTC [26] LOG: database system was interrupted; last known up at 2021-09-05 14:58:13 UTC
2021-09-05 15:04:35.686 UTC [26] LOG: database system was not properly shut down; automatic recovery in progress
2021-09-05 15:04:35.688 UTC [26] LOG: redo starts at 0/16506A0
2021-09-05 15:04:35.688 UTC [26] LOG: invalid record length at 0/1650790: wanted 24, got 0
2021-09-05 15:04:35.688 UTC [26] LOG: redo done at 0/1650748
2021-09-05 15:04:35.688 UTC [26] LOG: last completed transaction was at log time 2021-09-05 14:58:13.571741+00
2021-09-05 15:04:35.703 UTC [1] LOG: database system is ready to accept connections
2021-09-05 15:04:43.071 UTC [33] FATAL: role "openstreetmap" does not exist
```
I don't get how it can't find the file. It literally exists:

I even tried rebuilding the image and it doesn't work.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3312#issuecomment-913851142
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210906/3b796bee/attachment.htm>
More information about the rails-dev
mailing list