Giter Club home page Giter Club logo

Comments (4)

giggls avatar giggls commented on September 27, 2024

Frankly I have no Idea what you are trying to do.

from openstreetmap-carto-de.

RobinKamps avatar RobinKamps commented on September 27, 2024

I tried to run the tile server via docker on win10.
Following the docker installation doc
the above errors occurred on docker-compose up import

from openstreetmap-carto-de.

giggls avatar giggls commented on September 27, 2024

Where did you get the Information from that this is running on Windows at all?
Despite running this fork which has never even been tested on Windows?
I consider this issue of-topic here.

from openstreetmap-carto-de.

RobinKamps avatar RobinKamps commented on September 27, 2024

Thank you for your very fast response - it will run in production on Linux anyways.
However - i found a solution.

The main issue was that postgres db had a timeout:

import_1   | Waiting for PostgreSQL to be running
import_1   | Timeout while waiting for PostgreSQL to be running
import_1   | psql: could not translate host name "db" to address: No address associated with hostname
import_1   | createdb: could not connect to database template1: could not translate host name "db" to address: No address associated with hostname
import_1   | osm2pgsql version 1.2.2 (64 bit id space)
import_1   |
import_1   | Osm2pgsql failed due to ERROR: Usage error. For further information see:
import_1   |    osm2pgsql -h|--help
import_1   |
import_1   | /usr/bin/env: 'python3\r': No such file or directory

Adding - POSTGRES_HOST_AUTH_METHOD=trust to the environment for service db and adding
restart: always to service import in docker-compose fixed this issue for me on win10.

from openstreetmap-carto-de.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.