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

Unable to install Pelias #308

Open
hznor opened this issue Jan 30, 2023 · 8 comments
Open

Unable to install Pelias #308

hznor opened this issue Jan 30, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@hznor
Copy link

hznor commented Jan 30, 2023

Unable to install Pelias docker with instructions given in README.md for portland-metro.

Installation is failing at stage : "pelias download all", because two URLs are broken in the file: "pelias.json".

These two URLs are:

To continue the installation I have replaced these URLs by these ones :

Even though I have then be able to complete the stage : "pelias download all", I have been stuck at the stage : "pelias prepare all"

hznor@local:~/pelias/docker/projects/portland-metro$ pelias prepare all
/home/hznor/pelias/docker
/home/hznor/pelias/docker/lib/cli.sh
/home/hznor/pelias/docker/lib/env.sh
/home/hznor/pelias/docker/cmd/docker.sh
/home/hznor/pelias/docker/cmd/download.sh
/home/hznor/pelias/docker/cmd/elastic.sh
/home/hznor/pelias/docker/cmd/import.sh
/home/hznor/pelias/docker/cmd/prepare.sh
/home/hznor/pelias/docker/cmd/system.sh
/home/hznor/pelias/docker/cmd/test.sh
/usr/lib/python3/dist-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
/usr/lib/python3/dist-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
Creating extract at /data/placeholder/wof.extract
no *.pbf files found in /data/openstreetmap directory
/usr/lib/python3/dist-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
import...
populate fts...
optimize...
close...
Done!
/usr/lib/python3/dist-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
error: no .pbf files found in /data/openstreetmap
@hznor hznor added the bug Something isn't working label Jan 30, 2023
@missinglink
Copy link
Member

Duplicate of #293 (comment)

@missinglink missinglink marked this as a duplicate of #293 Jan 30, 2023
@hznor
Copy link
Author

hznor commented Jan 30, 2023

@missinglink The issue is different here:
After having updated the broken links in pelias.json, I still can't complete the installation since no .pbf files are found.

@missinglink
Copy link
Member

Agh I've never seen these CryptographyDeprecationWarning: Blowfish warnings before 🤔

@hznor
Copy link
Author

hznor commented Jan 30, 2023

"error: no .pbf files found in /data/openstreetmap

Maybe the input files I have found to fix the broken links are incorrect?
Do you know which ones I should use instead to test it in the same conditions as you do?

@missinglink
Copy link
Member

I'm not 100% clear on where this error is coming from since it's a python script and Pelias itself doesn't use python.

Maybe it's coming from docker-compose?

see: paramiko/paramiko#2038 (comment)

@missinglink
Copy link
Member

It might also be that this message is only a warning and not the cause of the missing PBF files.

Are you able to download those files manually?

@hznor
Copy link
Author

hznor commented Jan 30, 2023

I could download them manually yes, but it seems that the installation scripts do not support http redirections.

I have been able to execute the stage: "pelias prepare all" after having changed the previous link by:
https://raw.githubusercontent.com/rafapereirabr/otp-travel-time-matrix/master/portland_oregon.osm.pbf

@missinglink
Copy link
Member

FYI @hznor #309

note: the C-TAN data you found is from 2016.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants