mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-10 03:23:04 +00:00
824 B
824 B
Upgrading JupyterHub and its database
From time to time, you may wish to upgrade JupyterHub to take advantage of new releases. Much of this process is automated using scripts, such as those generated by alembic for database upgrades. Before upgrading a JupyterHub deployment, it's critical to backup your data and configurations before shutting down the JupyterHub process and server.
The upgrade process
Four fundamental process steps are needed when upgrading JupyterHub and its database:
- Backup your Hub's data and configurations
- Shutdown the Hub
- Upgrade JupyterHub
- Upgrade the database using run
jupyterhub upgrade-db
Let's take a closer look at each step in the upgrade process.