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
(Selfsinged) Certificates can't be installed #69
Comments
@Someone894 Thanks for reporting this issue! I will try to fix this as soon as possible.
Probably not a lot if it works fine with tools like RStudio. I will check this and maybe update it in the next release. |
I took some time and started to research on this topic. As you can see below, it makes a difference if you run it on an root bash or on an root bash via
As you can see here:
the |
Hey @Someone894, thanks for reporting this! So, the root cause seems to be line 181 in script
A quick fix in your workspace is to execute either:
|
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
a temporary hack solution add a hook before install
it works on my build thanks for @raethlein 's idea |
With the most recent workspace version the certificate problem seems to be solved. |
I still ran into the same problem. |
Hey @shism2, which workspace version do you use? |
@raethlein Ah okay makes sense. I'm using the latest public one. Nevermind then. @raethlein Where do I add "RUN echo "post-invoke=sed -i 's@exec test@exec /usr/bin/test@g' /usr/sbin/update-ca-certificates" > /etc/dpkg/dpkg.cfg.d/update-ca-certificates"? I tried adding into the dockerfile but that just led to a couple hours of trying to figure out why docker wouldn't build it. |
Alright, so maybe it is fixed :) In case it is fixed, you should be able to just pull the newest version and build that (which basically is version 0.13.0) without the need to add anything. If the problem still is there, I think the line belongs before the |
@raethlein Thanks. Do you know when 0.13.0 will be released? |
@shism2 Sorry for the delayed answer, but I am glad to point out now that @LukasMasuch released version 0.13.2 tonight 🙂 In case you find some time to try out the new version, please let us know in case you still encounter the certificate issue. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
Hello,
some days ago I found your wonderful ml-workspace image.
You're doing great work with this image :-)
While testing it out I found a bug.
I suppose that this is a operating-system issue, where you can't really do anything about it, but I'd still like to report it.
When I create an container via:
As you can see I'm using selfsinged certificate mode, since no certificate volumn is mapped.
I get this log file:
As you can see the
update-ca-certificates
causes a crash. After about 5 min the system keeps going and runs into the nex issue sine the path/opt/conda/envs/python2/lib/python2.7
does not exsist.I suppose this old python 2.7 path is no longer valied since you're using Python 3.X so I'm not that bothered by it.
But the
update-ca-certificates
-Bug leads to me beeing unable to install e.g. RStudio within the container.I Hope that using another Ubuntu base image will fix this issue.
B.t.w. is it a lot of work for you to upgrade yout R 3.6.1 to the R 4.0.3 Version?
Thanks for you wunderfull Software.
The text was updated successfully, but these errors were encountered: