-
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
Hosted docker version giving error (NoShardAvailableActionException) #787
Comments
I did try doing as suggested in this discussion post, and now it doesn't work locally on mac ( i.e. updating |
I'm facing a similar problem.
Strangely enough, downloading the same index on my personal laptop and launching dockerfile with the volume pointing to my laptop, everything is working like a charm. |
See #717 for a workaround. I suspect we should be doing some additional syncing before shutting down the server after import. It probably works well most of the time and only fails when storage is especially slow for some reason. |
Thanks for the tip, add the two lines fixes the launching problem for me ! Also, with the persistent volume, performance where horrible (all requests timed-out or 20/30s long) |
Good to hear. Please leave the issue open. This really needs some changes in the code and I don't want to forget again. |
When using self-compiled version (Elastic search) from commit f55d1df the same error still seems to happen after a restart (maybe, if querying Photon to soon?). After some seconds though, Photon is usable again (so not that big of a deal..?)! Happened on Windows, in a VirtualBox VM (without Docker!). Log output:
|
Background
Ton Snoei
to create my own docker file https://tonsnoei.nl/en/post/2023/03/20/set-up-your-own-geocoder-api/Docker file
andentrypoint.sh
at end.Azure File Share
to persist the data, that is mounted to/photon/photon_data
pathProblem
start photon
in output (which is after everything is downloaded) it throws an error.docker file
entrypoint.sh
The text was updated successfully, but these errors were encountered: