Jupyterhub notebook not opening

After an update of jupyterhub and notebook to the latest version. However, after the update I can’t seem to open a notebook, as opening a notebook just launches a blank page with an orange circle rotating around. I have tried it in both chrome (which I never use) and firefox, but the process is still the same.

the pip list is:

Package                      Version
---------------------------- --------------
absl-py                      2.1.0
aiohappyeyeballs             2.4.3
aiohttp                      3.9.3
aiosignal                    1.3.1
alembic                      1.13.1
anndata                      0.11.3
annotated-types              0.7.0
anyio                        4.9.0
appdirs                      1.4.4
argon2-cffi                  23.1.0
argon2-cffi-bindings         21.2.0
array_api_compat             1.10.0
arrow                        1.3.0
asciitree                    0.3.3
asttokens                    2.4.1
astunparse                   1.6.3
async-generator              1.10
async-lru                    2.0.4
attrs                        23.2.0
Babel                        2.14.0
bash_kernel                  0.9.3
batchspawner                 1.3.0
beautifulsoup4               4.12.3
biopython                    1.84
bleach                       6.1.0
Bottleneck                   1.3.8
Brian2                       2.6.0
Cartopy                      0.23.0
certifi                      2024.2.2
certipy                      0.1.3
cffi                         1.16.0
cftime                       1.6.3
charset-normalizer           3.3.2
click                        8.1.7
click-plugins                1.1.1
cligj                        0.7.2
cloudpickle                  3.0.0
colorama                     0.4.6
comm                         0.2.2
contourpy                    1.2.1
cryptography                 42.0.5
cycler                       0.12.1
Cython                       3.0.10
daiquiri                     3.2.5.1
dask                         2024.4.1
debugpy                      1.8.1
decorator                    5.1.1
defusedxml                   0.7.1
demes                        0.2.3
distlib                      0.3.8
et-xmlfile                   1.1.0
executing                    2.0.1
fasteners                    0.19
fastjsonschema               2.19.1
filelock                     3.13.3
fiona                        1.9.6
flatbuffers                  24.3.25
fonttools                    4.51.0
fqdn                         1.5.1
frozenlist                   1.4.1
fsspec                       2024.3.1
gast                         0.5.4
geopandas                    0.14.3
gitdb                        4.0.11
GitPython                    3.1.43
google-pasta                 0.2.0
greenlet                     3.0.3
grpcio                       1.62.1
h11                          0.14.0
h5py                         3.11.0
httpcore                     1.0.5
httpx                        0.27.0
humanize                     4.9.0
idna                         3.7
imageio                      2.34.1
importlib_metadata           7.1.0
ipycanvas                    0.13.3
ipykernel                    6.29.4
ipython                      8.26.0
ipython_pygments_lexers      1.1.1
ipywidgets                   8.1.5
isoduration                  20.11.0
jax                          0.4.30
jaxlib                       0.4.30
jedi                         0.19.2
Jinja2                       3.1.3
joblib                       1.4.2
json5                        0.9.24
jsonpointer                  2.4
jsonschema                   4.21.1
jsonschema-specifications    2023.12.1
jupyter                      1.1.1
jupyter_client               8.6.3
jupyter-collaboration        4.0.2
jupyter-collaboration-ui     2.0.2
jupyter-console              6.6.3
jupyter_core                 5.7.2
jupyter-docprovider          2.0.2
jupyter-events               0.12.0
jupyter-lsp                  2.2.5
jupyter-rsession-proxy       2.3.0
jupyter_server               2.15.0
jupyter_server_fileid        0.9.3
jupyter-server-mathjax       0.2.6
jupyter_server_proxy         4.4.0
jupyter_server_terminals     0.5.3
jupyter-server-ydoc          2.0.2
jupyter-telemetry            0.1.0
jupyter-ydoc                 3.0.4
jupyterhub                   5.3.0
jupyterhub-systemdspawner    1.0.2
jupyterlab                   4.4.1
jupyterlab_git               0.51.1
jupyterlab_pygments          0.3.0
jupyterlab_server            2.27.3
jupyterlab_widgets           3.0.14
keras                        3.1.1
kiwisolver                   1.4.5
lab                          8.2
lazy_loader                  0.4
legacy-api-wrap              1.4.1
libclang                     18.1.1
llvmlite                     0.42.0
lmdb                         1.4.1
locket                       1.0.0
Mako                         1.3.2
Markdown                     3.6
markdown-it-py               3.0.0
MarkupSafe                   2.1.5
matplotlib                   3.10.1
matplotlib-inline            0.1.7
mdurl                        0.1.2
metakernel                   0.30.3
mistune                      3.0.2
ml-dtypes                    0.3.2
mpmath                       1.3.0
msprime                      1.3.1
multidict                    6.0.5
namex                        0.0.7
natsort                      8.4.0
nbclient                     0.10.0
nbconvert                    7.16.4
nbdime                       4.0.1
nbformat                     5.10.4
nest-asyncio                 1.6.0
netCDF4                      1.6.5
networkx                     3.3
newick                       1.9.0
notebook                     7.4.1
notebook_shim                0.2.4
numba                        0.59.1
numcodecs                    0.12.1
numpy                        1.26.4
nvidia-cublas-cu12           12.1.3.1
nvidia-cuda-cupti-cu12       12.1.105
nvidia-cuda-nvrtc-cu12       12.1.105
nvidia-cuda-runtime-cu12     12.1.105
nvidia-cudnn-cu12            8.9.2.26
nvidia-cufft-cu12            11.0.2.54
nvidia-curand-cu12           10.3.2.106
nvidia-cusolver-cu12         11.4.5.107
nvidia-cusparse-cu12         12.1.0.106
nvidia-nccl-cu12             2.20.5
nvidia-nvjitlink-cu12        12.4.127
nvidia-nvtx-cu12             12.1.105
oauthlib                     3.2.2
octave_kernel                0.36.0
openpyxl                     3.1.5
opt-einsum                   3.3.0
optree                       0.11.0
overrides                    7.7.0
packaging                    24.0
pamela                       1.1.0
pandas                       2.2.2
pandocfilters                1.5.1
parso                        0.8.4
partd                        1.4.1
patsy                        1.0.1
pexpect                      4.9.0
pillow                       10.3.0
pip                          25.1
platformdirs                 4.2.0
pluggy                       1.5.0
ply                          3.11
prometheus_client            0.20.0
prompt-toolkit               3.0.43
propcache                    0.2.0
protobuf                     4.25.3
psutil                       5.9.8
ptyprocess                   0.7.0
pure-eval                    0.2.2
pycparser                    2.22
pycrdt                       0.12.15
pycrdt-websocket             0.15.5
pydantic                     2.10.2
pydantic_core                2.27.1
Pygments                     2.17.2
pynndescent                  0.5.13
pyOpenSSL                    24.1.0
pyparsing                    3.1.2
pyproj                       3.6.1
pyshp                        2.3.1
pyslim                       1.0.4
python-dateutil              2.9.0.post0
python-engineio              3.14.2
python-json-logger           2.0.7
python-jsonrpc-server        0.4.0
python-socketio              4.6.1
pytz                         2024.1
PyYAML                       6.0.1
pyzmq                        25.1.2
referencing                  0.34.0
requests                     2.31.0
rfc3339-validator            0.1.4
rfc3986-validator            0.1.1
rich                         13.7.1
rpds-py                      0.18.0
ruamel.yaml                  0.18.6
ruamel.yaml.clib             0.2.8
scanpy                       1.11.0
scikit-image                 0.23.2
scikit-learn                 1.5.0
scipy                        1.14.1
seaborn                      0.13.2
seafile-api                  0.1.2
seatable-api                 2.8.1
Send2Trash                   1.8.3
session-info2                0.1.2
setuptools                   75.8.0
shapely                      2.0.4
simpervisor                  1.0.0
simplejson                   3.19.3
six                          1.16.0
smmap                        5.0.1
sniffio                      1.3.1
sortedcontainers             2.4.0
soupsieve                    2.5
SQLAlchemy                   2.0.29
sqlite-anyio                 0.2.3
stack-data                   0.6.3
statsmodels                  0.14.4
svgwrite                     1.4.3
sympy                        1.12
tensorboard                  2.16.2
tensorboard-data-server      0.7.2
tensorflow                   2.16.1
tensorflow-io-gcs-filesystem 0.36.0
termcolor                    2.4.0
terminado                    0.18.1
threadpoolctl                3.5.0
tifffile                     2024.4.24
tinycss2                     1.2.1
toolz                        0.12.1
torch                        2.3.1
tornado                      6.4
tqdm                         4.66.4
traitlets                    5.14.2
triton                       2.3.1
tsdate                       0.2.0
tsinfer                      0.3.1
tskit                        0.5.6
txt2tags                     3.9
types-python-dateutil        2.9.0.20240316
typing_extensions            4.12.2
tzdata                       2024.1
ujson                        5.10.0
umap-learn                   0.5.7
uri-template                 1.3.0
urllib3                      2.2.1
virtualenv                   20.26.3
wcwidth                      0.2.13
webcolors                    1.13
webencodings                 0.5.1
websocket-client             1.7.0
Werkzeug                     3.0.2
wheel                        0.45.1
widgetsnbextension           4.0.13
wrapspawner                  1.0.1
wrapt                        1.16.0
xarray                       2024.3.0
yarl                         1.9.4
zarr                         2.18.2
zipp                         3.20.1

Does anyone know where the issue may be? I tried downgrading but then the notebook package vanishes but I do not know what else to do but to revert to an earlier backup