-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyterlab 4.1.4 + Docker 20.10 incopatibility? #198
Comments
You should inspect the logs for evidence of extension activation |
I this evidence enough? If you recommend to check any other specifics, please let me know.
|
That's good for the client side, also look at the server logs during startup, it should indicate it's being used |
Thanks! Seems to be OK right? Should I maybe rebuild jupyterlab after the extension is installed in the Dockerfile? What else do you recommend to check?
|
You've got some stuff in |
Extension was succesfully linked and loaded. Should there be anything else there? For what it's worth: the extension is shown in jupyterlab itself, and I can edit it's settings, but the file browsers just don't show up. Let me know what you recommend to do next |
Does it show up in the settings editor in the JupyterLab UI? |
Looks like everything is working properly from an extension standpoint. Do you see any errors in the javascript console in your browser? |
It looks like the tree viewer failed to render, i will try to reproduce. Thanks for providing this info! |
Thanks so much Tim. I am looking forward to use the extension and please let me know if I can provide more details to help! |
@timkpaine I went through the same steps with an older jupyter-fs and jupyterlab version in Docker version remains the same (Docker version 20.10.21).
Here, the file-browser did open, but other errors appear. See: Hopefully it helps and pleased to hear back. |
I created a Jupyterlab container running jupyterlab & jupyter-fs
Docker version is: Docker version 20.10.21, build 20.10.21-0ubuntu1~20.04.2
Part of the Dockerfile:
FROM python:3.10.5-bullseye USER root RUN pip install jupyterlab==4.1.4 RUN pip install jupyter-fs ENTRYPOINT jupyter lab --ip='0.0.0.0' --port=8001 --no-browser --allow-root
The jupyter config file is generated before building the docker img, with:
jupyter lab --generate-config
This created jupyter_server_config.py in the .jupyter folder. Subsequently, this is added to the config:
c = get_config() #noqa c.ServerApp.contents_manager_class = "jupyterfs.metamanager.MetaManager" c.ServerApp.jpserver_extensions = { "jupyterfs.extension": True }
In the docker container the volume where the config file resides, is mounted, so jupyter server is able to read the config. Then from jupyterlab settings, this is added to the configurations of jupyter-fs. Which points to the home folder.
{ "resources": [ { "name": "root at test dir", "url": "osfs:///home/jeroen" } ] }
Unfortunately, when taking the required steps, this leaves no active file browser. Might there be a compatibility issue with jupyter-fs and the Jupyterlab/Docker versions given? If the issue is on my side, the issue will be closed.
Keen to hear.
The text was updated successfully, but these errors were encountered: