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.03k stars 339 forks source link

Jupyterlab is not launched for main user account #866

Closed deboomce closed 1 year ago

deboomce commented 1 year ago

Bug description

Even though the default launcher is set up as jupyterlab, for the main (existing?) admin user TLJH still launches as a regular notebok environment.

Expected behaviour

After setting the default launcher to jupyterlab, it should be the /lab launcher for all users from then on.

Actual behaviour

For main admin / existing users, the default launcher is still /tree.

How to reproduce

  1. Set up TLJH with main user account.
  2. Change default launcher to jupyterlab in config.

Nothing changes for main user account, but /lab is only used for new user accounts.

Your personal set up

deboomce commented 1 year ago

It is no bug: restarting server fixes this. This should be documented though.

minrk commented 1 year ago

Feel free to reopen with an edited description or open a new issue about documenting the fact that configuration of the user environment or Spawner only take effect for future server launches. We have this for JupyterHub changes already, but it's not mentioned explicitly for servers.