Skip to content
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

Error about uploading osm.pbf file externally #604

Open
thundersoft90 opened this issue Feb 28, 2025 · 5 comments
Open

Error about uploading osm.pbf file externally #604

thundersoft90 opened this issue Feb 28, 2025 · 5 comments
Labels

Comments

@thundersoft90
Copy link

thundersoft90 commented Feb 28, 2025

Hi,

I am a GIS enthusiast who wants to use your software. When I upload a osm.pbf file through the code of sudo docker run -it -e PBF_PATH=/nominatim/data/turkey-latest.osm.pbf -p 8080:8080 -v ~/osm-maps/data/:/nominatim/data --name nominatimer23 mediagis/nominatim:4.5 It loads the file as far as I follow from the logs as follows. But when i try to open it from browser via browser I see a blank page as you can see at the second image.

On the other hand, When I use download option. I can succesfully obtain results which can be seen at the most bottom image

Would you please assist me to get over this circumstance ?

Thanks in Advance,

Image Image Image
@mtmail
Copy link
Contributor

mtmail commented Feb 28, 2025

Good to see the JSON data output works.

What are you expecting on the first image?

The website you see on https://nominatim.openstreetmap.org/ is a separate project. It can also be installed and then configured to use your URL https://github.com/osm-search/nominatim-ui/

@thundersoft90
Copy link
Author

thundersoft90 commented Feb 28, 2025

Hi,

It is working with downloading data option. Such as docker run -it \ -e PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf \ -e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/ \ -p 8080:8080 \ --name nominatim \ mediagis/nominatim:4.5 But When I try to upload my own osm.pbf file such as sudo docker run -it -e PBF_PATH=/nominatim/data/turkey-latest.osm.pbf -p 1984:8080 -v ~/osm-maps/data/:/nominatim/data --name nominatimer23 mediagis/nominatim:4.5 . It returns nothing

Would you please advise me to get rid of this circumstance ?

Image

@mtmail
Copy link
Contributor

mtmail commented Feb 28, 2025

It loads the file as far as I follow from the logs as follows.

Do you have an errors in the logs? Does it fully finish? What are the last lines in the logs?

@thundersoft90
Copy link
Author

Hi,

I created a stronger server with 10 GB RAM and 4 Core with 400GB SSD storage. But result is the same. It doesn't produce output as you can see at the last image.

Image Image Image Image

@mtmail
Copy link
Contributor

mtmail commented Feb 28, 2025

Has the import finished? What are the last lines of the log file? Ideally post the text, not photos of text.

"Finished rank 15" is maybe half of the import. You need to wait until all steps are finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants