Installation failure

Hello,

I’m experiencing persistent issues installing TLJH on Ubuntu 22.04 LTS on AWS EC2. Despite repeated clean uninstalls and reinstalls, the installation fails with the following symptoms:

/etc/tljh/ directory is consistently missing after installation.
/opt/tljh/hub/ directory is present, but /opt/tljh/user/ directory also exists, indicating a user-level installation, which is incorrect, right?
Single user servers are running from /opt/tljh/user, and not /opt/tljh/hub.
This results in authentication/authorization errors and a non-functional JupyterHub.
The system python version has been verified.
This behavior persists on new EC2 instances.

Any ideas?

Thanks,

After launching: /opt/tljh/user/bin/jupyterhub, it showed

No allow config found, it’s possible that nobody can login to your Hub!
You can set c.Authenticator.allow_all = True to allow any user who can login to access the Hub,

It sounds like it’s mostly working, see

Two environments are created: one for the hub, and one for users, to make it easier to modify the user environment without breaking the hub environment.

Which instructions are you following? I can’t find any mention of a /etc/tljh/ directory

1 Like

Thank you manics,

Gemini told me so. The issue is, or at least what I believe, the hub could not find the config file, so no users are on the allow list.

I can login the hub from remote, and create my notebook, but the python kernel is never activated.

I tracked down this in the log

Blocking Cross Origin WebSocket Attempt. Origin: https://some.url:4443, Host: some.url

and browser’s developer console

WebSocket connection to ‘wss://some.url:4443/user/admin/api/events/subscribe’ failed:

Any suggestions?

1 Like

Which browser are you using? Are you using a real SSL certificate, or a self-signed one? How have you setup JupyterHub- presumably it’s not just plain TLJH since you’re using a custom port.