Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-12-2021 11:58 AM
Hello Everyone,
it has now become the norm on my system that the database is unable to update. It is a hit or miss at times.
Here is the message:
Failed to upgrade database. Please check log files, make adjustments and try again.
Just upgraded to the lasted desktop version today : Neo4j Desktop 1.4.0
The logs strangely isn't showing anything in terms of what it was doing. So the new desktop seems to not be creating a log.
What can I do?
thanks in advance.
01-12-2021 07:35 PM
Hi @tideon
What version of Neo4j did you want to upgrade?
For example, from 3.5.x to 4.2.1.
01-12-2021 07:51 PM
There are three databases that won't update
( 2x ) 4.2.1 => 4.2.2
4.1.3 => 4.2.2
01-12-2021 08:14 PM
Hi @tideon
I have upgraded one movie DB from Neo4j 4.2.1 to 4.2.2.
I used Neo4j Desktop 1.4.0.
No problems were encountered here.
Are you using any libraries like APOC?
I need your logs or something.
01-12-2021 08:37 PM
Yes, am using APOC. I must also say, that this has always been a touch and go situation with Neo4j ever since I started using it. After updating to the newer desktop ( Neo4j Desktop 1.4.0 ) today, the log file isn't getting updated any more. So there is no information being added.
Would you suggest deactivating the APOC and try again, as there is no error to be seen in the log files.
01-16-2021 04:31 PM
Hi @tideon
Neo4j Desktop 1.4.1 has been released.
I don't see it in the fix list, but does it show up in the log?
Note that it is better to backup your data before updating from 1.4.0 to 1.4.1.
01-16-2021 08:49 PM
Hello @tideon
It reminds me souvenir, I think neo4j changed their main database directory.
If it's not that, usually every update problems are located in the configuration file.
There is a lock in the configuration file who block the update process, it's default value is suppose to be false.
In the worst case, you can still dump all your databases and load them in a brand new DBMS.
01-16-2021 09:02 PM
Hello Tard,
Two things.
Greetings,
Tideon
01-16-2021 09:47 PM
I think these two links might help
The setting is call : dbms.allow_upgrade=true
But carefull I'm not sure about the exact nature for this setting.
For the dump and load part:
01-16-2021 10:40 PM
Hello Tard,
Thank you. The setting was already set to true,so that wasn't the issue.
I have to try your second option, but, the issue still remains. This has always been the case with Neo4j, hit or miss if a certain database can update.
Any other suggestions?
All the sessions of the conference are now available online