Tag: jupyterhub

Launch jupyterhub-singleuser with sudo privileges – JupyterHub

My use case for jupyterhub requires that each user be able to access low-level resources of the system, which are only accessible with high-privileges (sudo). So basically what I am trying to do is: c.Spawner.cmd = “sudo jupyterhub-singleuser” Of course, this does not work as this is not interpreted as…

Continue Reading Launch jupyterhub-singleuser with sudo privileges – JupyterHub

Jupyterhub on kubernetes, hub stuck on pending, no error in describe pod – JupyterHub

Used the following commands to install kubernetes and the jupyterhub 2.0.0 from helm chart:sudo snap install microk8s –classic –channel=1.27sudo usermod -a -G microk8s rootsudo chown -f –R root ~/.kubesudo usermod -a -G microk8s ziadminsudo chown -f -R ziadmin ~/.kubemicrok8s enable dnsmicrok8s enable hostpath-storagemicrok8s enable helm3microk8s enable metallb:10.0.54.200-10.0.54.220sudo systemctl enable iscsid.servicemicrok8s…

Continue Reading Jupyterhub on kubernetes, hub stuck on pending, no error in describe pod – JupyterHub

TLJH – SSO via Keycloak with IPA as the idP – JupyterHub

I’ve got Jupyterhub stood up on a new Ubuntu VM and integrated the generic oauthenticator with Keycloak (Happy to share configs if it helps someone). Keycloak is using IPA as the ID store. SSO into JupyterHub/Notebooks seems to work well except… The users created on the JupyterHub VM are named…

Continue Reading TLJH – SSO via Keycloak with IPA as the idP – JupyterHub

Using custom kernels to offer different sets of packages to user groups – JupyterHub

Hi all, I am trying to set JupyterHub so that each user group can choose from a different set of available preconfigured packages. I figured out this might be done via venv’s (one for each group), but there are some issues. I installed the new venv, jupyterhub sees it and…

Continue Reading Using custom kernels to offer different sets of packages to user groups – JupyterHub

JupyterHub in HPC Monthly Meeting (2023-06-07) – Events

Hi everyone, There’s a monthly meeting on the use of JupyterHub in HPC and general Jupyter in HPC topics. Everyone interested in the intersection of Jupyter and HPC is invited. Standing items include a check in on developments with Batchspawner and Wrapspawner but the agenda typically covers a wide variety…

Continue Reading JupyterHub in HPC Monthly Meeting (2023-06-07) – Events

kubernetes – Unable to run spark jobs from jupyterhub

I was trying to deploy spark on kubernetes after some try and following this guide dev.to/akoshel/spark-on-k8s-in-jupyterhub-1da2 I successfully ran the example pi by using spark-submit from local system and it worked beautifully and I was able to see the pod in completed status. /opt/spark/bin/spark-submit \ –master \ –deploy-mode cluster…

Continue Reading kubernetes – Unable to run spark jobs from jupyterhub

How to install a JupyterLab extension for all JupyterHub users? – JupyterHub

