-
Notifications
You must be signed in to change notification settings - Fork 294
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
500 Internal error #130
Comments
What is the URL of the api call that you made? |
http://localhost:2322/api?q=berlin and here is the error message about missing index. Thanks!
|
which version are you using? |
Followed the instruction on the front page https://github.com/komoot/photon, so 0.1.2?
|
Another user encountered the same error some days ago and we haven't found the reason yet. It could be related to missing read write permission of the data directory. Could you please check the permissions of the files? |
The permission of the folder is 0755. I got this working. The issue is the index included in So, I just simply removed |
good catch @bianjiang ! the index defined in the source code does not match with the one in the precompiled data anymore. We will soon release a next version in which we fix this issue, thanks for your investigations! |
Hello I have the same error. I find under
I'm using Win10. |
For questions please use the mailing list. Please use photon-0.3-alpha1.jar for db-latest. |
When I'm using photon-0.3-alpha2.jar I'm getting this error:
|
Sorry for this. Can you please try the freshly released photon-0.3-beta2.jar? And if you try please use a data dir that contains the photon_data java -jar photon-0.3-beta2.jar -data-dir download |
My Database is in folder here:
|
How large is your photon_data folder? |
98.5 GB |
Strange. Maybe our import went wrong. What if you add |
If i add this I'll get the same error as above. |
Ok, let me try this from scratch. What JDK and OS do you have? |
Java Version 8 Update 162 OS = Windows 10 Version 1709 |
Can you try the smaller area that worked for me: wget -O - http://download1.graphhopper.com/public/photon-db-nl-180122.tar.bz2 | bzip2 -cd | tar x
java -jar path/photon-0.3-beta2.jar
# on a separate cli try:
curl 'localhost:2322/api?q=amsterdam' |
It works. With the smaller area it works. |
Can you try to re-download the world wide data? |
I'll do that tomorow cause downloading the whole area lasts 4-5 hours. But thanks for your time and interest. |
So I have redownloaded it over night and it works fine now. Again thank you for the time!!! |
Thanks for your confirmation! (It could be that the old version somehow corrupted the files or that the download was not 100% complete somehow) |
Try to use the existing index from http://photon.komoot.de/data/photon_data_140706.tar.bz2, but it gives 500 Internal error when calling the api.
The search index from http://photon.komoot.de/data/photon_data_140706.tar.bz2 is invalid?
Tried on two different machines. Both Mac through.
Thanks,
The text was updated successfully, but these errors were encountered: