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


JupyterHub

8 Topics 76 Posts
  • JupyterHub - Package Updates

    Pinned
    0 Votes
    37 Posts
    683 Views

    [1.38.4]

    Update datascience-notebookt to lab-4.0.6
  • How do I update JupyterLab to v4?

    1 Votes
    5 Posts
    43 Views

    Great, thanks @girish, it's working now.

  • 0 Votes
    5 Posts
    341 Views

    In the settings of Jupyterhub there are
    c.DockerSpawner.volumes and
    c.SwarmSpawner.read_only_volumes
    (https://jupyterhub-dockerspawner.readthedocs.io/en/latest/api/index.html)

    Would this perhaps be a possibility? Currently, however, these config settings do not work.

    Since I have day files with data that I need to read and edit. Therefore it is very inconvenient if I would have to upload them manually. Besides, my colleagues also work with the data. So it would be great if there was a directory "shared" which is in the home directory. Great would be a setting in custumconfig.py like
    c.DockerSpawner.volumes = {'/media/shareddata' : '/home/jovyan/shared'}

    see also https://jupyterhub-dockerspawner.readthedocs.io/en/latest/data-persistence.html#volume-mapping

  • 1 Votes
    2 Posts
    18 Views

    Sounds interesting - from the article:

    Later I will create an article where you can use any kind of PDF files

  • custom docker timeout

    0 Votes
    3 Posts
    118 Views

    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

    0 Votes
    12 Posts
    983 Views

    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

    0 Votes
    5 Posts
    561 Views

    @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
    0 Votes
    7 Posts
    416 Views

    @girish Thanks for the answer. Having one and only one environment per user is quite the inconvenience 😞