-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Cannot list running notebook with --allow-root #2375
Comments
When I run
So it appears that the |
I'm experiencing the same issue, since a few hours. Downgrading a version probably temporarily solves the issue. |
Are you trying to list notebook servers that are running as root? Does it work without the |
@takluyver The notebook server is running as root user. When running the Running the notebook as non-root user doesn't seem to make any difference. As I've mentioned. This problem only started for me since about a day, possibly because of a faulty release. |
Hmmm, when I run |
@gnestor Yes, that's right. I'm running Jupyter Notebook in a custom Docker container in fact. It is installed with miniconda. Thus, running it locally or remotely is irrelevant. I am executing the commands as root (UID I'm happy to make a special Docker container image build with the newest Jupyter Notebook version installed if preferred, so you can give it a try :) |
I'm experimenting the same issue in a similar case: @timvisee if you come up with a trick, I'm interested :) |
@minrk Do you have any idea what's going on here? |
I am having the same problem. |
Should be fixed by #2421 |
Regarding being fixed by #2421 I have a related issue and am not sure if that alone fix it. I can create the notebook but can't see the list so can't get the token to access. I understood the fix is to use the master, but when I do:
I get the below. i.e it seems that I have an issue with the suggested fix.
|
You need node and npm installed to install the notebook from source. See http://jupyter-notebook.readthedocs.io/en/latest/contributing.html#setting-up-a-development-environment |
Thanks, I did install node and also did npm install bower. This might have to do with the fact that I'm inside docker container. Which version would you go back to be safe from the --allow-root bug? Or is there some other way you would suggest I can retrieve the token programmatically? I don't have any other reason to get over this bug than that. Thanks. |
Is that a Debian/Ubuntu system? If you've installed node from apt, you may need to install the Otherwise, I think downgrading to any notebook version <5 should work around this bug until we release 5.1. |
Hi, Have you tried to pass this flag last? jupyter notebook notebook.ipynb --allow-root It worked for me. |
Successfully installed npm-0.1.1 optional-django-0.1.0 |
I have successfully installed the anaconda on Linux.When i am trying to run jupyter it is showing like follow: I also have tried the various command like: |
Like the error message says, it's generally recommended to run the notebook as a 'normal' user, i.e. not root. If you're running it in a docker container or something and don't mind the potential risks of running it as root, add the |
how i should use --allow-root to overcome this error as root user? |
As in, you run |
Thank ....u....! |
Hi all - I'm having a similar issue but having a hard time following this thread. I want to run a similar command: However, this flag does not exist for the password command. I'm also running in a docker container. Running Jupyter v 4.3.0. Any ideas? |
That one's a bug - In the meantime, I think you can run Python code to set a password like this: from notebook.auth.security import set_password
set_password() |
while installing anaconda on ubuntu i am facing the problem plse help me in resolving this |
@princejaiswal03 that looks like an unrelated error. Try asking on https://github.com/ContinuumIO/anaconda-issues/ |
Here is the solution, open terminal and run it as root@localhost# and type "jupyter notebook --allow-root" there you go! Give it a try and see the magic happen. |
if you need the token for loggin into a notebook which is run in a docker container, and you no longer have the terminal where it was outputted when you did Just run |
jupyter notebook --allow-root works fine but how I resolve this issue |
|
I solved the |
Thanks, it worked for me, too. |
Try this, open http://localhost:8888/tree in your browser. good luck! ┌─[✗]─[root@ke]─[~/mywork]
|
Several command patterns are tried, but none of them succeeds. How may 'root' list the running notebooks?
Case 1
> jupyter --allow-root notebook list
No such file or directory: /root/notebook
Case 2
> jupyter notebook --allow-root list
No such file or directory: /root/list
Case 3
> jupyter notebook list --allow-root
CRITICAL | Unrecognized flag: '--allow-root'
I'm using jupyter notebook 5.0.
The text was updated successfully, but these errors were encountered: