cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Resetting password

munshine
Node Clone

Hello,

I installed Neo4j on an Ubuntu 18.04 droplet on DigitalOcean following this.

I've set up the certificates follow this.

Now I'm trying to log in.

So I've set an initial password follow the documentation. Now I try to log in from the Browser but I get a Neo.ClientError.Security.Unauthorized: The client is unauthorized due to authentication failure.

Fine, I see somewhere on SO that neo4j-admin set-initial-password is obsolete (?), so I move on to this part of the documentation, password and user recovery although my version of cypher-shell doesn't seem to be able to accept a -d argument: cypher-shell: error: unrecognized arguments: '-d'

Fine, I'm trying the second option, I'll execute ALTER USER neo4j SET PASSWORD 'mypassword'. But no, I'm getting a:

Invalid input 'A': expected <init> (line 1, column 1 (offset: 0))
"ALTER USER neo4j SET PASSWORD 'mypassword'

Which I guess is because I'm not connected to the system db, but I can't see how to achieve that anyway 😕

Now I'm starting to be a bit stuck, as I'm a total beginner, and I don't know if my install is obsolete, or the doc, or if I missed something (probably that one )

1 ACCEPTED SOLUTION

munshine
Node Clone

Well, I reinstalled everything from scratch and now it works like a charm. I most certainly broke something while installing/copy-pasting-instructions-without-reading the first time

View solution in original post

6 REPLIES 6

Do you know what version of Neo4j you've installed?

And the default user/password should be neo4j/neo4j, which you can enter in the Neo4j Browser.

I'm running neo4j 3.5.14.

The default user/password doesn't work, but I didn't know about it before starting the password recovery steps...

Ah, that explains why the ALTER USER syntax didn't work - that was only introduced in the 4.0 series.

Glad you've got it sorted.

munshine
Node Clone

Well, I reinstalled everything from scratch and now it works like a charm. I most certainly broke something while installing/copy-pasting-instructions-without-reading the first time

Hi, you can use "Halin Neo4j Monitoring" application from Neo4j Desktop. This app allows to you manage users and others great features.

Thanks

Thanks, that's a very useful app