-
Notifications
You must be signed in to change notification settings - Fork 336
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
Do we need to set umask 0o022? Not doing so could cause subsequent issue: jupyterhub-singleuser: not found #418
Comments
Same issue here... |
Still an issue. This does not work: vagrant init ubuntu/bionic64
vagrant up
vagrant ssh
sudo su -
apt install python3 python3-dev git curl
curl https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/bootstrap/bootstrap.py | sudo -E python3 - --admin vagrant |
My problem was the umask was set incorrectly. The above instructions do work. |
@robnagler #554 worked for me. Steps to resolve the issue:
|
This issue can perhaps be resolved by a one-liner: #554 (comment) |
Background to questionWhen TLJH automatically installs some packages, it subsequently runs
the-littlest-jupyterhub/tljh/conda.py Lines 130 to 140 in 2d6d970
QuestionShouldn't we do something to ensure a normal user that does a Is that something to apply a 0o022 umask? @minrk @yuvipanda this is beyond my knowledge domain. I've never considered #554 suggested setting a umask explicitly to 0o022 for when the bootstrap.py + TLJH python code is executing, but I figure it would also need to be set so it influences the user environments where they may do |
I just installed TLJH on a Ubuntu server 18.04, falling the steps in http://tljh.jupyter.org/en/latest/install/custom-server.html. Note that this is a Ubuntu Server (not Desktop) probably without X-windows etc.
I was able to see the login interface and login to create the first admin user. But after that, the server always gives a
Spawn failed: Timeout
error. Detailed logs are at the bottom. It seems the error is:I tried to edit
/etc/systemd/system/jupyterhub.service
and add the/opt/tljh/user/bin
to the PATH, to no avail.I did the same on a LUbuntu 18.04 Desktop VM, and everything was fine.
I was wondering if the installation instructions should be any different for Ubuntu server?
And how should this error be fixed?
Thanks,
systemd logs:
The text was updated successfully, but these errors were encountered: