Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:32
    consideRatio labeled #3628
  • 16:32

    consideRatio on main

    add latest changes to 2.0 chang… Merge pull request #3628 from m… (compare)

  • 16:32
    consideRatio closed #3628
  • 15:59
    albertmichaelj commented #3624
  • 15:58
    albertmichaelj commented #3624
  • 15:01
    albertmichaelj edited #3624
  • 15:00
    albertmichaelj edited #3624
  • 13:29
    minrk opened #3628
  • 13:23

    minrk on pre-commit-ci-update-config

    (compare)

  • 13:23

    minrk on main

    [pre-commit.ci] pre-commit auto… [pre-commit.ci] auto fixes from… extend deadline for docker buil… and 1 more (compare)

  • 13:23
    minrk closed #3627
  • 12:47
    minrk synchronize #3627
  • 12:47

    minrk on pre-commit-ci-update-config

    extend deadline for docker buil… (compare)

  • 11:10
    minrk commented #3622
  • 09:36

    minrk on main

    implement null authenticator nullauthenticator: relative imp… nullauthenticator: missing impo… and 2 more (compare)

  • 09:36
    minrk closed #3619
  • 09:36
    minrk closed #3609
  • Sep 27 22:41
    manics commented #3622
  • Sep 27 22:08
    manics commented #3619
  • Sep 27 22:06
    manics synchronize #3619
Min RK
@minrk
no, that would be in the user environment
Arunraddi Mullur
@arunmullur
And the shiboleth authenticator in config file correct?
Min RK
@minrk
I believe so
Arunraddi Mullur
@arunmullur
Okay, thank you!
Ranji Raj
@ranjiGT
Hello does anyone know the default password of jovyan user with the dockerspawner?. It seems jupyter as password doesn't work.
Min RK
@minrk
There is no default password
namnt2307
@namnt2307
image.png
hello everyone, does anybody know where these variables come from?
i want to fetch uid and gid from LDAP and map the uid as a variables in the chart to single-user pod like this username variables
Brian
@Data-drone
Following ZTJH, if I have installed my own traefik can I use that rather than have Jupyterhub deploy it's own load balancer? Or can they coexist nicely?
Min RK
@minrk
It's not possible currently for jupyterhub to add its own configuration to your traefik deployment, but they should coexist just fine. You don't need the jupyterhub service to be public, it can be behind an ingress controller, etc.
3 replies
Erik Sundell
@consideRatio

@Data-drone

Traefik can be used to do soo many things, but if you have Traefik acting as an Ingress controller, that inspects k8s Ingress resources, and routes traffic based on that --- then absolutely, you just make z2jh create the Ingress resource. Then you can make it handle the TLS termination for example, which otherwise z2jh can do for you by deploying a Traefik running in a pod named autohttps.

1 reply
Marceeaax
@Marceeaax
Hello
Erik Sundell
@consideRatio
Hey!! :wave:
Arunraddi Mullur
@arunmullur
image.png
the documentation says i have to change only the highlighted fields, apart from these anything I have to change? because I am unable to host
Arunraddi Mullur
@arunmullur
image.png
Prateek Dubey
@dprateek1991

I wrote a medium article how to deploy JupyterHub On-Premise on Kubernetes and which technologies can be chosen. Z2JH has a very detailed documentation how to do it on Cloud, therefore thought to share some of my experience how I did it On-Premise.

Maybe it will be helpful for some :)

https://medium.com/@prateek.dubey/jupyterhub-on-kubernetes-aws-on-premise-cfc849a3f06a

