-
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
Docker build fails #63
Comments
@allenmichael099 (in case you want to follow along) Trying to downgrade since this is currently broken. Downgrading
Rebuilding, failed while trying to install package remotes
Commented out the DTEdit lines
|
Upgraded mapview to 2.10.0. worked!
|
Restoring DTEdit, fails again
|
We wondered if the default download timeout was too low, so Shankari is attempting to build with an altered timeout. Based on this from https://search.r-project.org/R/refmans/utils/html/download.file.html:
And from https://stackoverflow.com/questions/35282928/how-do-i-set-a-timeout-for-utilsdownload-file-in-r, I think we just need to alter timeout within the options call, setting to whatever number of seconds we want
|
Fixed the error
But still ran into a timeout/install issue
Trying after upping the timeout. |
Got past that point, but failed again. I wonder if there are limitations on disk size. Failed again during download
|
Aha! And the successfully built image is only 3GB.
|
Going back to the successfully built image (checkout to 72340fb and remove the DTEdit stuff) It built again successfully
And manually installing the packages works docker run followed by copy/pasted R script
|
Trying to go to master again Installing fails
Installing without `remotes::install_local(upgrade="never")'` succeeds
Trying to install within the container instead of image build fails while installing crosstalk
And in attempt
And, even after switching to the mounted drive, and increasing the timeout, fails in contrib
And in every one of the failures, we were partway through downloading a file, the download failed, and then we got the error about the downloaded length
So it looks like the problem is really with the network downloads failing randomly. That is the main difference between:
|
Trying to workaround by creating the docker container with dependencies from 72340fb and then switching to master and running error
giving up at this point since I am not sure whether or not this is related to docker. |
Final try: Created an instance from the published image
Tried to run from the mounted directory, it failed with the same error (`"sf_column") does not point to a geometry column.`)
|
Final final try (run the image directly), @asiripanich this still fails with the same error:
|
Bad news.. I no longer can build images on Docker Hub. Their free tier benefits have changed. Only paying customers are allowed to use their CI. |
@asiripanich we can use github packages instead. But I don't think that the most recent error is related to building images. I can use the published image since there have not been any docker changes since then, mount my local directory, rebuild and re-run. But I'm still getting the error above, and the only issues related to it that we can find seem to be about importing sf correctly. |
Fortunately, we got the bright idea of trying with the docker image on @allenmichael099's laptop, and we have now narrowed this down to a data issue.
I'm going to try to dump my database so we can see if we can reproduce this on Michael's laptop and figure out the data issue. This is no longer a docker build issue, so tracking this in #68 |
The current docker build on master fails.
It gets past all of the initial steps correctly,
but fails on the last step due to some download errors?
Here is a more detailed log of that step
The text was updated successfully, but these errors were encountered: