jupyterhub / jupyterhub/batchspawner

How to exclude user directories when spawning a notebook?

Open
#310 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
207
Forks
136
PR merge metrics
No merged PRs in 30d

Description

### Bug description

Users are not able to start notebook on compute nodes. Stuck on "waiting to connect".

#### Actual behaviour

Users starts a notebook with `--disable_user_config=True`, job started but it is stuck on `waiting to connect`.
Deleting the directory `.jupyter` or `.local/lib/python*` solves the problem. It means that there is conflict with user's installed packages.

Is there a way to exclude those PATHS when starting a notebook?

I already checked https://github.com/jupyterhub/jupyterhub/issues/3804 and https://github.com/jupyterhub/jupyterhub/pull/4713 but using `disable_user_config` does not work.

### Your personal set up

- OS:

- Version(s):
Jupyterhub 4.1.5
Jupyterlab 4.2.2
batchspawner 1.3.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.