Tag: jupyterhub

Problems rendering a quarto qmd file through jupyter in VS Code – JupyterHub

bj631 January 19, 2024, 10:45pm 1 I’m trying to preview a .qmd file using quarto with jupyter in VS Code. There is a little banner in the bottom right corner that shows up when trying to render the .qmd that says ” command ‘quarto.preview’ not found “. It is a…

Continue Reading Problems rendering a quarto qmd file through jupyter in VS Code – JupyterHub

Skip failed “mount” for notebook volumes – Zero to JupyterHub on Kubernetes

seb31 January 19, 2024, 2:17pm 1 Hello, We configured jupyterhub so that we mount NAS shares in our users’ notebooks, great.Some are NFS mounts, other are kerberized ones, and we also have some case where we use SMB CSI and mount shares based on k8s secrets containing user/password The problem…

Continue Reading Skip failed “mount” for notebook volumes – Zero to JupyterHub on Kubernetes

kubernetes – Setting up JupyterHub on K8s: Can I forward the user to different node pool (cpu vs. gpu)

I am currently investigating whether it’s worth to setup Jupyter on K8s. I came across this website: z2jh.jupyter.org/en/latest/index.html. One of the questions I have is forwarding a user to appropriate node pool. I will have 2. One is with CPU running and one with GPU active. I don’t want all…

Continue Reading kubernetes – Setting up JupyterHub on K8s: Can I forward the user to different node pool (cpu vs. gpu)

Help getting the right blob mount permissions – Zero to JupyterHub on Kubernetes

Hello,I have a cluster running on AKS after following the guideI am trying to mount a static Azure Blob Storage (bring your own storage) shared by all of the singleuser pods (I have a custom spawner that mounts subdirectories of the blob). I have setup an SC, PV, and PVC…

Continue Reading Help getting the right blob mount permissions – Zero to JupyterHub on Kubernetes

My JupyterHub with Azure AD Authentication Returned 403 Response Despite Successful AD Login – JupyterHub

_wayne December 18, 2023, 10:35pm 1 Hi,I am trying to deploy JupyterHub in my project for the very first time and I am having issues with my Azure AD Integration to JupyterHub. I integrated Azure AD to JupyterHub using AzureAdOAuthenticator and JupyterHub is always returning although: My AD login was…

Continue Reading My JupyterHub with Azure AD Authentication Returned 403 Response Despite Successful AD Login – JupyterHub

Cloudflare Revolutionizes AI Deployment with Cutting-Edge MLOps Platform

Summary: Cloudflare’s innovative MLOps platform is transforming the landscape of Artificial Intelligence (AI) deployment. With a focus on collaboration, scalability, and optimized workflows, Cloudflare is leading the way in delivering robust ML training methodologies at an unparalleled scale. Cloudflare’s MLOps strategy encompasses the implementation of best practices in collaboration with…

Continue Reading Cloudflare Revolutionizes AI Deployment with Cutting-Edge MLOps Platform

How to entry user-selectable page with Dockerlized Jupyterhub – JupyterHub

I am currently building JupyterHub on single machine using Docker, and I want users to access a page where they can select the Docker image they want upon logging in, like the below page. But whenever I log in using any account, the system always redirects me to the JupyterLab…

Continue Reading How to entry user-selectable page with Dockerlized Jupyterhub – JupyterHub

jupyterhub/jupyterhub image fails (`alembic.ini` missing) by default

I’m not sure what the intented behavior of the jupyterhub/jupyterhub image is, but currently it fails to startup by default without additional mounted configuration files etc via a docker run docker.io/jupyterhub/jupyterhub:main command. docker run docker.io/jupyterhub/jupyterhub:main [I 2023-10-02 10:16:39.360 JupyterHub app:3076] Running JupyterHub version 5.0.0.dev [I 2023-10-02 10:16:39.360 JupyterHub app:3106] Using…

Continue Reading jupyterhub/jupyterhub image fails (`alembic.ini` missing) by default

Jupyterhub z2jh ingress not working – Zero to JupyterHub on Kubernetes

bpfrd December 15, 2023, 6:54pm 1 Hi, I deployed z2jh on a single-node microk8s cluster on a server and it is supposed to be used in production. The problem is ingress address is missing. here is some details: # config.yaml ingress part ingress: annotations: kubernetes.io/tls-acme: “true” enabled: true hosts: -…

Continue Reading Jupyterhub z2jh ingress not working – Zero to JupyterHub on Kubernetes

Jupyterhub – single user notebook servers shuts down

I would like to use the Jupyter Scheduler extension. jupyter-scheduler.readthedocs.io/en/latest/users/index.html#installation The installation is working fine.I then set up a job that runs once a day. This also works without any problems. However, I have noticed one issue. If I don’t use the app for a few days, my notebook server…

Continue Reading Jupyterhub – single user notebook servers shuts down

Tljh-reload stuck in infinite loop of Hub not ready: (HTTP status 502) InsecureRequestWarning: Unverified HTTPS request is being made to host while setting up azuread OAuthenticator – The Littlest JupyterHub – Jupyter Community Forum

Sure,the tljh-config file looks like: and the logs show this:Dec 15 18:18:45 JupyterHub python3[2671]: File “/usr/lib/python3.6/importlib/init.py”, line 126, in import_moduleDec 15 18:18:45 JupyterHub python3[2671]: return _bootstrap._gcd_import(name[level:], package, level)Dec 15 18:18:45 JupyterHub python3[2671]: File “”, line 994, in _gcd_importDec 15 18:18:45 JupyterHub python3[2671]: File “”, line 971, in _find_and_loadDec 15 18:18:45…

Continue Reading Tljh-reload stuck in infinite loop of Hub not ready: (HTTP status 502) InsecureRequestWarning: Unverified HTTPS request is being made to host while setting up azuread OAuthenticator – The Littlest JupyterHub – Jupyter Community Forum

Installing JupyterHub via Stackable Demo on K8s | by Alex McLintock | Dec, 2023

docs.stackable.tech/home/stable/demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data So, this is an article in an ongoing series where I investigate the deployment tools of Stackable.tech This firm supplies supported versions of many open source data engineering tools to easily build data platforms on Kubernetes (k8s) clusters. These can be on your own premises, in a data centre,…

