-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install shape files while building docker #181
Comments
The external URL isn't available anymore and therefore it fails. The newest carto version 5.3.1 changed the URL to use another source: But they also renamed the script name that needs to be called with version 5.3.0 from openstreetmap-tile-server/Dockerfile Line 130 in 75e7714
|
Hi,
Thank you for your answer.
I tried that already.
Installed pip to get the python3’s package update to make the scripts/get-shapefiles.py run. But new errors are occurring.
Traceback (most recent call last):
File "./scripts/get-external-data.py", line 294, in <module>
main()
File "./scripts/get-external-data.py", line 192, in main
psycopg2.connect(database=database,
File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
The Postgres needs to be running and configured.
# ./scripts/get-external-data.py
Traceback (most recent call last):
File "./scripts/get-external-data.py", line 294, in <module>
main()
File "./scripts/get-external-data.py", line 192, in main
psycopg2.connect(database=database,
File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL: role "root" does not exist
Are you planning an update of your package ?
P.
… Le 28 avr. 2021 à 18:44, Robin C. Ladiges ***@***.***> a écrit :
The external URL isn't available anymore and therefore it fails.
The newest carto version 5.3.1 changed <gravitystorm/openstreetmap-carto@396778b#diff-cea0c5554020ead8c74ea96861663b7c1a8cf4058ef9e9b0f2d58b8a38e1947a> the URL to use another source:
https://naciscdn.org/naturalearth/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip <https://naciscdn.org/naturalearth/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip>
But they also changed the script name <gravitystorm/openstreetmap-carto@6782400#diff-40def9a8c3707b1957f5cec30f808df5518f7ae5528d681822a3abd9fb582d6d> that needs to be called with version 5.3.0 from scripts/get-shapefiles.py to scripts/get-external-data.py. So, that needs to be changed in the Dockerfile too:
https://github.com/Overv/openstreetmap-tile-server/blob/75e7714f200cf452bfbe2f249453125632773e48/Dockerfile#L130 <https://github.com/Overv/openstreetmap-tile-server/blob/75e7714f200cf452bfbe2f249453125632773e48/Dockerfile#L130>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#181 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA5BOOBA35CLADVMJQKQTPTTLA3ONANCNFSM43XHWP6Q>.
|
Ah, ok, it needs the database running. openstreetmap-tile-server/run.sh Lines 36 to 83 in 75e7714
When you get it to work again with the new version, you can send in a pull request with your changes. @Overv will probably be happy to merge the fix. There is already pull request #176 that tries to update |
Hi.
I used to be able to install the docker, but now, I'm running into the following issue:
I'm downloading files from git
I execute the command "make test"
=>There's an error while downloading the file:
http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip
I've tried to upgrade manually the Dockerfile to the newest version openstreetmap-carto 5.3.1 without success so far.
Please advise.
P.
The text was updated successfully, but these errors were encountered: