Closed fieeman closed 1 year ago
Hi, thank you for your report. Can you try to set the JUPYTER_APP_LAUNCHER_PATH
environment variable with the path to the directory containing the config.yaml
file then start JupyterLab again?
And the config file should be in the data section of the jupyter --path
command. Can you try moving the YAML file to /opt/tljh/user/share/jupyter/jupyter_app_launcher/config.yaml
?
Hello thanks for your suggestions.
I have moved the config.yaml
file to this /opt/tljh/user/share/jupyter/jupyter_app_launcher/
folder
ls -la
total 32
drwxr-xr-x 8 root jupyterhub-users 4096 Jan 26 18:10 .
drwxr-xr-x 20 root jupyterhub-users 4096 Jan 25 17:30 ..
drwxr-xr-x 2 root jupyterhub-users 4096 Jan 26 15:58 jupyter_app_launcher
drwxr-xr-x 3 root jupyterhub-users 4096 Jan 25 17:30 kernels
drwxr-xr-x 5 root jupyterhub-users 4096 Jan 25 17:30 lab
drwxr-xr-x 7 root jupyterhub-users 4096 Jan 26 14:24 labextensions
drwxr-xr-x 3 root jupyterhub-users 4096 Jan 25 17:30 nbconvert
drwxr-xr-x 5 root jupyterhub-users 4096 Jan 26 14:24 nbextensions
and I define the environment variable as follows
JUPYTER_APP_LAUNCHER_PATH="/opt/tljh/user/share/jupyter/jupyter_app_launcher/"
echo $JUPYTER_APP_LAUNCHER_PATH
/opt/tljh/user/share/jupyter/jupyter_app_launcher/
and now it works, thank you very much for your help.
Great! You only need to define the environment variable if you want to place your config file outside of the jupyter data path. In your case, placing the file in /opt/tljh/user/share/jupyter/jupyter_app_launcher/
is enough.
Hello!
this is my first issue on github, if I'm making any mistake, let me know :)
I installed using pip
and using the jupyter labextension list command I can see that it is enabled
jupyter serverextension list
using the jupyter --path command, I can see the following
I have created the folder jupyter_app_launcher in /root/.jupyter and in /opt/tljh/user/etc/jupyter and created the config.yaml file with this content
after doing all this and restarting the service, I don't see any new items in the launcher and in the browser console I see this message
so I don't know what's going on, if you could give me some suggestions I would be very grateful.