jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.04k stars 340 forks source link

Instructions to resume/restart install #1

Closed gedankenstuecke closed 6 years ago

gedankenstuecke commented 6 years ago

I ran the installer but it crashed after the miniconda install as my minimal Ubuntu VM didn't have git installed yet (oooops!).

After installing git I re-ran the installer command but it crashed:

+ chmod +x /tmp/miniconda-installer.sh
+ MD5SUM=a946ea1d0c4a642ddf0c3a26a18bb16d
+ echo 'a946ea1d0c4a642ddf0c3a26a18bb16d  /tmp/miniconda-installer.sh'
+ md5sum --quiet -c -
+ bash /tmp/miniconda-installer.sh -b -p /opt/tljh/hub
ERROR: File or directory already exists: '/opt/tljh/hub'
If you want to update an existing installation, use the -u option.

Deleting that folder fixes the problem but I wonder whether it would be better to check for the presence of the folder and run it with -u instead?

gedankenstuecke commented 6 years ago

(And yeah, that's a function of me being not clever enough to run an 18.04 image, in which case that wouldn't have happened at all.