Skip to content
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

Use newest version of neo4j #303

Open
joluj opened this issue Jun 14, 2021 · 1 comment
Open

Use newest version of neo4j #303

joluj opened this issue Jun 14, 2021 · 1 comment

Comments

@joluj
Copy link
Collaborator

joluj commented Jun 14, 2021

In 02045b1, the docker version of neo4j was set to 4.2 since our dumps where created in that version and were not automatically updated.
This issue adds the functionality that our DB-dumps are automatically upgraded to new versions of neo4j.

Related lines from the Error Log:

ERROR [o.n.k.i.s.DatabaseMigrator] [neo4j/a2ee98bc] Error upgrading database. Database left intact and will likely not be able to start: org.neo4j.storageengine.migration.UpgradeNotAllowedException: Neo4j cannot be started because the database files require upgrading and upgrades are disabled in the configuration. Please set 'dbms.allow_upgrade' to 'true' in your configuration file and try again.

ERROR [c.n.d.DbmsReconciler] Encountered error when attempting to reconcile database neo4j to state 'online', database remains in state 'offline'
2021-06-14T12:00:27.7501246Z org.neo4j.dbms.api.DatabaseManagementException: Unable to start database `DatabaseId{a2ee98bc[neo4j]}`. Requires upgrade.

2021-06-14T12:00:27.7543045Z Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.database.Database@4597385f' was successfully initialized, but failed to start. Please see the attached cause exception "Neo4j cannot be started because the database files require upgrading and upgrades are disabled in the configuration. Please set 'dbms.allow_upgrade' to 'true' in your configuration file and try again.".

2021-06-14T12:00:27.7560320Z Caused by: java.lang.RuntimeException: org.neo4j.storageengine.migration.UpgradeNotAllowedException: Neo4j cannot be started because the database files require upgrading and upgrades are disabled in the configuration. Please set 'dbms.allow_upgrade' to 'true' in your configuration file and try again.

2021-06-14T12:00:27.7578565Z Caused by: org.neo4j.storageengine.migration.UpgradeNotAllowedException: Neo4j cannot be started because the database files require upgrading and upgrades are disabled in the configuration. Please set 'dbms.allow_upgrade' to 'true' in your configuration file and try again.
@joluj
Copy link
Collaborator Author

joluj commented Jun 14, 2021

/CC @PianoRollRepresentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant