OpenPlaceGuide / openplaceguide

Main organizational Repository for OpenPlaceGuide (formerly known as Open Business Map) - OpenStreetMap-based business directory
https://www.openplaceguide.org/
GNU Affero General Public License v3.0
2 stars 1 forks source link

Setup africa.tiles.openplaceguide.org #13

Closed amenk closed 1 year ago

amenk commented 2 years ago

[x] basic installation [ ] auto restart services on reboot [ ] put updater into supervisord job

amenk commented 2 years ago

Server created, Hetzner Cloud ~CPX21~ (too small) CPX31

amenk commented 2 years ago

Docker installed:

https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

amenk commented 2 years ago

install compose:

https://docs.docker.com/compose/install/

amenk commented 2 years ago

Install makina maps in /srv as per https://github.com/makina-maps/makina-maps

amenk commented 2 years ago

apt install make

amenk commented 2 years ago

In openmaptiles/.env set BORDER_CLEANUP=true

amenk commented 2 years ago
root@tiles:/srv/makina-maps/openmaptiles# PROVIDER=osmfr ../scripts/20-import-prepare.sh africa
amenk commented 2 years ago

in screen session!

root@tiles:/srv/makina-maps/openmaptiles# time area=africa ../scripts/30-import-extract.sh 
amenk commented 2 years ago

Import seems successfull:

real 147m44.779s user 0m13.602s sys 0m2.291s

amenk commented 2 years ago

server deleted, was only for testing this time (used 85GB SSD)

amenk commented 2 years ago

Setting up again, same steps. docker-compose is now deprecated, still using it ... (apt install docker-compose)

amenk commented 2 years ago
*** ERROR detected, aborting:
psql:/sql/parallel/water__waterway.sql:10: ERROR:  relation "osm_ocean_polygon" does not exist
make: *** [Makefile:414: import-sql] Error 1

real    81m29.121s
user    0m2.559s
sys     0m0.466s

real    81m51.548s
user    0m5.774s
sys     0m0.918s

looks like i forgot the prepare??

amenk commented 2 years ago

10-import-generic was missing

amenk commented 2 years ago

CNAMES

a.africa.tiles.openplaceguide.org b.africa.tiles.openplaceguide.org c.africa.tiles.openplaceguide.org

amenk commented 1 year ago

basically done