diff --git a/scripts/notebook_entrypoint.sh b/scripts/notebook_entrypoint.sh index 3914bdb..2b9dc91 100644 --- a/scripts/notebook_entrypoint.sh +++ b/scripts/notebook_entrypoint.sh @@ -30,7 +30,7 @@ elif [ "$JUPYTER_MODE" = "jupyterhub" ]; then # unset global $NOTEBOOK_DIR var, as it should be configured individually for each user's spawner unset NOTEBOOK_DIR - jupyterhub --allow-root -f "$JUPYTERHUB_CONFIG_DIR"/jupyterhub_config.py + jupyterhub -f "$JUPYTERHUB_CONFIG_DIR"/jupyterhub_config.py else echo "ERROR: JUPYTER_MODE is not set to jupyterlab or jupyterhub. Please set JUPYTER_MODE to either jupyterlab or jupyterhub." exit 1 diff --git a/scripts/spawn_notebook.sh b/scripts/spawn_notebook.sh index a6a9726..bcfaa38 100644 --- a/scripts/spawn_notebook.sh +++ b/scripts/spawn_notebook.sh @@ -6,4 +6,4 @@ echo "Starting Jupyter Notebook for user: $USERNAME" cd $JUPYTERHUB_USER_HOME/$USERNAME # Start the notebook server with current user -exec jupyterhub-singleuser \ No newline at end of file +exec jupyterhub-singleuser --allow-root \ No newline at end of file