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.02k stars 338 forks source link

login issue on ubuntu 22.04 with default install #908

Closed alf-gerisch-web-de closed 1 year ago

alf-gerisch-web-de commented 1 year ago

Hi,

I have just installed tljh on Ubuntu 22.04 in, I think, default mode as root using:

curl -L https://tljh.jupyter.org/bootstrap.py \ | python3 - \ --admin 'admjuphub:[Removed]' \ --show-progress-page

and every thing goes well according to the logs. Now I access the server via a webbrowser (port 80, no https installed yet) and type in the credentials for the above admin user. These are accepted (no invalid user/password message) but just the login page is reappearing again and I do not get into the server. In journalctl -u jupyterhub I see: Mai 30 14:10:22 fb04537 python3[13294]: [I 2023-05-30 14:10:22.501 JupyterHub base:768] User logged in: admjuphub Mai 30 14:10:22 fb04537 python3[13294]: [I 2023-05-30 14:10:22.501 JupyterHub log:189] 302 POST /hub/login?next=%2Fhub%2F -> /hub/ (admjuphub@130.83.62.84) 353.38ms Mai 30 14:10:22 fb04537 python3[13294]: [I 2023-05-30 14:10:22.509 JupyterHub log:189] 302 GET /hub/ -> /hub/login?next=%2Fhub%2F (@130.83.62.84) 0.40ms Mai 30 14:10:22 fb04537 python3[13294]: [I 2023-05-30 14:10:22.516 JupyterHub log:189] 200 GET /hub/login?next=%2Fhub%2F (@130.83.62.84) 1.41ms

Also, no user jupyter-admjuphub is created in the Ubuntu system (nothing under /home, nothing in /etc/passwd).

What could be the problem here?

Any help appreciated.

Alf.

welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

alf-gerisch-web-de commented 1 year ago

Hi,

I realised that I first have to connect to the server using http://[IP address] , as also stated in the install docs. That worked fine for me. Afterwards, I can also connect using http[s]://[FQDN] without trouble. So I should have followed simply the documentation word by word.

Alf.