Jupyterhub 500 internal server error

Am running Jupyterhub in a conda environment with the command
jupyterhub --config jupyterhub_config.py

How can I rectify this error in Rocky linux 9?

Hi! Please can you give us enough information to reproduce your error? For example, what version of JupyterHub and other components are you using, can you show us your full config file, how did you install and run JupyterHub, etc.

Seems like you are running as root user and you need to add --allow-root arg to your single-user servers for lab or notebook to start. You should add c.Spawner.args = ["--alow-root"] in your JupyterHub config

1 Like

Yup that was the issue. Thank you so much :slight_smile:

1 Like