jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.03k stars 339 forks source link

Add support for Ubuntu 22.04 #813

Closed manics closed 1 year ago

manics commented 2 years ago

Proposed change

Add support for Ubuntu 22.04

Alternative options

Do nothing

Who would use this feature?

People using the latest Ubuntu LTS

(Optional): Suggest a solution

22.04 doesn't work according to this report: https://discourse.jupyter.org/t/tljh-failing-on-ubuntu-22-04-lts/14097

20.04 seems to work but is not formally documented, see https://github.com/jupyterhub/the-littlest-jupyterhub/issues/720 As part of adding 22.04 we may drop support for 18.04 (as mentioned in https://github.com/jupyterhub/the-littlest-jupyterhub/issues/720)

We should probably also add proper releases as described in https://github.com/jupyterhub/the-littlest-jupyterhub/issues/724 if supporting 22.04 requires non-trivial changes.

MridulS commented 2 years ago

22.04 seems to work too without any changes! I just tried out with a clean setup on Ubuntu 22.04 LTS on digital ocean and I was able to start up JupyterHub without any issues.

It's possible there is something specific about the image of Ubuntu 22.04 being used by the user on discourse?

wjcapehart commented 2 years ago

My system was an in-place upgrade from 20.04 LTS to 22.04 LTS, not a clean wipe and reinstall. It is my understanding that there is no "simple or safe" way to remove all of tljh. Am I mistaken?

MridulS commented 2 years ago

It is my understanding that there is no "simple or safe" way to remove all of tljh. Am I mistaken?

Yeah I'm not sure if there is a recommended way of doing this. I would do something like backup the database + user data and then start from scratch while upgrading the ubuntu distribution.

wjcapehart commented 2 years ago

I was finally able to get it to work by tar-balling the /home/jupyter- existing directories, deleting /opt/tljh and from there reinstalling.

jgiret commented 1 year ago

I made a fresh install on an Ubuntu 22.04 and it seems to work as well.