Continue Reading Installing JupyterHub via Stackable Demo on K8s | by Alex McLintock | Dec, 2023

URI encoding? “.” character in the LDAP authentication – Zero to JupyterHub on Kubernetes

Hello, members. When the user(jupyter.user contains . character) login, Expect behavior: create home jupyter.user Actual behavior: create home jupyter-2euser %2E means ., in the URI encode.So, I suspect Z2JH encodes some characters.Does anyone know how to fix it? hub: config: Authenticator: enable_auth_state: true JupyterHub: authenticator_class: ldapauthenticator.LDAPAuthenticator LDAPAuthenticator: server_address: ldapserver lookup_dn:…

Continue Reading URI encoding? “.” character in the LDAP authentication – Zero to JupyterHub on Kubernetes

Some thoughts on Z2JH “Trash” – feel like I’m close but need some nudge(s) in the right direction? – Zero to JupyterHub on Kubernetes

I’d like to provide a file ‘security net’ for my users using Z2JH. My solution would be to utilize a share file system, mounted to each pod. extraVolumes: – name: trash persistentVolumeClaim: claimName: trash-pvc extraVolumeMounts: – name: trash mountPath: # Would this be ~/.local/share/Trash? /.Trash? subPath: trash I can toggle…

Continue Reading Some thoughts on Z2JH “Trash” – feel like I’m close but need some nudge(s) in the right direction? – Zero to JupyterHub on Kubernetes

How does the cull values get used in the jupyerhub helm chart – JupyterHub

Shi_Jin December 12, 2023, 4:48am 1 First of all, everything is working and I am just puzzled at how it works. According to github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/f11f8ea8ea857917f59b7f9a1b79a9570e21e622/jupyterhub/values.yaml#L653-L668, I am able to specify my own cull values like cull: timeout: 600 every: 60 users: true adminUsers: true And when I installed the jupyterhub helm…

Continue Reading How does the cull values get used in the jupyerhub helm chart – JupyterHub

Is there a way to create a REST API token with user’s OAuth token through REST API – Zero to JupyterHub on Kubernetes

