Questions tagged [jupyterhub]

JupyterHub is the best way to serve Jupyter notebook for multiple users.It is a multi-user Hub that spawns, manages, and proxies multiple instances of the single-user Jupyter notebook server.

The Jupyter Notebook

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

669 questions
7
votes
1 answer

How to authenticate JupyterHub user with json web token (JWT)?

I am trying to figure out the best way of authenticating a JupyterHub user with JWT. In my particular use case, the client will be first authenticated on a primary website and redirected at a later stage to the JupyterHub proxy (both sites are…
BigONotation
  • 4,406
  • 5
  • 43
  • 72
6
votes
1 answer

Is it possible possible to create a shared folder between users in AWS Sagemaker Studio?

I'm currently trying to migrate a data science environment (jupyter notebook)running on Kubernetes to Sagemaker Studio. I set up SSO and I now have privates work spaces for each user but I'd like to also have a shared folder between all the users.…
6
votes
1 answer

How to restart the server in jupyter hub through command line?

I have an instance of Jupyter running in Jupyter hub where there was an option to start/restart server as shown below: I then changed the theme using the command jt -t Now, I can't see the option to stop and restart my server in my…
P H
  • 294
  • 1
  • 3
  • 16
6
votes
4 answers

How to login to bash with current user, and the user's .bashrc file, in jupyterlab?

I have a configuration file setup in .bashrc which I would like to apply to all terminals opened automatically in my jupyterlab. Currently jupyterlab terminals start like this, without any of the configuration in my .bashrc file. If I simply type…
OneTwo
  • 2,291
  • 6
  • 33
  • 55
6
votes
3 answers

How can I overcome "Error: Object 'jupyter.widget' not found in registry"?

I am running jupyterlab within jupyterhub on kubernetes. I am trying to display widgets using e.g. from ipywidgets import interact @interact(x=(0, 100, 10)) def p(x=50): pass Instead of the intended interactive widget, the lab notebook…
jtlz2
  • 7,700
  • 9
  • 64
  • 114
6
votes
1 answer

How to upload a large file using the ipywidgets fileupload?

There is a server with Jupyterhub. It has remote access via a browser (IP address ONLY). User can upload large files (several GB) using the ipywidgets.fileupload. But I can't normally upload files more 100MB: Files abouts 200MB upload ~10 minutes.…
AleksandrSome
  • 71
  • 1
  • 5
6
votes
2 answers

How to access current user/auth_state from notebook

I am using JupyterHub with custom authenticator. It sets auth_state with access token, which then can be copied into environment inside pre_spawn_start method like in the example: class MyAuthenticator(Authenticator): @gen.coroutine def…
Zielu
  • 8,312
  • 4
  • 28
  • 41
6
votes
0 answers

JupyterHub LocalAuthenticator does not work

I am trying to configure and understnad how the most common Jupyter authenticators work. However, I am having trouble understanding how LocalAuthenticator works and how it differs from PAMAuthenticator. The Jupyter documentation states the…
AstrOne
  • 3,569
  • 7
  • 32
  • 54
6
votes
2 answers

Jupyterhub Error 503: Proxy Target Missing

I managed to establish Jupyterhub on my server and it worked well. Since I tried to restart the Jupyterhub service it doesn't work any more and when I'm trying to run it I see the error message: Proxy appears to be running at http://*:8000/, but I…
haimco
  • 100
  • 1
  • 7
5
votes
0 answers

Shared folder not visible for existing users in Jupyterhub UI

I have installed jupyterhub in my servers and I have created multiple users and everything works fine. The login page in jupyterhub lands in /home directory. However I want to create a shared folder where users can share their notebooks, files with…
mockash
  • 1,204
  • 5
  • 14
  • 26
5
votes
3 answers

How to deploy a release after changing the configurations?

I have had jhub released in my cluster successfully. I then changed the config to pull another docker image as stated in the documentation. This time, while running the same old command: # Suggested values: advanced users of Kubernetes and Helm…
Aviral Srivastava
  • 4,058
  • 8
  • 29
  • 81
5
votes
0 answers

How to mount NFS share to spawned containers in JupyterHub?

I'm trying to configure JupyterHub server on the DockerSwarm. I can not mount NFS folder straight to the container spawned by JupyterHub service. I tried to mount it using docker-compose to JupyterHub service and then mount it at locally mounted…
5
votes
1 answer

Adding additional host to Juypterhub DockerSpawner

I am using Jupyterhub 0.9.4 with DockerSpawner. My goal is to pass every container spawned by the Spawner an additional host name, so make an additional entry in /etc/hosts. I first tried via my docker-compose.yml file, which does not work, as the…
Max
  • 560
  • 1
  • 9
  • 25
5
votes
1 answer

How to copy home directory file into new persistent volume with Kubernetes?

I've got a JupyterHub Kubernetes deployment. When I create and attach a persistent volume (PV) it wipes out the home directory that is part of my image. It replaces it with an empty home directory where anything is written will be persisted as…
yvanscher
  • 1,009
  • 1
  • 13
  • 16
5
votes
1 answer

Nyaplot generates no plot in iruby running in jupyterhub

I'm trying to set up a Ruby kernel within an existing multi-user jupyterhub installation. It works in all of my tests, except that plots created by nyaplot (the only plotting package I could find that works within iruby) don't show up in the…
1
2
3
44 45