Hello! I would really appreciate help with installing a JupyterLab extension for all JupyterHub users. I’ve read various threads including this but (aside from using Lab) it seems my environment is configured differently. We are using Ubuntu 22.04 LTS, with JupyterHub being run as a service by root (ExecStart=/root/.pyenv/shims/jupyterhub -f…

Continue Reading How to install a JupyterLab extension for all JupyterHub users? – JupyterHub

ValueError: services jupyterhub-idle-culler defined in config role definition jupyterhub-idle-culler but not present in database – Zero to JupyterHub on Kubernetes

I recently tried to upgrade my Z2JH helm chart but got the following error, not sure how to fix this. Didn’t find anything on the internet. Everything is up but the hub pod is failing continuously with this error. Here is the version, I upgraded toHelm chat version: 2.0.0JupyterHub: 3.0.0Jupyterlab:…

Continue Reading ValueError: services jupyterhub-idle-culler defined in config role definition jupyterhub-idle-culler but not present in database – Zero to JupyterHub on Kubernetes

Disk space utilization – The Littlest JupyterHub

Hello Everyone, I have installed TLJH on an EC2 instance and currently have a user count of 140 users(88 active). I am constantly facing issues with disk space consumption. Is there any way I can restrict file upload to TLJH. It would be very helpful if someone can guide me…

Continue Reading Disk space utilization – The Littlest JupyterHub

Connect local runtime from Google Colab on laptop/pc to tljh on server – The Littlest JupyterHub

Hi, we have tljh running on a server S.I can open Google Colab on a laptop L. What is necessary to adjust in the tljh installation on S, such that it can be used as a local runtime for Colab on L. I have added to /opt/tljh/config/jupyterhub_config.d/GoogleColab.py on S c.JupyterHub.tornado_settings…

Continue Reading Connect local runtime from Google Colab on laptop/pc to tljh on server – The Littlest JupyterHub

JupyterHub on EKS with EFS storage

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per…

Continue Reading JupyterHub on EKS with EFS storage

Named Server and unique Workdirectories – JupyterHub

Is there somehow possible to define individual working directories for each named server?(e.g. /home/jupyter-USERNAME/Servername/) The background is that I would like to use a named server for each project I am working on and only have access to the data for this project. Currently, all Named Servers use the same…

Continue Reading Named Server and unique Workdirectories – JupyterHub

Does 2.0.0 version support k8s version 1.24.x? – Zero to JupyterHub on Kubernetes

Hello,As per the following file, it seems that the version 2.0.0 is only supported till 1.23.x of k8s. github.com jupyterhub/zero-to-jupyterhub-k8s/blob/cf3f00a7ee4beaea12df86693721d93f3f6b13a9/.github/workflows/test-chart.yaml#L132-L214 – k3s-channel: latest test: install – k3s-channel: stable test: install – k3s-channel: v1.21 # also test prePuller.hook test: install local-chart-extra-args: >- –set prePuller.hook.enabled=true –set prePuller.hook.pullOnlyOnChanges=true – k3s-channel: v1.20 # also…

Continue Reading Does 2.0.0 version support k8s version 1.24.x? – Zero to JupyterHub on Kubernetes

Jupyterhub deployment on k8s 1.27 – Zero to JupyterHub on Kubernetes

viral May 31, 2023, 3:37am 1 Hello! I am trying to deploy Jupyterhub 2.0.0 helm chart on k8s version 1.27.2 inside minikube VM. When trying to deploy the helm chart locally, I get the following error on hub pod (after this pod keeps on restarting with the same error): Loading…

Continue Reading Jupyterhub deployment on k8s 1.27 – Zero to JupyterHub on Kubernetes

Intalling jupyterhub to which drive? – JupyterHub

When installing the Littlest Jupyterhub, I get stuck at setting up user environment due to no space left on device… I have a device with space left on it but the installer seems to point elsewhere. Solution? TLJH is designed to hide some of the complexity of setting up JupyterHub,…

Continue Reading Intalling jupyterhub to which drive? – JupyterHub

Jupyterhub file browser folders disappear constantly – JupyterHub

Description JupyterHub has been installed on ubuntu 22.04 and connected to the active directory with sssd. A user account will automatically be created when a windows user logs onto the jupyterhub. A symbolic link will automatically be made from the user home folder tot the mounted volume. The mounted volume…

Continue Reading Jupyterhub file browser folders disappear constantly – JupyterHub

How To Deploy Jupyter Notebook Online

Discover multiple options for deploying Jupyter notebooks online, including Saturn Cloud, JupyterHub, Binder, CoCalc, and cloud providers like AWS, Azure, and GCP As a data scientist, you may have encountered situations where you need to share your Jupyter notebooks with colleagues or clients who are not familiar with the platform….

Continue Reading How To Deploy Jupyter Notebook Online

Creyon Bio hiring Bioinformatics Analyst in San Diego Metropolitan Area

Who You Are: You are an intrepid Bioinformatics Data Analyst passionate about distilling information from biological datasets. You have strong skills in bioinformatics, statistics & statistical learning, data science, data visualization & building data analysis dashboards/reports. You have worked on biological problems involving NGS readouts and understand biological engineering principles….

Continue Reading Creyon Bio hiring Bioinformatics Analyst in San Diego Metropolitan Area

Configure JupyterHub to Use Nexus Repositories – discuss

We use Nexus as our internal repo. What configuration modifications do we need to make to route pip and cran calls inside JupyterHub to our internal Nexus repos. Hi. Do you mean you want to redirect calls made from a shell in a singleuser server such as JupyterLab to PyPI…

Continue Reading Configure JupyterHub to Use Nexus Repositories – discuss

How to disable terminal for user notebook – JupyterHub

hi,I want to close the terminal of the user notebook in jupyterhub using the k8s environment. How should I configure my config.yaml file? I tried this configuration before, but it didn’t work。singleuser:extraFiles:my_config:mountPaht:/home/jupyterhub/jupyter_notebook_config.pyData: |c.NotebookApp.terminals_enalbed = FalseThe version I am using is k8s-hub:1.2.0 Omi May 25, 2023, 2:06pm 2 Might be helpful…

Continue Reading How to disable terminal for user notebook – JupyterHub

Batchspwaner fail to callback to the hub – JupyterHub

We upgraded JupyterHub to 4.0.0 but jupyter-singleuser 4.0.0 sessions spawened by the batchspwaner fail to callback to the hub and the session is stuck in pending. Same configuraton works well with JupyterHub version 2. I could only see the following warning log: /local/jupyterhub/4.0/lib/python3.8/site-packages/batchspawner/singleuser.py:17: RuntimeWarning: coroutine ‘HubAuth._api_request’ was never awaitedhub_auth._api_request(RuntimeWarning: Enable…

Continue Reading Batchspwaner fail to callback to the hub – JupyterHub

Spawned instance ignores override port parameter from JupyterHub spawner – JupyterHub

Summary New image used to spawn single user instances ignores port parameter override from spawner. Instance spawns successfully but tries to bind port 80 rather than 8888 passed from the spawner. The same spawner config works with a previous build of the spawned image, so issue may be in the…

Continue Reading Spawned instance ignores override port parameter from JupyterHub spawner – JupyterHub

amazon ec2 – How can I install a private Python package on JupyterHub running on a single EC2 instance with multiple users?

I’m trying to create a development environment for a team of data analysts. The setup should be JupyterHub running on a single EC2 instance with multiple users who have access to a private Python package which I maintain on Github. Each user should have their own environment with their own…

Continue Reading amazon ec2 – How can I install a private Python package on JupyterHub running on a single EC2 instance with multiple users?

How to set the default viewer to markdown preview? – JupyterHub

Hello everyone, is it possible to set the default viewer of markdown to preview? The current default is the markdown editor. Instead users wanted to open the markdown(.md) file as a preview. Please let me know if that is possible. Thank you in advance. As detailed in the link from…

Continue Reading How to set the default viewer to markdown preview? – JupyterHub

Unable to open a folder on Jupyter notebook – JupyterHub

I’m able to launch jupyter notebook from anaconda. However, I’m unable to open a particular folder on the notebook where I have saved a python notebook. The size of this folder is 125 MB. On the contrary, I’m able to open another folder (size: 20 KB) with a python notebook….

Continue Reading Unable to open a folder on Jupyter notebook – JupyterHub

Protect routes while running a custom singleuser server – Zero to JupyterHub on Kubernetes

Hi all, I am using Z2JH as an orchestration platform, to deploy a singleuser app (code-server), to multiple users. I would like each user to be restricted to their own app instance. So, user John can only visit /user/john, and not user/mary. Currently, all user routes are stored in the…

Continue Reading Protect routes while running a custom singleuser server – Zero to JupyterHub on Kubernetes

Binderhub + Jupyterhub 4 – Error creating user xxxxxx: HTTP 403: Forbidden – Binder – Jupyter Community Forum

Hi , I am trying to run a single instance BinderHub based on the scripts provided in binderhub/testing/local-binder-local-hub at main · jupyterhub/binderhub · GitHub. I’ve successfully setup single instance hubs previously without an issue like this. In setting up another instance of a binderhub, I am now hitting an error…

Continue Reading Binderhub + Jupyterhub 4 – Error creating user xxxxxx: HTTP 403: Forbidden – Binder – Jupyter Community Forum

Download JetBrains DataSpell 2023.1.2 – SoftArchive

JetBrains DataSpell is an IDE for data science with intelligent Jupyter notebooks, interactive Python scripts, and lots of other built-in tools. Intelligent Jupyter notebooksTuned for high interactivitySwitch between command and editor modes with a single keystroke. Navigate over cells with arrow keys. Use all of the standard Jupyter shortcuts. Enjoy…

Continue Reading Download JetBrains DataSpell 2023.1.2 – SoftArchive

Jupyter Spawning Server failure – discuss

Hi everyone! I’m asking a general question as I’m very new to working with Python and Jupyter. I’ve downloaded Anaconda with the Jupyter Notebook 6.5.4 version, JupyterLab 3.5.3, and Spyder 5.4.3. My college course has created a Jupyter Hub server which I have not been able to access. I receive…

Continue Reading Jupyter Spawning Server failure – discuss

drivers – jupyterhub failed to start

hello everyone i installed jupyter in my cluster but it seems that cm-jupyterhub.service cant start from the error that i got i think its about jupyter cant find its module file can someone check with me because i dont know where to start to fix this systemctl status cm-jupyterhub.service ●…

Continue Reading drivers – jupyterhub failed to start

Failed to start service – nbgrader with jupyterhub – JupyterHub

csee May 16, 2023, 12:39pm 1 I try to get nbgrader to run with a jupyterhub 2.3 but get an error (Failed to start service)It seems to be because a user is not found as it says:jupyterhub | File “/usr/local/lib/python3.8/dist-packages/jupyterhub/spawner.py”, line 1487, in user_envjupyterhub | home = pwd.getpwnam(self.user.name).pw_dirjupyterhub | KeyError:…

Continue Reading Failed to start service – nbgrader with jupyterhub – JupyterHub

Unexpectedly long `PodInitializing` state after `Started container notebook` – Binder

Hi all, I am running into a problem where singleuser pod for one particular binderhub-built image takes forever to complete PodInitializing state (Message: Started container notebook), for example: jupyter-simexp-2dfmriprep-2dnoise-2dbenchmark-2dj8bc29h6 0/1 PodInitializing 0 54m Eventually after a looong wait, it changes to running, but a latency of 1hr+ is not really…

Continue Reading Unexpectedly long `PodInitializing` state after `Started container notebook` – Binder

Single-user notebook is not starting after the SLURM instance is selected. – JupyterHub

Hi everyone, I have integrated JupyterHub with SLURM using batchspawner. After selecting the SLURM instance from the dropdown menu in JupyterHub, the page is not redirected to the notebook server even after the job is in running state. The following message is displayed“Your server is starting up. You will be…

Continue Reading Single-user notebook is not starting after the SLURM instance is selected. – JupyterHub

`readwritemany` shared drive on GKE? – Zero to JupyterHub on Kubernetes

JES May 15, 2023, 8:32am 1 I have a Kubernetes-based JupyterHub deployed on Google Cloud. My Hub has a shared drive that is accessible to all users so they can quickly share files, access common datasets etc. Google PVs don’t support readwritemany access and Google Filestore is too expensive. However,…

Continue Reading `readwritemany` shared drive on GKE? – Zero to JupyterHub on Kubernetes

Jupyterhub to Github authentication using secrets – Zero to JupyterHub on Kubernetes

Hi Team, I did a setup of Jupyrthub authentication with Github via hub.config. This was working perfect but due to secret protection we need to fetch client secret from ext secret manager here AWS secret manager. So I did created a k8s secret using external secret for the same but…

Continue Reading Jupyterhub to Github authentication using secrets – Zero to JupyterHub on Kubernetes

JupyterHub – eResearch – UNIGE

Effortlessly setup a fully functional data science environment JupyterHub is an online version of the popular Jupyter notebook server that enables researchers, students, and professors to easily integrate programming scripts with text descriptions or visualizations to create captivating data stories. Through JupyterHub, users only need their institution’s login and a…

Continue Reading JupyterHub – eResearch – UNIGE

Using GoogleOAuthenticator and allowed_groups on TLJH instance – The Littlest JupyterHub

I’ve been through the TLJH docs and can’t find how to configure the GoogleOAuthenticator to allow only certain Google groups. The auth section of /opt/tljh/config/config.yaml on my VM instance is as follows: auth: type: oauthenticator.google.GoogleOAuthenticator GoogleOAuthenticator: login_service: Foo hosted_domain: foo.com client_id: ********************* client_secret: ********** oauth_callback_url: HUB.foo.com/hub/oauth_callback allowed_google_groups: foo.com: – GROUP_NAME…

Continue Reading Using GoogleOAuthenticator and allowed_groups on TLJH instance – The Littlest JupyterHub

Download – JetBrains DataSpell 2023.1

Overview of JetBrains dataSpell​ This Integrated Development Environment (IDE) is dedicated to specific tasks for exploratory data analysis and prototyping ML (machine learning) models. You can switch between command and editor modes with a single keystroke. Navigate over cells with arrow keys. Use all of the standard Jupyter shortcuts. Enjoy…

Continue Reading Download – JetBrains DataSpell 2023.1

Issues using ArcGIS API for Python in JupyterHub

Hello everyone! My company hosts a JupyterHub instance internally. I am looking to import and use the ArcGIS API on it by running a Conda environment with all of the required packages. I have generated an environment.yml file of requriements using the Conda environment from ArcGIS Pro. When using that…

Continue Reading Issues using ArcGIS API for Python in JupyterHub

Failed to start the single-user server in JupyterHub – Zero to JupyterHub on Kubernetes

Hi, I recently encountered an error indicating spawn failure due to the python module issue. From the error log it suggested /opt/conda/bin/jupyterhub-singleuser is trying to load the ‘alembic’ package from /home/jovyan/.local instead of from /opt/conda/lib. What is strange to me is that all the other people can successfully launch their…

Continue Reading Failed to start the single-user server in JupyterHub – Zero to JupyterHub on Kubernetes

Jupyterhub install kubernetes – Zero to JupyterHub on Kubernetes

chat version: 2.0.0 hub error log [W 2023-05-11 08:27:49.529 JupyterHub app:2860] init_spawners did not complete within 10 seconds. Allowing to complete in the background. [I 2023-05-11 08:27:49.529 JupyterHub app:3057] Not starting proxy [I 2023-05-11 08:27:49.553 JupyterHub app:3093] Hub API listening on http://:8081/hub/ [I 2023-05-11 08:27:49.553 JupyterHub app:3095] Private Hub API…

Continue Reading Jupyterhub install kubernetes – Zero to JupyterHub on Kubernetes

Jupyterhub startup vs user configuration – JupyterHub

I have a Jupyterhub instance I’ve deployed to google (GCP) using repo2docker. The instance is currently running fine with several user libs imported via pip, and is using Google Authentication. I am trying to deploy a custom Authenticator but having path issues All the user pip installs go to /opt/conda/lib/python3.10/site-packages,…

Continue Reading Jupyterhub startup vs user configuration – JupyterHub

python 3.x – Not able to see the Button “Sign in with GitHub” in JupyterHub login page even after Configuring with GitHub OAuthenticator

We should see the GitHub login button in JupyterHub Login page GitHub Login button in JupyterHub Login Page But getting the JupyterHub Login page instead of GitHub Login Button Even After Configuring with GitHub OAuth JupyterHub login Page Description: I want to integrate custom Authenticator for JupyterHub Application instead of…

Continue Reading python 3.x – Not able to see the Button “Sign in with GitHub” in JupyterHub login page even after Configuring with GitHub OAuthenticator

Papermill Import not working on Jupyter Server – JupyterHub

I am unable to import papermill. Pasting error that I am getting. I am using JupyterHub + enterprise kernel gateway ————————————————————————— AssertionError Traceback (most recent call last) Cell In[4], line 1 —-> 1 import papermill File /opt/conda/lib/python3.9/site-packages/papermill/__init__.py:4 1 from .version import version as __version__ 3 from .exceptions import PapermillException, PapermillExecutionError…

Continue Reading Papermill Import not working on Jupyter Server – JupyterHub

Use jupyter-server-proxy with hub in kubernetes – Zero to JupyterHub on Kubernetes

Hi all,I’m struggling since a couple of days with jupyter-server-proxy setup:Basically, I use a kubernetes cluster and I deployed z2jh helm chart on this cluster (I didn’t customize anything in the helm chart, except that I enabled “debug” in the values.yaml file)In the k8s namespace, I can see a pod…

Continue Reading Use jupyter-server-proxy with hub in kubernetes – Zero to JupyterHub on Kubernetes

embed – POST /hub/security/csp-report ‘_xsrf’ argument missing from POST in jupyterhub

I want to embed jupyterhub into my angular project for that I have write some code in jupyterhub_config.py file that i attached below.After doing that, I am able to login to jupyterhub in my angular project but after starting server i am facing error of 403. Api of csp-report is…

Continue Reading embed – POST /hub/security/csp-report ‘_xsrf’ argument missing from POST in jupyterhub

POST /hub/security/csp-report ‘_xsrf’ argument missing from POST – JupyterHub

Hi all,I want to embed jupyterhub into my angular project for that I have write some code in jupyterhub_config.py file that i attached below.After doing that, I am able to login to jupyterhub in my angular project but after starting server i am facing error of 403. Api of csp-report…

Continue Reading POST /hub/security/csp-report ‘_xsrf’ argument missing from POST – JupyterHub

How to define node affinities only for certain types of instances? – JupyterHub

Not sure if I’m explaining this correctly. My use case is the following:I have a Jupyterhub server running with several available types of instances, PoC example below. Let’s assume that the Powerful DS Tenant needs a GPU-enabled node, but the rest should be using standard machines. I’m aware that the…

Continue Reading How to define node affinities only for certain types of instances? – JupyterHub

Deploying The Littlest JupyterHub at the University of Wisconsin-Milwaukee : News@Unidata

By Dr. Clark Evans, Michael Vossen, and Alex MoxonDepartment of Atmospheric ScienceUniversity of Wisconsin-Milwaukee Thanks to generous financial support provided by Unidata in summer 2021, the University of Wisconsin-Milwaukee Atmospheric Science Program purchased one Dell PowerEdge T640 server to enable us to continue our IDD participation and deploy a local…

Continue Reading Deploying The Littlest JupyterHub at the University of Wisconsin-Milwaukee : News@Unidata

Jupyerhub spawner failing with an exception: “Initial list of events failed” – Zero to JupyterHub on Kubernetes

I am installing jupyterhub on k8s cluster using the following instructions z2jh.jupyter.org Installing JupyterHub With a Kubernetes cluster cluster available and Helm installed, we can install JupyterHub in the Kubernetes cluster using the JupyterHub Helm chart. Initialize a Helm chart configuration file: Helm… Kubectl Client Version: v1.27.1Kubectl Server Version: v1.20.12helm…

Continue Reading Jupyerhub spawner failing with an exception: “Initial list of events failed” – Zero to JupyterHub on Kubernetes

Meeting with Satra – HackMD

Meeting with Satra – HackMD # Meeting with Satra ## Authentication -> Authorization We want to: 1. Read data from some source – This can be done in many ways: custom api call, mounted list etc 3. How to decide authorization dynamically – Configuring allowed_users? github.com/jupyterhub/jupyterhub/blob/11f00dbbe794191d328c6c2a44a9e85f7eb6ede5/jupyterhub/auth.py#L270-L304 – eading of ACL…

Continue Reading Meeting with Satra – HackMD

JupyterHub in K8s, Profile None Type on First Login Only – Zero to JupyterHub on Kubernetes

I’m experiencing abug that isn’t throwing any errors or warnings in the logs. When a user logs into JupyterHub (hosted in Kubernetes), after the user has been authenticated (via third party, so there is a redirect happening), if the JH database has existing tables, the profile selection screen (which we’re…

Continue Reading JupyterHub in K8s, Profile None Type on First Login Only – Zero to JupyterHub on Kubernetes

Download JetBrains DataSpell 2023.1 Free Full Activated

Free download JetBrains DataSpell 2023.1 full version standalone offline installer for Windows PC, JetBrains DataSpell Overview This Integrated Development Environment (IDE) is dedicated to specific tasks for exploratory data analysis and prototyping ML (machine learning) models. You can switch between command and editor modes with a single keystroke. Navigate over…

Continue Reading Download JetBrains DataSpell 2023.1 Free Full Activated

Getting permission denied error while access Unix Filesystems in JupyterHub – JupyterHub

We are have installed jupyterhub (2.3.1) with Python 3.6v on redhat linux 7 platform.The jupyterhub service is running with non-root user, with application account as we used the same application account to install Python and Jupyter Hub.Users are getting permission denied error while access their Unix File Systems from Jupyter…

Continue Reading Getting permission denied error while access Unix Filesystems in JupyterHub – JupyterHub

Change default JupyterLab working directory – JupyterLab

HI, I’m a total noob here so please go easy on me. My goal is to have JupyterHub/JupyterLab running on Docker inside an Azure Container Instance, and have a persistent Azure File Share mounted to the container instance. Some background. I’m using Docker Desktop (windows) to create the image. Then…

Continue Reading Change default JupyterLab working directory – JupyterLab

How to Auto-Create Users for SimpleLocalProcessSpawner on 3rd Party Login alongside Conda? – JupyterHub

Context:I am trying to setup JupyterHub (on a single EC2 server, HTTPS is provided via a reverse Nginx proxy URL) such that a small number of users authenticate with a 3rd party Solution (KeyCloak) and upon redirect back to the JupyterHub/Lab will automatically have a user created for them locally….

Continue Reading How to Auto-Create Users for SimpleLocalProcessSpawner on 3rd Party Login alongside Conda? – JupyterHub

How to improve security in nginx bloc for jupyterhub – discuss

arnome April 26, 2023, 3:47pm 1 Hi everyone, I have set up a jupyterhub server with nginx as reverse proxy. I start making the nginx bloc configuration file using the one give in the official documentation and I add some rules to « harding nginx ». This is the current…

Continue Reading How to improve security in nginx bloc for jupyterhub – discuss

JupyterHub on Kubernetes: Spawn Failed for users with `timeout 3`. Increase pod creation Timeout – Zero to JupyterHub on Kubernetes

I am having an issue where the hub pod is unable to spawn user pods, and failing within 30 seconds with a timeout error, even though the singleuser.startTimeout is set to 30000. While trying to create the pod, I see the logs saying Attempting to create pod jupyter-user3, with timeout…

Continue Reading JupyterHub on Kubernetes: Spawn Failed for users with `timeout 3`. Increase pod creation Timeout – Zero to JupyterHub on Kubernetes

Oauth state missing from cookies – JupyterHub

Hi, I install jupyterhub in my vm machine,also i done with ssl and sso of jupyterhub with keycloak.and its working smoothly. Now i want to embed jupyterhubin my angular application for that i have added following code to jupyterhub_config.py file. I was able to see jupiterhub in my angular application…

Continue Reading Oauth state missing from cookies – JupyterHub

kubernetes – Connection to dask gateway server fails with JupyterHub authentication

I am doing a multi user setup with DaskHub and JupyterHub with the use of Daskgateway servers but my connection to dask-gateway servers fails with error: Error ClientConnectorError: Cannot connect to host traefik-dask-gateway:80 ssl:default [Name or service not known] Connection string used: from dask_gateway import Gateway gateway = Gateway( address=”http://traefik-dask-gateway/services/dask-gateway/”,…

Continue Reading kubernetes – Connection to dask gateway server fails with JupyterHub authentication

JupyterHub 4.0 release – JupyterHub

minrk April 20, 2023, 12:21pm 1 JupyterHub 4.0 is out! 4.0 is a major release, but a small one. There are three major changes that should be invisible to most users: Groups can now have ‘properties’, editable via the admin page, which can be used by Spawners for their operations.This…

Continue Reading JupyterHub 4.0 release – JupyterHub

JupyterHub share folder – Zero to JupyterHub on Kubernetes

Can we have share folder/volumn between pods , which are created by Jupyterhub users gcerar April 18, 2023, 9:30pm 2 Sure you can. On our setup, we have something like singleuser: … storage: capacity: 10Gi extraVolumes: – name: shm-volume emptyDir: medium: Memory – name: jupyterhub-shared persistentVolumeClaim: claimName: jupyterhub-shared-volume – name:…

Continue Reading JupyterHub share folder – Zero to JupyterHub on Kubernetes

Whese does Authorization token generated with jupyterhub + jupyterlab + Dockerspawner – JupyterLab

When using the combination of JupyterHub, JupyterLab, and DockerSpawner, I’ve noticed that the token found in the browser request header Authorization: token xxx is different from the token displayed in the terminal, such as localhost:8888/?token=yyy. The browser token appears in a format like tnKM6RjHAuYuHrTwuwOu2BDqAAEjSv, while the terminal token has a…

Continue Reading Whese does Authorization token generated with jupyterhub + jupyterlab + Dockerspawner – JupyterLab

How do I set JupyterHub’s URL to directly redirect to the Linux desktop page? – JupyterHub

JupyterHub provides jupyter-remote-desktop-proxy, which allows you to start a Linux desktop and connect to it via VNC. How do I set up JupyterHub’s configuration file, or how do I give a JupyterHub URL that can directly redirect to the Linux desktop page after logging into JupyterHub?Thanks! Dear @fiveight58, Once you…

Continue Reading How do I set JupyterHub’s URL to directly redirect to the Linux desktop page? – JupyterHub

Permission denied error to unix path in JupyterHub – JupyterHub

Hi,Users are not able to access their drives from jupyterhub while they are able to do so using putty by logging to the server.JuoyterHub is installed using an application account and not root and the JuoyterHub service is running with the application account. Can you please advice how to fix…

Continue Reading Permission denied error to unix path in JupyterHub – JupyterHub

process: exec: “jupyterhub-singleuser”: executable file not found in $PATH: unknown

I’m trying to spin up JupyterHub on EKS with multiple profiles as per the docs. The thing is that whenever I try to customize the image as by the docs and spin up the environment, I get the error Error: failed to start container “notebook”: Error response from daemon: failed…

Continue Reading process: exec: “jupyterhub-singleuser”: executable file not found in $PATH: unknown

Helm pull/search (remote) – Zero to JupyterHub on Kubernetes

BenGig April 12, 2023, 8:11am 1 For integration in a deployment environment, I want to pull the helm chart by “helm pull”. The command fails (ignore the backslash in front of ‘https’, the editor would mess up the text by inserting the page title): % helm pull –repo \https://jupyterhub.github.io/helm-chart/ jupyterhub/jupyterhub…

Continue Reading Helm pull/search (remote) – Zero to JupyterHub on Kubernetes

jupyterhub-tmpnativeauthenticator 1.0.1 on PyPI – Libraries.io

This is a relatively simple authenticator for small or medium-sized JupyterHub applications. Signup and authentication are implemented as native to JupyterHub without relying on external services. NativeAuthenticator provides the following features: New users can signup on the system; New users can be blocked from accessing the system awaiting admin authorization;…

Continue Reading jupyterhub-tmpnativeauthenticator 1.0.1 on PyPI – Libraries.io

Some problems about jupyterhub deployment environment – JupyterHub

micoco April 11, 2023, 10:46am 1 I confirm that I have configured configurable configurable http-proxy. Why keep reporting this error? micoco April 11, 2023, 10:48am 3 here is my config of jupyterhub_config.py micoco April 11, 2023, 10:49am 4 and i can execute configurable-http-proxy manics April 11, 2023, 12:58pm 5 Hi!…

Continue Reading Some problems about jupyterhub deployment environment – JupyterHub

Setting default user settings on TLJH – The Littlest JupyterHub

Hi,How would I go about setting default user settings for users in a TLJH installation using Jupyter Lab? I’m referring to the settings set in the “Advanced Settings Editor”. For instance, I would like to turn off the “showEditorForReadOnlyMarkdown” setting in notebook-extension by default for our users, since we use…

Continue Reading Setting default user settings on TLJH – The Littlest JupyterHub

New terminal failed – JupyterHub

seven April 7, 2023, 1:36am 1 jupyterhub:2.2.2system: centos 8the notebook page show nothing when i click new terminal in top menu.the server console: Traceback (most recent call last):File “/usr/local/lib/python3.6/site-packages/ptyprocess/ptyprocess.py”, line 522, in reads = self.fileobj.read1(size)OSError: [Errno 5] Input/output error During handling of the above exception, another exception occurred: Traceback (most…

Continue Reading New terminal failed – JupyterHub

Getting 302 redirect – Zero to JupyterHub on Kubernetes

Hi Team ,When I try to use jupyterhub getting 302 redirects, there are many redirects. I am using istio. I am using prefix /jupyterhub to expose the jupyterhub service . but prefix is rewritten into / using istio routetable mechanism. WHen we try to access the hub we see many…

Continue Reading Getting 302 redirect – Zero to JupyterHub on Kubernetes

How to enable GPU support for notebook images? – JupyterHub

Hi there, I have some sysadmin and DevOps experience, but pretty much a newbie in ML and Python, so please bear with me:)I have set up a docker-compose based JupyterHub deployment for our machine learning team, and we can access the notebooks normally. But since the machine does have a…

Continue Reading How to enable GPU support for notebook images? – JupyterHub

Solved Og in to Jupyterhub. (Refer to previous labs if you

Transcribed image text: Og in to Jupyterhub. (Refer to previous labs if you have questions about how to log in.) ollow the instruction: a Create a source fie called ela17.py using the file editor in idle3. (Refer CLA2. Introduction to IDLE for how to use IDLE from Jupytemub) – To…

Continue Reading Solved Og in to Jupyterhub. (Refer to previous labs if you

Dockerized JupyterHub runs, login works from console, but not in front end – JupyterHub

ValRCS April 5, 2023, 12:44pm 1 How to get past login on a fresh install of Jupyterhub inside Docker container? I created a fresh Docker container of jupyterhub image, run bash, added users, installed jupyterlab and launched it. My admin user appears to log in but front end does not…

Continue Reading Dockerized JupyterHub runs, login works from console, but not in front end – JupyterHub

Unable to use huggingface-cli in Jupyterhub

I created my model using HuggingFace Transformers. When I try to push to HuggingFace Hub, it shows the following error when I execute trainer.push_to_hub(): OSError: Failed to start custom transfer command “huggingface-cli” remote: exec: “huggingface-cli”: executable file not found in $PATH error: failed to push some refs to ‘https://my_hugging_face_url_with_login_token’ The…

Continue Reading Unable to use huggingface-cli in Jupyterhub

“User logged in:” but not actually logged in – JupyterHub

azega March 27, 2023, 8:44am 1 Typing jupyterhub in a terminal on a fresh jupyterhub install through anaconda on a red hat 8.7 server – I get a login screen on :8000 port, all is well. When I type the username and password (I know it’s correct, because I am…

Continue Reading “User logged in:” but not actually logged in – JupyterHub

Introduction to interactive HPC with JupyterHub IT Center Events

Wednesday, 12. April ► 9:00 – 10:30 Abstract The HPC JupyterHub service at the RWTH allows all eligible users of the RWTH Compute Cluster to utilize the existing compute hardware interactively with the use of Jupyter Notebooks. This HPC JupyterHub provides customization of Profiles with a variety of programming kernels,…

Continue Reading Introduction to interactive HPC with JupyterHub IT Center Events

JetBrains dataSpell 2022.1.1 Full Version Download

Free Download JetBrains dataSpell full version standalone offline installer for Windows. This is an Integrated Development Environment (IDE) for Professional Data Scientists. Overview of JetBrains dataSpell This Integrated Development Environment (IDE) is dedicated to specific tasks for exploratory data analysis and prototyping ML (machine learning) models. You can switch between…

Continue Reading JetBrains dataSpell 2022.1.1 Full Version Download

docker compose – Can’t login to my server jupyterhub via http – Stack Overflow

I’m trying to set up a jupyterhub on my server and access it via an external network. I’m new on it so I’m using this repo as a starting point. I changed jupyterhub_config.py to use a Dummy authenticator. The complete file looks like this: import os c = get_config()  #…

Continue Reading docker compose – Can’t login to my server jupyterhub via http – Stack Overflow

What makes a valid username on JupyterHub / TLJH? – The Littlest JupyterHub

Hi! As a hub admin I wondered what consists a valid username for hub users. Are there any pitfalls with special characters, etc? Is it a good idea to use someones email address for example? I could not find any info on this here manics March 24, 2023, 7:29pm 2…

Continue Reading What makes a valid username on JupyterHub / TLJH? – The Littlest JupyterHub

Add scopes to `JUPYTERHUB_API_TOKEN` through Helm chart values – Zero to JupyterHub on Kubernetes

Good afternoon, I’ve recently updated to chart version 2.0.0 of JupyterHub (app version 3.0.0) from the repository at See installation instructions for: | JupyterHub’s Helm chart repository. Unlike previous versions, the JUPYTERHUB_API_TOKEN now has limited scopes due to the use of the service role, so I’m unable to mange groups…

Continue Reading Add scopes to `JUPYTERHUB_API_TOKEN` through Helm chart values – Zero to JupyterHub on Kubernetes

Jupyterhub behind ingress controller – Zero to JupyterHub on Kubernetes

I am trying to host a jupyterhub on kubernetes . I have deployed the helm chart and set the ingress resource . when i visit the site loads properly as wellthe websocket connection fails. i read on the nginx ingress controller docs that websocket is supported out of the box.I…

Continue Reading Jupyterhub behind ingress controller – Zero to JupyterHub on Kubernetes

Groups and Roles – JupyterHub

Hey folks, I am wanting to have multiple sections/courses configured on a hub using groups and roles. The instructor should only be able to see and access the servers of students in their class. I have been messing around with the groups and roles this afternoon but I don’t actually…

Continue Reading Groups and Roles – JupyterHub

All the attempts to mount a shared volume on GKE Autopilot were unsuccessful – Zero to JupyterHub on Kubernetes

I am trying to mount a shared persistent volume claim for jupyterhub pods on GKE with Autopolit while deploying jupyterhub and I am not successful so far. Is this even possible? I am thinking may be GKE autopilot doesn’t allow this. Do you know a tutorial where I can follow…

Continue Reading All the attempts to mount a shared volume on GKE Autopilot were unsuccessful – Zero to JupyterHub on Kubernetes

Hub is failing to start single user server – Zero to JupyterHub on Kubernetes

Hello everyone, I am facing and issue while setting up jupyterhub.For me both Hub and proxy are running and when I try to login(Authenticator disabled) and get redirected to single user server my Hub crashes after few attempts. Adding my Hub Logs for more detail:[I 2023-03-14 10:11:20.211 JupyterHub pages:396] sunkumar…

Continue Reading Hub is failing to start single user server – Zero to JupyterHub on Kubernetes

Postgres on GCE with workload identity – JupyterHub

New user, first post, new to JupyterHub. I am trying to use an instance of postgres on gce for jupyterhub. At one point I had it working and the db schema created, but it now doesn’t connect and I can’t figure out what I did before that worked I have…

Continue Reading Postgres on GCE with workload identity – JupyterHub

Rstudio in tljh distribution – The Littlest JupyterHub

jquan March 9, 2023, 6:21pm 1 Hi folks, looking to explore jupyter as a research hub for our group of researchers. We’re primarily an R shop with some users wanting access to a Python kernel. We were able to get tljh running on AWS but it’s unclear on how to…

Continue Reading Rstudio in tljh distribution – The Littlest JupyterHub

How to execute some initial command when user first login – Zero to JupyterHub on Kubernetes

zeddit March 8, 2023, 11:01am 1 I want some hook command to be executed when new user first come to jupyterhub, e.g. copying .condarc template to user’s home dir.How to achieve it in jupyterhub on k8s.great thanks. manics March 8, 2023, 11:11am 2 There are a few ways, see z2jh.jupyter.org

Continue Reading How to execute some initial command when user first login – Zero to JupyterHub on Kubernetes

ARM Research Facility

Register for introductory JupyterHub webinar JupyterHub is a popular tool for supporting scientific analysis through notebook-based computational environments and is the latest addition to the Atmospheric Radiation Measurement (ARM) user facility’s available computing resources. Users can work with ARM data in individual or shared workspaces managed by ARM system administrators….

Continue Reading ARM Research Facility

You probably don’t need JupyterHub on Kubernetes

a day ago Article URL: ouba.online/blog/2023/3/8/you_probably_dont_need_jupyterhub_on_kubernetes/post Comments URL: news.ycombinator.com/item?id=35070551 Points: 1 # Comments: 0 You probably don’t need JupyterHub on Kubernetes.To deploy Jupyter notebooks on Kubernetes using open-source software, currently there are two major approaches to choose from:Make notebooks a core feature on KubernetesThis is usually done using CRD to…

Continue Reading You probably don’t need JupyterHub on Kubernetes

How to get logs from jupyter notebook instances generated by jupyterhub – Beats

SirReno (Rodolfo Rincon) March 8, 2023, 4:45pm 1 Hello eveyone; We have a jupyterhub (that is being monitored by filebeat) that spawns individual jupyter-notebooks (based on docker image), since it spawns a pod, the filebeat that monitors jupyterhub, cant reach the individual notebooks, is there a way to get a…

Continue Reading How to get logs from jupyter notebook instances generated by jupyterhub – Beats

Jupyterhub on GKE Auto-pilot – Zero to JupyterHub on Kubernetes

Hi, I am trying to deploy jupyterhub on Google Kubernetes Engine Auto Pilot.I have this error when spawning Spawn failed: (400) Reason: error HTTP response headers: HTTPHeaderDict({‘Audit-Id’: ‘83a8c7d0-e3fd-401a-ae02-72b8f08e25dc’, ‘Cache-Control’: ‘no-cache, private’, ‘Content-Type’: ‘application/json’, ‘Warning’: ‘299 – “Autopilot set default resource requests on Pod train/jupyter-user1 for container block-cloud-metadata, as resource requests…

Continue Reading Jupyterhub on GKE Auto-pilot – Zero to JupyterHub on Kubernetes

JetBrains DataSpell Reviews and Pricing 2023

About JetBrains DataSpell Switch between command and editor modes with a single keystroke. Navigate over cells with arrow keys. Use all of the standard Jupyter shortcuts. Enjoy fully interactive outputs – right under the cell. When editing code cells, enjoy smart code completion, on-the-fly error checking and quick-fixes, easy navigation,…

Continue Reading JetBrains DataSpell Reviews and Pricing 2023

Is there good solution to manage two environments? – JupyterHub

Hello ! Recently I have one question. I managed two environments jupyterHub. One is GKE cluster using zero-to-jupyterhub-k8s. The other is just one workstation using Docker jupyterHub.(I recently built an on-premise environment due to cost concerns.) Recently, I am thinking about whether there is a way to manage two environments…

Continue Reading Is there good solution to manage two environments? – JupyterHub

JupyterHub 4.0 beta – JupyterHub

minrk March 1, 2023, 10:17am 1 We’ve just published JupyterHub 4.0 beta. 4.0 is a major release, but a small one. There are three major changes that should be invisible to most users: Groups can now have ‘properties’, editable via the admin page, which can be used by Spawners for…

Continue Reading JupyterHub 4.0 beta – JupyterHub

JupyterHub + system SSSD authentication not working – The Littlest JupyterHub

teward February 27, 2023, 4:07pm 1 I’m trying to set up LDAP / Active Directory integration and we have SSSD working properly on the host system (Ubuntu 22.04). SSSD properly handles authentication controls and filtering of users who aren’t in the proper auth groups, however when attempting to sign in…

Continue Reading JupyterHub + system SSSD authentication not working – The Littlest JupyterHub

Offload HTTPs causing CORS error on EKS – Zero to JupyterHub on Kubernetes – Jupyter Community Forum

After enabling HTTPS with type offload I get 403 errors like:API request failed (403): Action is not authorized with current scopes; requires any of [delete:servers]on certain hub requests (while setting up a notebook instance or trying to stop a server) when I activate https offloaded to the AWS load balancer….

Continue Reading Offload HTTPs causing CORS error on EKS – Zero to JupyterHub on Kubernetes – Jupyter Community Forum

Solved og in to jupyterhub using your pipeline credentials

Transcribed image text: og in to jupyterhub using your pipeline credentials (refer to previous labs if you have questions about how to log in.) reate a source file called budget.py using the Python file editor (Refer CLA3 for how to use Python File in jupyterhub ollow these instructions: – at…

Continue Reading Solved og in to jupyterhub using your pipeline credentials

JupyterHub and Keycloak on localhost? – Zero to JupyterHub on Kubernetes

zalil February 23, 2023, 3:31pm 1 Hello friends, I have a perfectly working installation running on a public url. For local development I try to use localhost but the authentication fails because of DNS problems. I tried a rewrite rule in coredns without luck. stackoverflow.com Customizing coredns on k3s to…

Continue Reading JupyterHub and Keycloak on localhost? – Zero to JupyterHub on Kubernetes