Open cjbd opened 1 year ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Hey @cjbd it is likely because the server extension part of this extension is not enable. Could you execute
jupyter server extension list
@fcollonval thanks for the update, pls find command output, it's enabled
# jupyter server extension list
Config dir: /root/.jupyter
Config dir: /opt/miniconda3/etc/jupyter
jupyter_resource_usage enabled
- Validating jupyter_resource_usage...
jupyter_resource_usage 0.7.2 OK
jupyter_server_mathjax enabled
- Validating jupyter_server_mathjax...
jupyter_server_mathjax OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 3.4.4 OK
jupyterlab_git enabled
- Validating jupyterlab_git...
jupyterlab_git 0.41.0 OK
nbclassic enabled
- Validating nbclassic...
nbclassic 0.5.2 OK
nbdime enabled
- Validating nbdime...
nbdime 3.1.1 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim OK
panel.io.jupyter_server_extension enabled
- Validating panel.io.jupyter_server_extension...
panel.io.jupyter_server_extension OK
Config dir: /usr/local/etc/jupyter
something that might not be relevant to this, i also had trouble with panel
extension, it was giving simlar 404 error for /panel/...
just now i found that if i don't use nginx and launch jupyterlab from localhost, the panel extension is working fine, while git extension is still giving 404 error in the command console
Do you filter endpoints?
If yes you are likely filtering the endpoints of this extension?
@fcollonval no, i don't know how to do that...
Has a similar issue here. My setup includes a jupyterhub as docker container that spawns jupyterlab containers. All reverse proxy-ed through a nginx server. Everything works fine until I wish to install a git extension. conda install
works and after installation the output is:
$ jupyter server extension list
Config dir: /home/jovyan/.jupyter
Config dir: /opt/conda/etc/jupyter
--Other extensions omitted...
jupyterlab_git enabled
- Validating jupyterlab_git...
Package jupyterlab_git took 0.0258s to import
jupyterlab_git 0.41.0 OK
Config dir: /usr/local/etc/jupyter
and
$ jupyter labextension list
JupyterLab v3.6.3
/opt/conda/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
nbdime-jupyterlab v2.2.0 enabled OK
@jupyterlab/git v0.41.0 enabled OK (python, jupyterlab-git)
Other labextensions (built into JupyterLab)
app dir: /opt/conda/share/jupyter/lab
However when I reload the page this pops up and the logs from the lab container reads:
and the logs concerning the extension from the lab container reads:
[W 2023-07-17 07:15:31.012 ServerApp] 404 GET /user/alvinnnn/git/settings?version=0.41.0&1689578130935 (alvinnnn@my-IP-address) 23.85ms
and
[W 2023-07-17 07:16:36.266 ServerApp] 404 GET /user/alvinnnn/git/settings?version=0.41.0&1689578196194 (alvinnnn@my-IP-address) 21.42ms
Really not sure what was the issue but seemed very close to this
I would guess that your nginx is likely to filter out new API endpoints.
You should look at the proxy log.
Description
Hello, I follow this article to put my jupyterlab behind nginx, it's working fine
But when I install
jupyterlab-git
extension withpip
, I always get this error message in the front end:and from the console output, I can see error log like this:
Reproduce
Expected behavior
jupyterlab-git extension should work like without nginx
Context
"@jupyter-server/resource-usage@0.7.2" is not compatible with the current JupyterLab Conflicting Dependencies: JupyterLab Extension Package
Other labextensions (built into JupyterLab) app dir: /opt/miniconda3/share/jupyter/lab jupyterlab-dash v0.4.2 enabled OK
Build recommended, please run
jupyter lab build
: jupyterlab-dash needs to be included in buildCommand Line Output
Web Browser Output