You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/
├── other_user
│ └── hi.txt
└── user
└── getting_started.ipynb
When I do not start jupyterlab in the /home path
jupyter lab --notebook-dir='/home' --preferred-dir='other_user'
# or
jupyter lab --notebook-dir='/home' --preferred-dir='./other_user'
[C 2021-12-22 22:16:22.818 ServerApp] Bad config encountered during initialization: No such preferred dir: ''/other_user''
# or
[C 2021-12-22 22:11:45.671 ServerApp] Bad config encountered during initialization: preferred_dir must be equal or a subdir of root_dir: ''/user''
When I start jupyterlab in the /home path, it is normal
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
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! 👋
Hi @xuoutput I think that this was fixed in jupyterlab/jupyterlab_server#233. You can test it after upgrading to latest jupyterlab_server with pip install -U jupyterlab-server (or conda/mamba equivalent).
Problem
tree /home
When I do not start jupyterlab in the /home path
When I start jupyterlab in the /home path, it is normal
solution
Proposed Solution
Whether the preferred-dir parameter can accept relative paths
Additional context
The text was updated successfully, but these errors were encountered: