Skip to content
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

Can not starts single-user notebook server of nobody when editing the notebook. #69

Open
YukuanHuang opened this issue Sep 19, 2024 · 0 comments

Comments

@YukuanHuang
Copy link

YukuanHuang commented Sep 19, 2024

When I click on '编辑', it prompts 'refused to connect'. The logs of pod/jupyter-nobody--ncrh48j9el7nnlgdot2s shows the kernel won't start.

Screenshots

![1726706460301](https://github.com/user-attachments/assets/d02d4353-1cdf-4b6d-9869-5a1e18d806e6)

Logs of pod/jupyter-nobody--ncrh48j9el7nnlgdot2sg

Traceback (most recent call last): File "/opt/conda/bin/jupyterhub-singleuser", line 10, in sys.exit(main()) File "/opt/conda/lib/python3.10/site-packages/jupyterhub/singleuser/app.py", line 66, in main return SingleUserLabApp.launch_instance() File "/opt/conda/lib/python3.10/site-packages/jupyter_core/application.py", line 276, in launch_instance return super().launch_instance(argv=argv, **kwargs) File "/opt/conda/lib/python3.10/site-packages/traitlets/config/application.py", line 985, in launch_instance app.start() File "/opt/conda/lib/python3.10/site-packages/jupyterhub/singleuser/mixins.py", line 675, in start super().start() File "/opt/conda/lib/python3.10/site-packages/jupyter_server/serverapp.py", line 2814, in start self.start_app() File "/opt/conda/lib/python3.10/site-packages/jupyter_server/serverapp.py", line 2742, in start_app self.write_server_info_file() File "/opt/conda/lib/python3.10/site-packages/jupyter_server/serverapp.py", line 2557, in write_server_info_file with secure_write(self.info_file) as f: File "/opt/conda/lib/python3.10/contextlib.py", line 135, in __enter__ return next(self.gen) File "/opt/conda/lib/python3.10/site-packages/jupyter_core/paths.py", line 967, in secure_write raise RuntimeError( RuntimeError: Permissions assignment failed for secure file: '/home/jovyan/.local/share/jupyter/runtime/jpserver-7.json'. Got '0o660' instead of '0o0600'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant