Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

JupyterHub

12 Topics 141 Posts
  • JupyterHub - Package Updates

    Pinned Locked
    81
    0 Votes
    81 Posts
    45k Views
    Package UpdatesP
    [1.61.0] Update docker to 7.2.0 Full Changelog docker.from_env() now honors the active Docker CLI context when DOCKER_HOST is not set. This means the client may connect to the daemon selected by DOCKER_CONTEXT or the current context in ~/.docker/config.json, matching Docker CLI behavior more closely. If your application relied on the previous default connection behavior, set DOCKER_HOST explicitly, set DOCKER_CONTEXT=default, or pass use_context=False to DockerClient.from_env(). Added docker.from_context() / DockerClient.from_context() for explicitly creating a client from a Docker CLI context. Added support for Docker contexts when creating the default client Added subpath support for volumes Fixed exec_run documentation for the stream parameter Fixed image loading to avoid depending on the deprecated JSONMessage.error field Preserved the rotated unlock key in swarm integration tests Fixed IPv6 integration tests by explicitly enabling IPv6 where required
  • Interaction with Gitea

    1
    0 Votes
    1 Posts
    551 Views
    No one has replied
  • Accessing mounted volumes in jupyter notebooks

    11
    1 Votes
    11 Posts
    7k Views
    B
    If you want to share a volume with Jupyterlab, this is unfortunately not enough. Each user gets their own Jupyterlab container from a notebook image. By default, this is jupyter/datascience-notebook. However, no media group is created in this container. There is also no user cloudron. Since I created my own image, I could simply create the group media and add the user Jovyan. Now it works.
  • Notebook images have moved to quay.io

    1
    0 Votes
    1 Posts
    589 Views
    No one has replied
  • Install git-lfs

    Solved
    3
    1 Votes
    3 Posts
    1k Views
    L
    Great! Thanks a lot @girish
  • Jupyterhub - single user notebook servers shuts down

    10
    1 Votes
    10 Posts
    4k Views
    girishG
    @balticpenguin this one https://docs.cloudron.io/apps/#log-viewer
  • How do I update JupyterLab to v4?

    5
    1 Votes
    5 Posts
    2k Views
    M
    Great, thanks @girish, it's working now.
  • Relatively local document AI chat on Cloudron

    2
    1 Votes
    2 Posts
    899 Views
    necrevistonnezrN
    Sounds interesting - from the article: Later I will create an article where you can use any kind of PDF files
  • custom docker timeout

    3
    1
    0 Votes
    3 Posts
    2k Views
    girishG
    You can test the image like this: root@my:~# docker run -ti joamatab/gdsfactory:latest /bin/bash (base) jovyan@9b8a75ecc913:~$ jupyterhub-singleuser --ip=0.0.0.0 Traceback (most recent call last): File "/opt/conda/bin/jupyterhub-singleuser", line 7, in <module> from jupyterhub.singleuser import main File "/opt/conda/lib/python3.8/site-packages/jupyterhub/singleuser/__init__.py", line 5, in <module> from .app import main File "/opt/conda/lib/python3.8/site-packages/jupyterhub/singleuser/app.py", line 10, in <module> from .mixins import make_singleuser_app File "/opt/conda/lib/python3.8/site-packages/jupyterhub/singleuser/mixins.py", line 22, in <module> from jinja2 import ChoiceLoader File "/opt/conda/lib/python3.8/site-packages/jinja2/__init__.py", line 12, in <module> from .environment import Environment File "/opt/conda/lib/python3.8/site-packages/jinja2/environment.py", line 25, in <module> from .defaults import BLOCK_END_STRING File "/opt/conda/lib/python3.8/site-packages/jinja2/defaults.py", line 3, in <module> from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/opt/conda/lib/python3.8/site-packages/jinja2/filters.py", line 13, in <module> from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/conda/lib/python3.8/site-packages/markupsafe/__init__.py)
  • Enabling Real Time Collaboration

    12
    0 Votes
    12 Posts
    6k Views
    RubenFixitR
    Adding the following to /app/data/customconfig.py worked for me: c.Spawner.args = ['--collaborative'] You also need to run /app/code/remove_notebook_containers.py after making changes. For a list of parameters check out: https://jupyterhub.readthedocs.io/en/stable/api/spawner.html
  • Installing JupyterHub extensions

    5
    1
    0 Votes
    5 Posts
    2k Views
    B
    @girish said in Installing JupyterHub extensions: @infogulch OK, I tried this quickly now and it looks like 1GB is not enough for those webpack builds. I just put it to 4GB and that worked out. Maybe 2GB will suffice too... I tried several different memory settings. In my use case 4G was the minimum needed for rebuilding.
  • Installing External Libraries

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    ?
    @girish Thanks for the answer. Having one and only one environment per user is quite the inconvenience