Hi Jovyans, Jupyterhub version: 1.4.2 Authenticator: GenericOAuthenticator Issue: Need to call REST API(/users//server) to start user server, this requires an user’s API token. I’ve been blocked with ‘how to create an API token for an user through a REST API’ I’m able to manually create an user’s API token on…

Continue Reading Is there a way to create a REST API token with user’s OAuth token through REST API – Zero to JupyterHub on Kubernetes

Removing LB Listener before removing target group – Terraform

Hi, I’m experiencing some issues with my infra. I use terraform to create load balancers, target groups etc… My issue is floating, I can’t say it rises every time I do the destroy procedure. But sometimes it ends up with an error: Error: error deleting Listener (arn:aws:elasticloadbalancing:us-east-1:299274019362:listener/app/forward-alb/e5a83c3fb5c0b858/caf1a2fe3e479773): ResourceInUse: Listener port…

Continue Reading Removing LB Listener before removing target group – Terraform

JupyterHub + SingleUserServer in API only mode – JupyterHub

Hi, My goal is to run both JupyterHub and the SingleUser servers in API only mode. I have not been able to do so for either and any guidance would be greatly appreciated. Does anyone have any tips on what I could do to put JupyterHub and SingleUser server in…

Continue Reading JupyterHub + SingleUserServer in API only mode – JupyterHub

JupyterHub Services url isn’t always suitable for a health check

By configuring JupyterHub service’s url to my-service-backend, users can visit my-jupyterhub.org/services/my-service to reach it. Sometimes this service have a dedicated path to make health checks, such as my-service-backend/api/health, but JupyterHub will check its health by default to the configured url that is also used to configure the /services/my-service proxied path….

Continue Reading JupyterHub Services url isn’t always suitable for a health check

Problem with DockerSpawner volumes – JupyterHub

Hi Guys!Nice to meet you all here.I have a problem with permissions for user volumes.They are being created with root:root ownership and user does not have permission to write there.def create_dir_hook(spawner):username = spawner.user.name # get the usernamevolume_path = os.path.join(‘/volumes/jupyterhub/’, username)print(f”Checking if {volume_path} exists…”) if not os.path.exists(volume_path): print(f”{volume_path} does not exist….

Continue Reading Problem with DockerSpawner volumes – JupyterHub

400 : Bad Request OAuth state missing from cookies – JupyterHub

I have setup two services of jupyterhub on single server which are running on different portroot@e2e-94-254:~# netstat -lntup | grep nodetcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 683069/nodetcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN 682679/nodetcp 0 0 127.0.0.1:20002 0.0.0.0:* LISTEN 682679/nodetcp 0 0 127.0.0.1:8001 0.0.0.0:* LISTEN 683069/node I have setup nginx as…

Continue Reading 400 : Bad Request OAuth state missing from cookies – JupyterHub

Sharing some data with each users. (creating symblink or bind mount) – Zero to JupyterHub on Kubernetes

Hello members. 1. Overview This configuration mounts NFS volumes on the following mount points. /home/jovyan /home/shared IIUC, A Z2JH user doesn’t access /home/shared by default.So, I want to create a symlink or bind mount point like /home/jovyan/shared.Does anyone know what configuration file I can set bind mount or symlink? singleuser:…

Continue Reading Sharing some data with each users. (creating symblink or bind mount) – Zero to JupyterHub on Kubernetes

Cannot connect to the server, what am I missing? – JupyterHub

The hub on the host severed directly on my machine (not via docker image). I run the jupyterhub with command arg –debug, and got the terminal infomation as follows: root@DESKTOP-L60P4Q8:~/my_docker/main# jupyterhub –debug -f ../jupyterhub_config.py [D 2023-12-07 23:00:23.417 JupyterHub application:908] Looking for ../jupyterhub_config in /root/my_docker/main [D 2023-12-07 23:00:23.417 JupyterHub application:929] Loaded…

Continue Reading Cannot connect to the server, what am I missing? – JupyterHub

ServerApp.iopub_data_rate_limit – Zero to JupyterHub on Kubernetes

escader December 6, 2023, 12:43pm 1 Hello. I deployed jupyterhub using helm chart v.2.0.0 and jupyterhub version 3.4.6. I get an error when doing a task. !!! I tried to set the jupyter notebook parameter –NotebookApp.iopub_data_rate_limit=100000000 when building docker, but I get ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. I…

Continue Reading ServerApp.iopub_data_rate_limit – Zero to JupyterHub on Kubernetes

Is there a way to set the root directory in `JupyterHub`? – JupyterHub

I am using the base-notebook image as a Spawner, and I cannot figure out how to set the baseDir to limit the user to access to the specified folder (I’m using the jupyter kernel evcxr, and I uninstalled the kernel ipykernel and forbidden opening terminal in jupyter, so the only…

Continue Reading Is there a way to set the root directory in `JupyterHub`? – JupyterHub

JupyterJupyterhub and Enterprise Gateway error starting kernel – JupyterHub

OrenZ1 December 5, 2023, 5:56pm 1 Hello!I am using jupyter enterprise gateway 3.2.2 with jupyter hub 2.1.1 and JupyterLab 3.6.3.I am having a weird problem when starting a kernel on a kubernetes cluster. The images I use for the kernels are heavy, and so it takes long to pull them…

Continue Reading JupyterJupyterhub and Enterprise Gateway error starting kernel – JupyterHub

JupyterHub server spawning never completes; new JupyerHub admin – JupyterHub

Hello, I’ve recently started a position responsible for a JupyterHub installation as part of an HPC environment; the old team left without leaving much in the way of documentation, and I’ve never worked on JupyterHub before, so please bear with me. When launching JupyterHub, the system will stay on the…

Continue Reading JupyterHub server spawning never completes; new JupyerHub admin – JupyterHub

Issues with setting up z2jh with nbgrader – JupyterHub

Hello,I’m trying to deploy z2jh with nbgrader. here is the information about courses courses_data = [ { “name”:”course101″, “instructors”: [“instructor1”], “grader”: “grader-course101”, “docker_image_instructors”: “path/to/image”, “students”: [“student1”], “docker_image_students”: “path/to/image” }, { “name”: “course123”, “instructors”: [“instructor2”], “grader”: “grader-course123”, “students”: [“student1”], “docker_image_instructors”: “path/to/image”, “docker_image_students”: “path/to/image” } ] For each course I have a…

Continue Reading Issues with setting up z2jh with nbgrader – JupyterHub

Data-on-eks issues – Kubernetes – Ray

Hey Guys, I used the tf code provided at github.com/awslabs/data-on-eks/tree/main/ai-ml/jupyterhub to deploy jupyterhub on eks.While testing I get the below errors. Please guide how to resolve it? I am new to eks as well as jupyterhub. Based on the documentation at JupyterHub on EKS | Data on EKS, I expected…

Continue Reading Data-on-eks issues – Kubernetes – Ray

Kill Slurm Job when browser tab closes – JupyterHub

pgierz December 4, 2023, 9:22am 1 Hello, I’m deploying an HPC-enabled Jupyterhub which will use a SLURM spawner. I would like to communicate to SLURM to cancel the scheduler jobs when the browser tab is closed. Is it possible to send signals to the system on a browser-tab-close action? (sorry…

Continue Reading Kill Slurm Job when browser tab closes – JupyterHub

How can I choose Jupyter kernel? – JupyterHub

When I use jupyter lab, there are several kernels I can choose: root@DESKTOP-L60P4Q8:~/arcta/live2# jupyter kernelspec list Available kernels: julia-1.9 /root/.local/share/jupyter/kernels/julia-1.9 mojo-jupyter-kernel /root/.local/share/jupyter/kernels/mojo-jupyter-kernel rust /root/.local/share/jupyter/kernels/rust python3 /usr/local/share/jupyter/kernels/python3 But when I use jupyterhub, there is only one kernel I can choose: How can I setup the jupyterhub_config, so that I can choose…

Continue Reading How can I choose Jupyter kernel? – JupyterHub

JupyterHub for my University with Nbgrader

Dear Muhammad, In case this helps, here is the configuration file for the image we are using on JupyterHub@Paris-Saclay, with Python, C, C++, R, SageMath, nbgrader (and libraries). Not C# or SQL though. Not much documentation either. Agregating all these in a single image is tough due to recurent version conflicts; maybe starting from…

Continue Reading JupyterHub for my University with Nbgrader

Can I start a JupyterHub server for multiple users without using Docker? – JupyterHub

I’m new to JupyterHub and Docker, and I’ve read the document carefully, but I still have no idea how to start a server.It seems that to create a server for multiple users you have to use Docker image. My goal is simple: let the user use the notebook just like…

Continue Reading Can I start a JupyterHub server for multiple users without using Docker? – JupyterHub

Unable to Use JupyterLab in Development Combining JupyterLab and JupyterHub – JupyterHub

Hello, thank you for providing such a wealth of resources in the community, which has made my development process quite smooth. Problem description:I’d like to inquire about integrating JupyterLab and JupyterHub for managing group-related tasks. I’ve downloaded both repositories locally and used pip install -e “.[dev,test]” within the JupyterLab project….

Continue Reading Unable to Use JupyterLab in Development Combining JupyterLab and JupyterHub – JupyterHub

JupyterHub custom server options drop down menus – Zero to JupyterHub on Kubernetes

gcerar November 27, 2023, 3:22pm 1 Is it possible to achieve something similar on bare-metal Z2JH deployment, as shown in the Figure below? I’m thinking of revamping our cluster and I would offering a selection of docker images, where users could pick any number of GPUs and reserve a certain…

Continue Reading JupyterHub custom server options drop down menus – Zero to JupyterHub on Kubernetes

oauth 2.0 – Z2JH : Invalid client_id parameter value in hub logs

We use Z2JH Helm Chart V2.0 and jupyterhub v4.0.0 The following issue is observed intermittently for a few users. After successful OAuth2 authentication, this error log is seen on the hub pod: [D 2023-11-26 10:47:41.771 JupyterHub base:342] Refreshing auth for <username> [D 2023-11-26 10:47:41.772 JupyterHub provider:420] Validating client id jupyterhub-user-<username>…

Continue Reading oauth 2.0 – Z2JH : Invalid client_id parameter value in hub logs

Redirect loop detected. Notebook has jupyterhub version unknown (likely < 0.8), but the Hub expects 4.0.2 - JupyterHub

Thanks very much for your help. I changed the jupyterhub_config.py to this: c.Spawner.args = [“–allow-root”] And run the jupyterhub, and there is the terminal information: I 2023-11-27 17:01:45.679 JupyterHub app:2859] Running JupyterHub version 4.0.2 [I 2023-11-27 17:01:45.679 JupyterHub app:2889] Using Authenticator: jupyterhub.auth.PAMAuthenticator-4.0.2 [I 2023-11-27 17:01:45.679 JupyterHub app:2889] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-4.0.2…

Continue Reading Redirect loop detected. Notebook has jupyterhub version unknown (likely < 0.8), but the Hub expects 4.0.2 - JupyterHub

Setting CORS when creating a user server on Kubernetes via REST API – JupyterHub

Hi, I am having trouble setting up CORS options on a single user server that are being spun up. The error I am seeing: Access to fetch at ‘<URL>’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header…

Continue Reading Setting CORS when creating a user server on Kubernetes via REST API – JupyterHub

Multiple Conda Environments – The Littlest JupyterHub

mwrowe November 21, 2023, 11:27pm 1 I am running a TLJH server on AWS. Some of the Jupyter notebooks I am hosting have very different requirements. Rather than adding all of those (potentially conflicting) requirements into the default base environment at /opt/tljh/user, I would like to make multiple environments available,…

Continue Reading Multiple Conda Environments – The Littlest JupyterHub

jupyterhub jobs – 2 Active jupyterhub Jobs Openings (Nov 2023)

jupyterhub jobs – 2 Active jupyterhub Jobs Openings (Nov 2023) – Shine.com Filter by Location Experience Salary More filters Job Details At Pitney Bowes, we do the right thing, the right way. As a member of our team, you can too. We have amazing people who are the driving force,…

Continue Reading jupyterhub jobs – 2 Active jupyterhub Jobs Openings (Nov 2023)

Hub.db.type usage – Zero to JupyterHub on Kubernetes

Hello, members. Could someone tell me about hub.db.type database feature? Zero to JupyterHub with Kubernetes Configuration Reference The JupyterHub Helm chart is configurable by values in your config.yaml. In this way, you can extend user resources, build off of different Docker images, manage security and authentication, and mo… What pod…

Continue Reading Hub.db.type usage – Zero to JupyterHub on Kubernetes

JupyterHub + KeyCloak auth and LDAP user groups – JupyterHub

Dimuk November 21, 2023, 12:51pm 1 Hi, I’ve successfully set up JupyterHub to login via KeyCloak and now it uses internal users and access (ie I create user from admin panel). My KeyCloak uses LDAP (FreeIPA) as user federation, so I want to create LDAP groups for users to access…

Continue Reading JupyterHub + KeyCloak auth and LDAP user groups – JupyterHub

JupyterHubSingleUser – Failed to connect to my Hub at http://127.0.0.1:8081/hub/api – JupyterHub – Jupyter Community Forum

After updating the base notebook image to Quay (base-notebook:2023-10-31) getting these connection errors in single user server spawn. Earlier used version jupyter/base-notebook:2023-04-14 this working without any errors. (python3.10 version used in working docker image) Environment:Used helm chart version “3.0.3” to deploy the 4.0.2 version of application on AWS EKS Cluster….

Continue Reading JupyterHubSingleUser – Failed to connect to my Hub at http://127.0.0.1:8081/hub/api – JupyterHub – Jupyter Community Forum

Problems spawning single-user-servers (using groups) – JupyterHub

csee November 20, 2023, 10:35am 1 I have a JupyterHub 4.0 running, and it works fine with “normal” users.Using dockerspawner those users can spawn and use their own servers.But when I define a special group of users (that should have additional rights accessing a service), those users cannot spawn single-user-severs…

Continue Reading Problems spawning single-user-servers (using groups) – JupyterHub

kubernetes – Issues with respect to JupyterHub’s volume mount and custom-built images

We have JupyterHub setup on Kubernetes (AWS, kops, self-managed, z2jh.jupyter.org/en/stable/). The JupyterHub setup involves us using custom built images for our environments. We have some internal packages installed inside those images that are essential for our developers to work. Please note that these are legacy systems that cannot be modified…

Continue Reading kubernetes – Issues with respect to JupyterHub’s volume mount and custom-built images

visual studio code – JupyterHub vscode extension Error: Unable to determine base url of Jupyter Hub Server

I want to access jupyterHub from my vscode. I have my URL like this: <my-hub-url>/user/<my-hub-user-name>/?token=<my-token&gt;. This URL works just fine in Chrome if I click on it and the connection between VSCode & the hub is also working using other computer but on mine computer I got : Here are…

Continue Reading visual studio code – JupyterHub vscode extension Error: Unable to determine base url of Jupyter Hub Server

Trying to spawn pods in other namespace – Zero to JupyterHub on Kubernetes

Hello manics, thank you for your quick response and the tips on further debugging!In the default setting everything works fine, I can even use a profile as long as I dont use the kubespawner_override.namespace option. Here are the logs from the profile+namespace setting with the debug logging:Hub: [I 2023-11-16 19:58:45.827…

Continue Reading Trying to spawn pods in other namespace – Zero to JupyterHub on Kubernetes

OIDC RBAC – possible to map users to groups and groups to roles, where users and groups are defined by OIDC? – JupyterHub

jrouly November 16, 2023, 2:16pm 1 Hello! Is it possible to leverage both OIDC (via GenericOAuthenticator) and RBAC at the same time? And, specifically, is it possible to use RBAC to map groups to roles, and then OIDC (GenericOAuthenticator) to map users to groups? Here’s what I would expect to…

Continue Reading OIDC RBAC – possible to map users to groups and groups to roles, where users and groups are defined by OIDC? – JupyterHub

Cookie_options argument on Spawner is returning an error – The Littlest JupyterHub

I’m trying to secure the xsrf cookie passing the tornado_settings through arguments of the Spawner with the following code: c.Spawner.args = [“–ServerApp.tornado_settings= “cookie_options”: {“SameSite”: “None”,”Secure”: True }, “xsrf_cookie_kwargs”: {“httponly”: True,”secure”: True,”expires_days”:1} }”] But the jupyterHub service is giving me this error: Nov 13 19:39:07 myserver python3[205310]: [E 2023-11-13 19:39:07.546 JupyterHub…

Continue Reading Cookie_options argument on Spawner is returning an error – The Littlest JupyterHub

Giving scopes to users using jupyterlab token – JupyterHub

gfg4 November 15, 2023, 9:57am 1 Hello!, I’m developing a jupyterlab extension and I need to give the token in jupyterlab the list:groups and list:users scopes, so that I can have access to the /api/groups endpoint. I’m getting the token from PageConfig.getToken() I’m trying to update the scopes from the…

Continue Reading Giving scopes to users using jupyterlab token – JupyterHub

Docker TLJH Reason – The Littlest JupyterHub

testa November 15, 2023, 4:28pm 1 Hi. I am running TLJH on a local (powerfull) server as a docker container since few weeks now. I exchanged the base image to use a cuda-enabled one. It’s working like charm. But since day one I wonder about the statement on the webpage:Running…

Continue Reading Docker TLJH Reason – The Littlest JupyterHub

Spawn collaborative user pod by using existing spawner.profile_list to override – Zero to JupyterHub on Kubernetes

Hi there,I’m able to make a basic jupyterhub with the collaboration server working following Real-time collaboration without impersonation I’m looking for a potential way to spawn this collaborative user’s pod by using the existing profile_list that I have already defined: profile_map = { ‘oauth_group_name’: { ‘display_name’: display_name, ‘description’: description, ‘default’:…

Continue Reading Spawn collaborative user pod by using existing spawner.profile_list to override – Zero to JupyterHub on Kubernetes

How to update JupyterLab on Jupyterhub – JupyterLab

b0b November 12, 2023, 6:35pm 1 Hi All, I need to have a Docker image that runs Anaconda3 + Jupyterlab + Jupyterhub. I have following versions: Anaconda3-2022.10-Linux-x86_64 Jupyterhub v 4.0.2 JupyterLab v3.4.4 The problem is that I cannot update JupyterLab to more recent version, at least 3.6.6. If I do…

Continue Reading How to update JupyterLab on Jupyterhub – JupyterLab

Download JupyterHub 2023.10.1003012305 Extension (Vsix File) for VS Code

You are about to download the JupyterHub Vsix v2023.10.1003012305 file for Visual Studio Code 1.83.0 and up: JupyterHub, Support for connecting to Jupyter Hub in VS Code along with the Jupyter Extension … Please note that the JupyterHub Vsix file v2023.10.1003012305 on VsixHub is the original file archived from the…

Continue Reading Download JupyterHub 2023.10.1003012305 Extension (Vsix File) for VS Code

How to set jupyterhub collaboration show share files only – JupyterHub

Hello, I’m delighted to use the collaboration feature provided by JupyterHub, which has significantly addressed my team collaboration needs. However, at present, I’d like to limit the shared content so that a user with whom I have collaborated can only see the files I specifically shared rather than all of…

Continue Reading How to set jupyterhub collaboration show share files only – JupyterHub

Connecting to a Jupyter Server instance started remotely by Jupyter Hub via Python – JupyterHub

Hi, I am trying to connect to a Jupyter Server instance in order to execute Python code on the IPykernel. The Jupyter Server instance I am trying to connect to is on a remote machine. I noticed that I can connect to a local Jupyter instance using the connection_info and…

Continue Reading Connecting to a Jupyter Server instance started remotely by Jupyter Hub via Python – JupyterHub

Jupyterhub throws 403 error, when I open a notebook without any actions – JupyterHub

Thanks for your reply! Here is my custom authentication code class CUSTOMAuthenticator(Authenticator): “””Authenticator process 1. Get CUSTOM user’ cookie who has benn logined 2. Call CUSTOM api to check this cookie’s validity 3. Check api response, if pass will set user info to jupyterhub, if not will return None “””…

Continue Reading Jupyterhub throws 403 error, when I open a notebook without any actions – JupyterHub

JupyterHub on Kubernetes cannot failed to cull user pods

I implemented JupyterHub using a Helm chart on a local Kubernetes cluster on VMware virtual machines. I want to cull users after they have been inactive for a while, but it seems not to work. This error log from the hub pod (pod named hub-545895f988-vmj2k) might be related: [W 2023-11-09…

Continue Reading JupyterHub on Kubernetes cannot failed to cull user pods

jupyter notebook – Automation of PV and creation of folders in NFS server for Jupyterhub on Kubernetes

I have used the following GitHub link for jupyterhub installation:github.com/bitnami/charts/tree/main/bitnami/jupyterhub My problem is while user tries to log in jupyterhub it will create PVC for each user from helm side and we need to create PV and NFS folders from our side. Doing this process for each user is not…

Continue Reading jupyter notebook – Automation of PV and creation of folders in NFS server for Jupyterhub on Kubernetes

Real-time collaboration for jupyterhub – Zero to JupyterHub on Kubernetes

Hi there,I’ve been playing around with RTC extension on jupyterhub recently and I’ve been stuck at creating-collaboration-accounts for a while. It mentions This configuration code runs when jupyterhub starts up, so I included the example code block under hub.extraConfig.’myConfig.py’, then I got this error: TypeError: ‘LazyConfigValue’ object is not subscriptable….

Continue Reading Real-time collaboration for jupyterhub – Zero to JupyterHub on Kubernetes

Trying to upgrade jupyterhub from helmchart 2.0.0 to 3.1.0 – Zero to JupyterHub on Kubernetes

Hello, I’ve been trying to upgrade helmchart from 2.0.0 to the latest 3.1.0 (speaking as of date 8 Nov. 2023) on k8s (v1.25) AWS cluster. I got this error message when I check the logs of helmrelease Last Helm logs: Patch Deployment “hub” in namespace jupyterhub Patch Deployment “proxy” in…

Continue Reading Trying to upgrade jupyterhub from helmchart 2.0.0 to 3.1.0 – Zero to JupyterHub on Kubernetes

Unhealthy hub pod, possible network problems? – Zero to JupyterHub on Kubernetes

We’re trying to resize (reduce) a z2jh running on an OpenStack Magnum-created k8s, and now seeing some problems with the hub pod, which may be related to networking. From the hub logs: [I 2023-11-07 17:59:20.318 JupyterHub app:1984] Not using allowed_users. Any authenticated user will be allowed. [D 2023-11-07 17:59:20.344 JupyterHub…

Continue Reading Unhealthy hub pod, possible network problems? – Zero to JupyterHub on Kubernetes

Solved 1. Log in to JupyterHub (refer to CLA1 if you have

Transcribed image text: 1. Log in to JupyterHub (refer to CLA1 if you have questions on how to log in). 2. Create the CLA17 directory under your CLA directory. Change into the CLA17 directory before continuing. 3. Follow below steps to create the file clat7 py – Start the Launcher…

Continue Reading Solved 1. Log in to JupyterHub (refer to CLA1 if you have

JupyterHub throwing error while running jupyterhub command

Im getting following error while running jupyterhub command C:\Users\admin>jupyterhub [I 2023-11-06 22:58:37.910 JupyterHub app:2859] Running JupyterHub version 4.0.2 [I 2023-11-06 22:58:37.910 JupyterHub app:2889] Using Authenticator: jupyterhub.auth.PAMAuthenticator-4.0.2 [I 2023-11-06 22:58:37.910 JupyterHub app:2889] Using Spawner: jupyterhub.spawner.SimpleLocalProcessSpawner-4.0.2 [I 2023-11-06 22:58:37.910 JupyterHub app:2889] Using Proxy: jupyterhub.proxy.ConfigurableHTTPProxy-4.0.2 [I 2023-11-06 22:58:37.910 JupyterHub app:1664] Loading cookie_secret from…

Continue Reading JupyterHub throwing error while running jupyterhub command

docker – Installing python packages in jupyterhub from Dockerfile

I try to build a shared code platform using jupyterhub for our work group. I want all users to have some packages preinstalled in their jupyterhub environment when starting a new server. I use this Dockerfile (and a jupyterhub_config.py and docker-compose.yaml): FROM jupyterhub/jupyterhub:latest RUN pip install –no-cache \ oauthenticator \…

Continue Reading docker – Installing python packages in jupyterhub from Dockerfile

Container is gone after start – JupyterHub

Hi ! I try to mount a jupyterhub container. The server seems to run smoothly but cannot create a user notebook container (DockerSpawner). After a few seconds, the container disappears. Hereafter is my jupyterhub log (user: donzel): [D 2023-11-03 14:18:16.039 JupyterHub application:908] Looking for /srv/jupyterhub/jupyterhub_config in /srv/jupyterhub [D 2023-11-03 14:18:16.054…

Continue Reading Container is gone after start – JupyterHub

Solved – at a jupyterhub menu select File –> New Launcher,

Transcribed image text: – at a jupyterhub menu select File –> New Launcher, then select Python File: – This will open a new file with untitled.py as the name. Rename the file by right click on the rename in the left side list and naming it golfWrite.py. – Write a…

Continue Reading Solved – at a jupyterhub menu select File –> New Launcher,

Docker images for JupyterHub – RapidMiner Documentation

Documentation 10.3 (Latest) 10.2 10.1 10.0 9.10 9.9 9.8 9.7 9.6 9.5 9.4 9.3 9.2 9.1 9.0 8.2 8.1 8.0 7.6 Hub Manage Image reference Docker images for JupyterHub The documentation below describes our integrated JupyterHub instance, which is a component consisting of the following Docker images: You can read…

Continue Reading Docker images for JupyterHub – RapidMiner Documentation

How to replace the private image forcely? – Zero to JupyterHub on Kubernetes

Hello, members 1. Quetions. I’m creating a custom image for Z2JH. When I update the private image, I want to replace the image.(It means I want to use the new image in Z2JH).But I don’t know how to force-pull the image.Does anyone know how to do it? configuration. singleuser: image:…

Continue Reading How to replace the private image forcely? – Zero to JupyterHub on Kubernetes

Jupyterhub with AzureAD – JupyterHub

Hello, I’m trying to create docker image with azure ad login im able to login with my account after login in webpage i get Unhandled error starting server Username You can try restarting your server from the [home page]( Log D 2023-11-01 14:34:46.657 JupyterHub base:961] Initiating spawn for USER.Ext [D…

Continue Reading Jupyterhub with AzureAD – JupyterHub

Solved Log in to jupyterhub. (Refer to previous lab (CLA1)

Log in to jupyterhub. (Refer to previous lab (CLA1) if you have questions about How to log in.) Create a python file called CLA14Exercise1.py using the Python File icon in the launcher screen. (Refer CLA1 on how to create a python file) Problem Specification: Include the following information as comments…

Continue Reading Solved Log in to jupyterhub. (Refer to previous lab (CLA1)

Building multi-tenant JupyterHub Platforms on Amazon EKS

Introduction In recent years, there’s been a remarkable surge in the adoption of Kubernetes for data analytics and machine learning (ML) workloads in the tech industry. This increase is underpinned by a growing recognition that Kubernetes offers a reliable and scalable infrastructure to handle these demanding computational workloads. Furthermore, a…

Continue Reading Building multi-tenant JupyterHub Platforms on Amazon EKS

Multiple courses for one instructor/grader in one single user server in JupyterHub on Kuberentes

Hi, I’m trying to set up nbgrader with JupyterHub with KubeSpawner. I want to achieve following: – one instructor is able to work with multiple courses in one notebook instance – several graders are able to access relevant formgraders – students are able to subscribe to multiple courses = see assignments…

Continue Reading Multiple courses for one instructor/grader in one single user server in JupyterHub on Kuberentes

Bioinformatics Scientist/Research Software Engineer – UOD1104 at University of Dundee

We are seeking an individual with strong software development skills and a passion for research to join the Jalview (www.jalview.org) development team and help advance the state-of-the-art in biomolecular alignment visualisation and analysis. Jalview is a mature platform launched nearly a million times a year by students and researchers worldwide…

Continue Reading Bioinformatics Scientist/Research Software Engineer – UOD1104 at University of Dundee

Dangling user pods – Zero to JupyterHub on Kubernetes

Hello I am deploying JupyterHub in our Kubernetes environment. I noticed that the pods of the user-notebook are not killed due to inactivity, but they are when the user performs an explicit logout.This is my logs: [D 2023-10-30 14:25:26.988 JupyterHub reflector:289] Connecting pods watcher [D 2023-10-30 14:25:37.008 JupyterHub reflector:374] pods…

Continue Reading Dangling user pods – Zero to JupyterHub on Kubernetes

How to Install DataSpell on Linux: A Comprehensive Guide

With the boom of AI and data science, there’s a rise in the need for data scientists and machine learning engineers as well. Those engineers and developers need tools like an IDE to write their code and train models. A specialized IDE can enhance their workflow and improve their efficiency….

Continue Reading How to Install DataSpell on Linux: A Comprehensive Guide

Managed singleuser service on kubernetes with separated hub and proxy pods – Zero to JupyterHub on Kubernetes

KrKO_o October 28, 2023, 1:58pm 1 I’m deploying a jupyterhub instance to run nbgrader with multiple courses using the Z2JH helm chart. On startup the hub starts a managed singleuser service for each course. The problem comes, when I want to make the services publicly available. There are 3 scenarios…

Continue Reading Managed singleuser service on kubernetes with separated hub and proxy pods – Zero to JupyterHub on Kubernetes

Z2JH default Persistent Volume Claim – Zero to JupyterHub on Kubernetes

Zero to JupyterHub with Kubernetes uses by default SQLite as the database (source: Configuration Reference — Zero to JupyterHub with Kubernetes documentation). This default database is stored in a default Persistent Volume Claim defined in github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/4103cfe1089a3f6df69b0fae97442be183ae5e12/jupyterhub/templates/hub/pvc.yaml. The documentation says By default, this disk is created by the cloud provider using…

Continue Reading Z2JH default Persistent Volume Claim – Zero to JupyterHub on Kubernetes

Accessing a Google Storage Bucket mounted as a Persistent Volume – Zero to JupyterHub on Kubernetes

That’s good to know; probably means my error is somewhere in my config. I’ll try to dump the relevant settings. Output of kubectl get pod while starting a jupyterhub user server: NAME READY STATUS RESTARTS AGE continuous-image-puller-972b7 1/1 Running 0 24m continuous-image-puller-tz5ls 1/1 Running 0 26h gcs-fuse-csi-static-pvc 2/2 Running 0…

Continue Reading Accessing a Google Storage Bucket mounted as a Persistent Volume – Zero to JupyterHub on Kubernetes

Precompiling IJulia times out – Kernels

I’m having an issue starting Julia kernels and the Pluto interface when using the jupyter/datascience-notebook image as a base to build my own image. The issues occur when running locally on my Macbook (M1) and when used on a JupyterHub hosted on GCP. When using the jupyter/datascience-notebook image “as is”,…

Continue Reading Precompiling IJulia times out – Kernels

JupyterHub in Docker Container with SSL – JupyterHub

diplo October 25, 2023, 7:56pm 1 I currently have a docker container with JupyterHub installed this was the command that I ran in order to create the container sudo docker run –gpus all -d -v /mnt:/mnt -p 8000:8000 –name jup_joker jup After running this I ran sudo docker exec -it…

Continue Reading JupyterHub in Docker Container with SSL – JupyterHub

Okta integration with Jupyterhub using SAML authenticator – JupyterHub

Hello,I’m trying to set up SSO using SAML authenticator using Okta. We have been following the below documentation to make necessary changes in jupyterhub_config.py file . GitHub GitHub – HewlettPackard/jupyterhub-samlauthenticator:… jupyterhub-samlauthenticator. Contribute to HewlettPackard/jupyterhub-samlauthenticator development by creating an account on GitHub. While doing the configuration we are asked provide following…

Continue Reading Okta integration with Jupyterhub using SAML authenticator – JupyterHub

Custom Z2JH image creation using jupyter-repo2docker – Zero to JupyterHub on Kubernetes

Hello, members. 1. Goal I would like to create a custom image for Z2JH using jupyter-repo2docker command. jupyter-repo2docker github.com/norvig/pytudes works fine. 2. Question Does Z2JH use jupyter-repo2docker for creating a support images (ex. jupyter/pyspark-notebook) ? Is Z2JH base_image jupyter/base-notebook? Does anyone know how to avoid this error? (Maybe macOS docker…

Continue Reading Custom Z2JH image creation using jupyter-repo2docker – Zero to JupyterHub on Kubernetes

GitHub OAuth+ RTC: local account creation issue – JupyterHub

To give some context, here is my JupyterHub journey on Ubuntu 22.04: JupyterHub installed = OK Certbot running + mapped on config = OK Using default PAM + RTC = (I forgot what I did but it works so OK) GitHub oAuth + RTC = Error 500 (solved by creating…

Continue Reading GitHub OAuth+ RTC: local account creation issue – JupyterHub

AzureADAzureAdOAuthenticator – JupyterHub – Jupyter Community Forum

Nieves October 23, 2023, 10:28am 1 Hi I am having issues while setting JupyterHub to be used with AzureAdAuthenticator.When I set AzureAd to manage my groups and define the post_hook, nothing happens. There must be something wrong but I can not figure it out.¿Could you help me, please?This is my…

Continue Reading AzureADAzureAdOAuthenticator – JupyterHub – Jupyter Community Forum

JupyterHub redirect loop unknown version using SwarmSpawner – JupyterHub

I am attempting to configure JupyterHub with a SwarmSpawner, and I would like to get a functioning server that properly connects to the notebook swarm docker instances it launches. Upon accessing the URL of the JupyterHub server at the default port 8081 and spawning the image, the URL alternates between…

Continue Reading JupyterHub redirect loop unknown version using SwarmSpawner – JupyterHub

How can I allow users to restart their own server? – JupyterHub

We’re migrating from version 1.3.0 to 4.0.2, and it seems some permissions have changed. We have a call to the hub api for DELETE /hub/api/users/<user>/server, and on the hub it shows that the delete:servers doesn’t seem to be derived from any existing permissions Action is not authorized with current scopes;…

Continue Reading How can I allow users to restart their own server? – JupyterHub

Object has no attribute ‘cancel’

From this forum post by @yambottle, I saw that we have a bug that shows during another erroring situation. [E 2023-10-18 19:00:12.626 JupyterHub user:884] Unhandled error starting test’s server: ‘coroutine’ object has no attribute ‘cancel’ Traceback (most recent call last): File “/usr/local/lib/python3.11/site-packages/jupyterhub/user.py”, line 798, in spawn url = await gen.with_timeout(timedelta(seconds=spawner.start_timeout),…

Continue Reading Object has no attribute ‘cancel’

Jupyterhub for multiple server nodes – JupyterHub

nktra October 19, 2023, 8:01am 1 Hi. I’m very new to JupyterHub. I want to set up JupyterHub with multiple server nodes. Let’s say I have 3 server nodes, and each of them has 3 GPU cards installed. Some features that I need: Only one GPU is allowed for one…

Continue Reading Jupyterhub for multiple server nodes – JupyterHub

Jupyterhub helm chart 3.1.0+k8s 1.27.6: User pods not spawning got TimeoutError – Zero to JupyterHub on Kubernetes

Context k8s: v1.27.6helm: v3.13.0jupyterhub helm chart: 3.1.0 # configs.yaml proxy: service: type: NodePort ingress: enabled: true annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/proxy-body-size: 512m cert-manager.io/cluster-issuer: letsencrypt-prod hosts: – xxxxxxxxxxxxxxxxxxxxxxxx tls: – hosts: – xxxxxxxxxxxxxxxxxxxxxxxx secretName: codebook-tls singleuser: startTimeout: 300 debug: enabled: true Deployment seems to work fine: NAME READY STATUS RESTARTS AGE continuous-image-puller-2v74w…

Continue Reading Jupyterhub helm chart 3.1.0+k8s 1.27.6: User pods not spawning got TimeoutError – Zero to JupyterHub on Kubernetes

Different default profiles per user – Zero to JupyterHub on Kubernetes

mg4515 October 17, 2023, 6:50am 1 Hello,We are trying to set up a different default profiles per user. The use case is, people often use the Jupyterhub with remote connection to the running kernel and to my understanding Jupyterhub always launches the default profile. The users of course can go…

Continue Reading Different default profiles per user – Zero to JupyterHub on Kubernetes

jupyterhub – Jupyter Lab real-time collaboration

So I am a physics student and I use Jupyter Lab for my Lab data analysis. Basically we work in groups of three students and we wanted to find a way to share our notebooks, so that everyone can collaborate into the code and make changes to it. We want…

Continue Reading jupyterhub – Jupyter Lab real-time collaboration

Custom Domain – Inmatura AWS Docs

By default JupyterHub will be available at the public IP address of the instance. You can easily set a a custom domain, e.g. jupyterhub.domain.com, that the Load Balancer and JupyterHub will use. Optional but recommended: Configure a Elastic IP address to the EC2 instance Add a DNS A record to…

Continue Reading Custom Domain – Inmatura AWS Docs

Server Management – Inmatura AWS Docs

SSH To change any configuration in the EC2 instance you can SSH using it’s public IP address and the KeyPair selected at launch time. The default user is ubuntu. Terminal $ ssh -i ~/keypair.pem ubuntu@<ip-addres> Config directories All config files for JupyterHub are located in the /opt/jupyterhub/config/ directory. This includes…

Continue Reading Server Management – Inmatura AWS Docs

Intel Developer Cloud JupyterHub Beta Servers Issues!

Hello Intel Developer Cloud Community/Support   i hope you’re all doing well   so i’m not sure why there seems to be just too many issues regarding the Intel Developer Cloud services these days when it was working just fine for me for the past 10 days   now i’m…

Continue Reading Intel Developer Cloud JupyterHub Beta Servers Issues!

Getting [ConfigProxy] Proxy error: Error: socket hang up frequently – JupyterHub

Hi All,We are using jupyterhub3.0.0. The following error is coming frequently nowadays in our environment. Any help/suggestion is highly appreciated.11:02:40.571 – error: [ConfigProxy] Proxy error: Error: socket hang upat createHangUpError (_http_client.js:254:15)at Socket.socketCloseListener (_http_client.js:286:23)at emitOne (events.js:101:20)at Socket.emit (events.js:188:7)at TCP._handle.close [as _onclose] (net.js:509:12)11:02:40.571 – error: [ConfigProxy] 503 GET /hub/health11:02:40.571 – error: [ConfigProxy]…

Continue Reading Getting [ConfigProxy] Proxy error: Error: socket hang up frequently – JupyterHub

Installing sagemath on tljh – The Littlest JupyterHub

mig39 October 13, 2023, 3:49am 1 So I’ve installed TLJH on a ubuntu22.04 vm. It’s working great, I have it exposed to the internet, installed letsencrypt, and some users. So far so good I want to install sagemath for some students to use as well, inside this Jupyter environment. I’ve…

Continue Reading Installing sagemath on tljh – The Littlest JupyterHub

[PAM Error 7] Authentication failure – JupyterHub

rick63 October 12, 2023, 8:54am 1 Hi,I installed Jupyterhub 4.0.2 in my pc linux (with Ubuntu 22.04 o.s.).I can to access to Jupyterhub by my system user login.So, I want to make any other user (for example “salvatore”) that can access to Jupyterhub.I make a generic user, add this user…

Continue Reading [PAM Error 7] Authentication failure – JupyterHub

Working directory – JupyterHub – Jupyter Community Forum

rick63 October 11, 2023, 4:42pm 1 Hi,I would like to change my working directory.I modify in jupyterhub_config.py the parameter c.Spawner.notebook_dir, but I see all directory. I want to hide any directory.What I to do ? manics October 11, 2023, 8:18pm 2 Hi! Could you expand on what you mean by…

Continue Reading Working directory – JupyterHub – Jupyter Community Forum