Is there a definitive way to tell if you’re using the legacy notebook app at all? We’re using jupyterhub 1.5.0 and z2jh 1.2.0 with a docker-stacks/scipy-notebook parent image for our singleuser image. We’re calling jupyter-labhub to start the singleuser app. With kubespawner it’s a bit confusing because the container is hard-coded to be named notebook and you see things in the notebook container logs saying notebook (it’s got nbclassic and notebook installed in the image) and we always see this:
Nov 17 09:22:58 jupyter-6192b1ecab4f10c6670c9e5b notebook INFO INFO 2021-11-17T15:22:58.080Z [SingleUserLabApp serverapp:2577] Jupyter Server 1.11.2 is running at:
We just started setting this yesterday in our z2jh hub config:
JUPYTERHUB_SINGLEUSER_APP: “jupyter_server.serverapp.ServerApp”
But that’s currently only in one of our testing clusters and I’m trying to compare the notebook logs and REST API between those environments and it’s hard to see the difference, e.g. GET /user/<userid>/api/ returns the jupyter-server version in both cases, not the notebook app web server version.
I’m thinking the thing that I can use to tell is the absence of this log message:
Nov 11 11:29:24 jupyter-5e18a4193f4a3f001127f809 notebook [I 2021-11-11 17:29:24.785 SingleUserLabApp notebookapp:2302] Jupyter Notebook 6.4.5 is running at:
Is there something better?