The error on UI shows up as:
Error in Authenticator.pre_spawn_start: CalledProcessError Command ‘[‘useradd’, ‘–create-home’, ‘jupyter-mahesh ramchandra -722d7’]’ returned non-zero exit status 3.
You can try restarting your server from the [home page]
tljh config is:
users:
admin:
- maheshmhatre
user_environment:
TLJH_DISABLE_AUTO_SCROLL: false
https:
enabled: true
letsencrypt:
email: abc@xyz.com
domains:
- osjupyter.xxx.azure.com
auth:
OAuthenticator:
oauth_callback_url: https://osjupyter.westus2.cloudapp.azure.com/hub/oauth_callback
client_id: xxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx
client_secret: xxxxxxxxxxxxx
allow_all: true
AzureAdOAuthenticator:
tenant_id: xxxxxxxxxxxxxx
scope:
- openid
- profile
admin_users:
- maheshmhatre@xyz.com
type: azuread
logs:
Jan 03 19:53:25 JupyterHub python3[22270]: [I 2024-01-03 19:53:25.355 JupyterHub provider:574] Creating oauth client jupyterhub-user-mahesh%20ramchandra%20mhatre%20%28maheshmhatre%29
Jan 03 19:53:25 JupyterHub python3[22270]: useradd: invalid user name ‘jupyter-mahesh ramchandra -722d7’
Jan 03 19:53:25 JupyterHub python3[22270]: [E 2024-01-03 19:53:25.385 JupyterHub user:720] Unhandled error starting mahesh ramchandra mhatre (maheshmhatre)'s server: Command ‘[‘useradd’, ‘–create-home’, ‘jupyter-mahesh ramchandra -722d7’]’ returned non-zero exit status 3.
Jan 03 19:53:25 JupyterHub python3[22270]: [W 2024-01-03 19:53:25.428 JupyterHub web:1787] 500 GET /hub/spawn (131.107.1.157): Error in Authenticator.pre_spawn_start: CalledProcessError Command ‘[‘useradd’, ‘–create-home’, ‘jupyter-mahesh ramchandra -722d7’]’ returned non-zero exit status 3.
Jan 03 19:53:25 JupyterHub python3[22270]: [E 2024-01-03 19:53:25.430 JupyterHub log:181] {
Jan 03 19:53:25 JupyterHub python3[22270]: “Host”: “osjupyter.westus2.cloudapp.azure.com”,
Jan 03 19:53:25 JupyterHub python3[22270]: “User-Agent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Accept”: “text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Accept-Encoding”: “gzip, deflate, br”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Accept-Language”: “en-US,en;q=0.9”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Cache-Control”: “max-age=0”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Cookie”: “jupyterhub-hub-login=[secret]; jupyterhub-session-id=[secret]”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Sec-Ch-Ua”: “"Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Sec-Ch-Ua-Mobile”: “?0”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Sec-Ch-Ua-Platform”: “"Windows"”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Sec-Fetch-Dest”: “document”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Sec-Fetch-Mode”: “navigate”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Sec-Fetch-Site”: “none”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Sec-Fetch-User”: “?1”,
Jan 03 19:53:25 JupyterHub python3[22270]: “Upgrade-Insecure-Requests”: “1”,
Jan 03 19:53:25 JupyterHub python3[22270]: “X-Forwarded-For”: “131.107.1.157”,
Jan 03 19:53:25 JupyterHub python3[22270]: “X-Forwarded-Host”: “osjupyter.westus2.cloudapp.azure.com”,
Jan 03 19:53:25 JupyterHub python3[22270]: “X-Forwarded-Port”: “443”,
Jan 03 19:53:25 JupyterHub python3[22270]: “X-Forwarded-Proto”: “https”,
Jan 03 19:53:25 JupyterHub python3[22270]: “X-Forwarded-Server”: “JupyterHub”,
Jan 03 19:53:25 JupyterHub python3[22270]: “X-Real-Ip”: “131.107.1.157”
Jan 03 19:53:25 JupyterHub python3[22270]: }
Jan 03 19:53:25 JupyterHub python3[22270]: [E 2024-01-03 19:53:25.430 JupyterHub log:189] 500 GET /hub/spawn (mahesh ramchandra mhatre (maheshmhatre)@131.107.1.157) 105.62ms