Arunraddi Mullur
@arunmullur
Hi my status of jupyterhub shows it is running at https://172.16.1.210:443/ but when i open this it is unable to establish connection. Anybobody please help
Ranji Raj
@ranjiGT
Hello, I am trying to set up a course using nbgrader inside a docker container. When I access the formgrader it shows me that the directory /srv/nbgrader/exchange does not exists. But I have In my directory tree which I created manually. Any idea why this happens?
2 replies
WhatsApp Image 2021-09-21 at 8.28.40 PM.jpeg
WhatsApp Image 2021-09-21 at 8.28.39 PM.jpeg
Olivier Bornet
@PuckCh
Hello everyone,
We have an issue on our JupyterHub setup causing sometime a user no more able to save it's notebook.
When the problem come, a dirty fix is for the user to:
  • don't close the notebook tab,
  • switch to another tab,
  • access any other page of her/his JupyterHub server,
  • re-switch to the notebook tab,
  • save is working again.
    The log messages when doing this workflow are like:
    [W 2021-09-24 10:25:15.554 SingleUserNotebookApp auth:314] No Hub user identified for request
    [W 2021-09-24 10:25:15.555 SingleUserNotebookApp auth:552] Token stored in cookie may have expired
    [W 2021-09-24 10:25:15.556 SingleUserNotebookApp handlers:617] Forbidden
    ... starting from here, all save/edition of the notebook failed ...
    [W 2021-09-24 10:25:15.646 SingleUserNotebookApp auth:552] Token stored in cookie may have expired
    [W 2021-09-24 10:25:15.647 SingleUserNotebookApp handlers:617] Forbidden
    ... when accessing another page, we will have:
    [W 2021-09-24 10:30:41.022 SingleUserNotebookApp auth:552] Token stored in cookie may have expired
    [I 2021-09-24 10:30:41.145 SingleUserNotebookApp auth:992] Logged-in user {... user informations here ...}
    ... after that, the save worked again
    Is this problem something already known? Is there a way to fix it?
Min RK
@minrk
what version of JupyterHub? You might be running into this
12 replies
Erik Sundell
@consideRatio
@PuckCh are you using JupyterLab 3 and the --collaborative flag? There was a bug regarding saving files, already fixed in the latest versions
1 reply
jgart
@jgarte:matrix.org
[m]
Hi
how can I set NotebookApp.cookie_options to False or to not set cookies
I want to disable all cookies to test something
any help is greatly appreciated
jgart
@jgarte:matrix.org
[m]
Hi, is there a server name option that I can pass to jupyter notebook command?
CapitaineNemo
@CapitaineNemo
Dears I just using the guide to install the littest of jupyter hub but... I cannot use "curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin <admin-user-name>" this link to install, it always show "GnuTLS recv error (-110): The TLS connection was non-properly terminated."this issue...
Gaëlle
@gaelle:gluten.space
[m]
Morning. Is there a way to send an auto-authenticating link to users, containing their token as a GET parameter for example?
Min RK
@minrk

@gaelle:gluten.space yes, it is possible, but I probably wouldn't recommend doing that since the link would continue to work and allow anyone to become the target user if they visited the link. Issuing a token for the user and then visiting /hub/user-redirect/?token=... should work, though.

We don't have expire-after-use tokens like most magic-link login emails do, which I think would be the best way to do something like this.

2 replies
Gaëlle
@gaelle:gluten.space
[m]
thanks, and thanks for the warning. However, it’s exactly what i want (i give trainings, and my students get an account for a month. After a month, the account is deleted, so the token won’t work anyway)
Min RK
@minrk
ah, makes perfect sense for a short workshop
minrk
@minrk:matrix.org
[m]
So you'd need a custom LoginHandler to accept the token from the url param, but then it should work.
Gaëlle
@gaelle:gluten.space
[m]
okay, thanks
(where an otherwise unauthenticated request is authenticated based on the contents of the request)
If you override get_token(self) in the Handler class to look in the url param, you can call user = self.get_current_user_token() and be off.
Sanjay Pant
@sanjaydatasciencedojo
I think this is a good feature introduced by Azure that can be useful for Jupyterhub for speedy scaleout. This will shut down the VM when not used instead of completely removing it. You only pay for the storage. https://azure.microsoft.com/en-us/updates/public-preview-scaledown-mode-in-aks/
alibama
@alibama
fudge - i just updated my ubuntu 18 server and traefik is borking
alibama
@alibama
tljh systemd[1]: jupyterhub.service: Job jupyterhub.service/start failed with result 'dependency'.
6678 ExecStart=/opt/tljh/hub/bin/python3 -m jupyterhub.app -f /opt/tljh/hub/lib/python3.6/site-packages/tljh/jupyterhub_config.py --upgrade-db (code=killed, signal=TERM)
alibama
@alibama
i think it's possible i upgraded the database (postgres) and that borked things?
alibama
@alibama
how do i see what database tljh is using?
Ranji Raj
@ranjiGT
500 server error.jpg
When I stop my Docker container running my whole setup of JupyterHub after my work it throws me this 500-error. Then I lose all of my work saved within this container and then I have to start over again. What is the issue that is showing this behavior?
CapitaineNemo
@CapitaineNemo
Dears I find after I set the share folder base on Option 3 "Share data with your users" But I find as an admin, I cannot see skel/scratch.
CapitaineNemo
@CapitaineNemo
I found the solution.. I add a new user as admin... it can see the share folder.