Bio-OS / bioos

Apache License 2.0
59 stars 16 forks source link

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

Open YukuanHuang opened 2 months ago

YukuanHuang commented 2 months ago

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

Screenshots

1726706460301

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