Skip to content

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

@YukuanHuang

Description

@YukuanHuang

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions