-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot execute index step (BUILD.md) via Podman #21
Comments
(replace all Can you execute The What I'm doing with that command is very rudimentary docker-outside-of-docker, also known as docker-from-docker. If you can find a tutorial for doing that in WSL that might help modify the command enough to get it working but I don't have a windows box so I don't know if I can be much more help than this. |
This time I am using
Executing
I've read that Windows uses named pipes for communication between Podman client and service, so I don't need to specify anything? Not specifying that and running follows with the error (:
I have installed both Podman and Docker. Now I tried running the same command on Docker, but I could not mount
But I still get the same error:
I am really not sure what else I can do. |
I might add my final command and the stacktrace if this helps in any way. I hope you can still provide some guidance on what I could do.
|
I've made some progress by adding: Now all I see in the log is :
But nothing started to run on port
|
I don't know what's going on. :/ There should be a port-forward from 3102 to 3000. If you can't hit from the host that means the port forward isn't working. airmail/airmail_indexer/src/lib.rs Line 144 in 707880d
Can you try the Option 1 steps? Docker-from-docker is a weird edge case already and on WSL I have no idea how to debug it. You should be able to get cargo with rustup and run the spatial-custom container while staying on the WSL happy path. I guess when I wrote that Option 2 will work better on weird platforms I was thinking of Linux systems where some of the dependencies may have been hard to get, or the distro package manager gives you old versions or something. If you can get the dependencies it's always going to be easier to just build the index on the host. |
I installed Debian on my other laptop (I could only found 2GB USB flash drive, Fedora weights a bit more), did everything for the Option 1 steps, but the last command with cargo for indexing keeps throwing me that I've read that this context named P.S: As I understood this will create index files under index directory, later I'll be able to run airmail-service anywhere by providing the index folder, not only on fedora? Also, does this allow reverse geocoding, not only geocoding? Thank you for the help. I hope I can run this. |
I've installed Fedora. Followed all steps again until indexing via And then logs start to show: Sometimes it says not I've tried several times with the same results. I am using P.S: Trying the URL in browser which is shown as failed in logs works fine - 200 result, empty JSON. |
I'd expect empty JSON for lat/lng pairs outside of Chile if that's the WOF extract you're using. These warnings are also normal. It's hitting the spatial server with thousands of requests per second so a few dropped queries here and there is expected. If I remember right, I retry on failure so I think this should be fine. Have you tried running it to completion and looking into the index directory? Or does it crash? |
It does not crash, it just spams that messages every some seconds. It was running on my laptop almost for 2 days without finishing, not sure how long remains or what's happening. I can't imagine how long will it take for the whole world to index. Maybe I need to build this on VPS, because it's taking forever on my PC, not sure. I will see what I can do, if anything. |
Hello,
I was following BUILD.md and the last step before starting the service was to execute:
Since chcon is not available on Windows (10), I modified to:
I've built all Dockerfiles successfully, images and the folders where generated and filled with necessary data:
However, I get an error:
The text was updated successfully, but these errors were encountered: