im trying to setup the server but im getting this error and i dont know how to make this work, i installed and run the server yesterday but today i couldnt run the container so i deleted the image volume and container but when i try again i get this error:
``listen_addresses = '*'
autovacuum = on
service postgresql start
Starting PostgreSQL 15 database server
Error: /usr/lib/postgresql/15/bin/pg_ctl /usr/lib/postgresql/15/bin/pg_ctl start -D /var/lib/postgresql/15/main -l /var/log/postgresql/postgresql-15-main.log -s -o -c config_file="/etc/postgresql/15/main/postgresql.conf" exited with status 1:
2024-04-21 08:52:12.587 UTC [38] LOG: starting PostgreSQL 15.3 (Ubuntu 15.3-1.pgdg22.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, 64-bit
2024-04-21 08:52:12.587 UTC [38] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-04-21 08:52:12.587 UTC [38] LOG: listening on IPv6 address "::", port 5432
2024-04-21 08:52:12.589 UTC [38] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-04-21 08:52:12.593 UTC [41] LOG: database system was interrupted; last known up at 2024-04-21 05:40:56 UTC
2024-04-21 08:52:12.772 UTC [41] LOG: invalid resource manager ID in primary checkpoint record
2024-04-21 08:52:12.772 UTC [41] PANIC: could not locate a valid checkpoint record
2024-04-21 08:52:13.071 UTC [38] LOG: startup process (PID 41) was terminated by signal 6: Aborted
2024-04-21 08:52:13.071 UTC [38] LOG: aborting startup due to startup process failure
2024-04-21 08:52:13.072 UTC [38] LOG: database system is shut down
pg_ctl: could not start server
Examine the log output.
...fail!
` this is the command i use: wget https://download.geofabrik.de/asia/iran-latest.osm.pbf
sudo docker volume create osm-data
sudo docker run -v /home/renderaccount/iran-latest.osm.pbf:/data/region.osm.pbf -v osm-data:/data/database/ overv/openstreetmap-tile-server import`
im trying to setup the server but im getting this error and i dont know how to make this work, i installed and run the server yesterday but today i couldnt run the container so i deleted the image volume and container but when i try again i get this error: ``listen_addresses = '*' autovacuum = on
` this is the command i use:
wget https://download.geofabrik.de/asia/iran-latest.osm.pbf sudo docker volume create osm-data sudo docker run -v /home/renderaccount/iran-latest.osm.pbf:/data/region.osm.pbf -v osm-data:/data/database/ overv/openstreetmap-tile-server import`