I am wanting to allow users to be able to to have multiple named servers, but for these named servers to not share files between them. For instance, I have multiple named servers currently, and when I spin up one or the other I see the same files within them.
To start, I have added the c.JupyterHub.allow_named_servers = True in my config file and dug a bit through the Spawner documentation.
but this just times out when I go to create the named server.
I am checking my logs and something that appears is No module names 'jupyter_server' so my best guess is somehow I am not setting the environment right?
I a bit green when it comes to this forum and configuring JupyterHub, so please guide me in any direction if I have missed something obvious.
Before we get to the more detailed question of separate paths, let’s resolve being able to start a server at all.
I am checking my logs and something that appears is No module names 'jupyter_server' so my best guess is somehow I am not setting the environment right?
How is jupyterhub and the single-user server installed? Is it possible that jupyterlab or another UI is not yet installed? You may want to pip install jupyterlab or similar in the environment.
In terms of setting the notebook directory, your approach should generally work, but the URL you give to /tree/ is relative to the notebook directory. So:
starts the user by default in the named server folder, but still with access to the files of all their servers.
From what I understand, it’s unlikely that you want to set default_url and notebook_dir. Removing the default_url line may result in the behavior you want, after you resolve installation issues.