Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added instructions for restarting JupyterHub to docs (re: #455) #666

Merged
merged 2 commits into from
Oct 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/troubleshooting/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ guides help you find what is broken & hopefully fix it.
:caption: Troubleshooting

logs
restart

Often, your issues are not related to TLJH itself but to the cloud provider
your server is running on. We have some documentation on common issues you
Expand All @@ -21,4 +22,4 @@ here to better support your favorite provider!

providers/google
providers/amazon
providers/custom
providers/custom
31 changes: 31 additions & 0 deletions docs/troubleshooting/restart.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

=============================================
Stopping and Restarting the JupyterHub Server
=============================================

The user can **stop** the JupyterHub server using:

.. code-block:: console

$ systemctl stop jupyterhub.service

.. warning::

Keep in mind that other services that may also require stopping:

* The user's Jupyter server: jupyter-username.service
* Traefik.service

The user may **restart** JupyterHub and Traefik services by running:

.. code-block:: console

$ tljh-config reload proxy
consideRatio marked this conversation as resolved.
Show resolved Hide resolved

This calls systemctl and restarts Traefik. The user may call systemctl and restart only the JupyterHub using the command:

.. code-block:: console

$ tljh-config reload hub
consideRatio marked this conversation as resolved.
Show resolved Hide resolved