neo4j-devtools / neo4j-desktop

The Neo4j Graph Platform, on your desktop OS.
19 stars 1 forks source link

Database failed to create: Error: Could not change password #12

Closed Jahanobik234 closed 5 years ago

Jahanobik234 commented 6 years ago

I'm getting the above error when I attempt to create a new 3.3.3 database. No matter the password I try, this is failing. Any help in successfully creating the database would be welcomed!

image

Thanks!

oskarhane commented 6 years ago

Thanks for the report! What operating system are you on?

We recently released a new version, can you try with that?

mamathadesireddy commented 6 years ago

I am using Neo4j 1.0.19 and getting the same error when I try to create a local graph using Neo4j Desktop application. Error:Database failed to create: Error: Could not change password

Can anyone aware of the solution for the above problem?

Metaur commented 6 years ago

Could you please share the app logs? Either in developer tools, while the app is running, or in a log file, that is located at C:/Users/{username}/.Neo4jDesktop/log.log

LuchoTurtle commented 6 years ago

I am having the exact same problem but with the 3.3.5 database version on Windows 10 (1709 version) and I'm using the 1.0.21 version of Neo4j. This has actually been bugging me for a while. I've reinstalled Neo4j several times and I have inclusively deleted all AppData files after each install just in case and this error just keeps popping up.

I've checked the log files and I found out this is the error that's mainly causing the issue: [error] Neo4jAdmin: Error: Could not find or load main class '-XX:+UseG1GC'

I know it seems pretty obvious but I've yet to find a solution successfully. I'm just writing here to add my two cents. I'm attaching the log files, in case y'all need it.

log.log

Thanks!

zhongqiujie commented 5 years ago

I got the same error. [2018-12-14 11:36:04.284] [info] Action[DATABASE_NEW] { createdAt: '2018-12-14T03:36:04.283Z', description: '', edition: 'enterprise', id: 'database-700163c9-bbf5-4e7d-bd0d-9df641ea3433', name: 'Graph', projectId: 'project-7cb20a3e-0f6e-4811-ab96-d6005b28fb1a', status: 'NEW', type: 'DATABASE_NEW', version: '3.5.0' }

[2018-12-14 11:36:17.461] [info] Function[unnamed] dispatched

[2018-12-14 11:36:17.465] [info] Action[DATABASE_CREATING] { database: { createdAt: '2018-12-14T03:36:04.283Z', description: '', edition: 'enterprise', id: 'database-700163c9-bbf5-4e7d-bd0d-9df641ea3433', isValidPassword: true, name: 'zhongqiujie', password: '***', projectId: 'project-7cb20a3e-0f6e-4811-ab96-d6005b28fb1a', version: '3.5.0' }, type: 'DATABASE_CREATING' }

[2018-12-14 11:36:17.503] [info] Function[unnamed] dispatched

[2018-12-14 11:36:17.507] [info] Neo4j Download check

[2018-12-14 11:37:15.884] [info] C:\Users\henry.Neo4jDesktop\neo4jDatabases\database-700163c9-bbf5-4e7d-bd0d-9df641ea3433\installation-3.5.0 extracted!

[2018-12-14 11:37:28.849] [info] Executing 'C:\Users\henry.Neo4jDesktop\neo4jDatabases\database-700163c9-bbf5-4e7d-bd0d-9df641ea3433\installation-3.5.0\bin\neo4j-admin.bat' [ 'set-initial-password', '***' ]

[2018-12-14 11:37:59.274] [info] Stopping process tree for parent process [4200]

[2018-12-14 11:38:07.255] [info] [Windows] Stopping parent process [4200]

[2018-12-14 11:38:07.284] [info] [Windows] Stopping parent process [4200] success

[2018-12-14 11:38:07.286] [info] Stopping process [4816]

[2018-12-14 11:38:07.287] [info] Stopping process [4816] gracefully

[2018-12-14 11:38:07.293] [info] Stopping process [18976]

[2018-12-14 11:38:07.295] [info] Stopping process [18976] gracefully

[2018-12-14 11:38:07.311] [info] Stopping process [4816] success

[2018-12-14 11:38:07.312] [info] Stopping process [18976] success

[2018-12-14 11:38:07.313] [info] Stopped process tree for parent process [4200]

[2018-12-14 11:38:07.320] [info] Process [4200] exit with code 'null', signal 'SIGTERM'

[2018-12-14 11:38:08.345] [info] Action[DATABASE_CREATION_FAILED] { id: 'database-700163c9-bbf5-4e7d-bd0d-9df641ea3433', type: 'DATABASE_CREATION_FAILED' }

Metaur commented 5 years ago

@LuchoTurtle Please try removing the dbms.jvm.additional entry from neo4j config and start again.

Metaur commented 5 years ago

@zhongqiujie Have you tried running neo4j-admin.bat script manually? Also, I've noted that your data path (C:\Users\henry.Neo4jDesktop) looks weird, how did you configure that?

Sceurpien commented 5 years ago

I had the same issue, and I wrote a simple article how you can manage to start Neo4j on a Win10 computer.

https://www.linkedin.com/pulse/how-kill-neo4j-soon-you-start-g%C3%A1bor-imre-bata-kov%C3%A1cs/

I hope it helps.

Metaur commented 5 years ago

@Sceurpien this issue has been fixed in the latest release. Now Desktop uses its own bundle jdk, which is 100% compatible with all neo4j versions available for download.

Metaur commented 5 years ago

Will close this issue, as the fix is available. Please reopen if needed