Skip to content

Refresh Server

Helge Dzierzon edited this page Aug 5, 2019 · 1 revision

Refreshing the jupyterhub node:

You might want to test whether users reappear after a jupyterhub node restart/rebuild. Please be aware that this will interrupt users that are logged in to the datalab. Use this recipe, therefore, with care.

  • Make sure no user notebook services are running (by running docker service ls)
  • Stop jupyterhub service docker stack rm jupyterhub
  • Rebuild jupyterhub image docker rmi jupyterhub && docker build -f Dockerfile.jupyterhub -t jupyterhub .
  • Start jupyterhub docker stack deploy --compose-file docker-compose.yml jupyterhub
  • Go to the Jupyterhub homepage and see if the service is running.