Skip to content

How to exclude user directories when spawning a notebook? #310

Description

@lifetooeasy

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 jupyterhub/jupyterhub#3804 and jupyterhub/jupyterhub#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions