Unable to run Neo4J on Mac M3

System and OS : Apple Silicon Mac M3, Sonoma OS

Trying to install neo4j with docker and getting below errors:

  1. ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@2b037cfc' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details."

Attaching a log file for more reference.

I tried googling and found a few solutions for the problem, but none of them worked for me. Can someome please help me out here?

neo4j-db-1 | org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@2b037cfc' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
neo4j-db-1 | at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
neo4j-db-1 | at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
neo4j-db-1 | at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
neo4j-db-1 | at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
neo4j-db-1 | at org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:45)
neo4j-db-1 | Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@2b037cfc' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
neo4j-db-1 | at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
neo4j-db-1 | at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
neo4j-db-1 | at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
neo4j-db-1 | ... 3 more
neo4j-db-1 | Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /var/lib/neo4j/data/databases/graph.db
neo4j-db-1 | at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:212)
neo4j-db-1 | at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.(EnterpriseGraphDatabase.java:39)
neo4j-db-1 | at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(OpenEnterpriseNeoServer.java:78)
neo4j-db-1 | at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
neo4j-db-1 | at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
neo4j-db-1 | ... 5 more
neo4j-db-1 | Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.proc.Procedures@10bea4' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
neo4j-db-1 | at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
neo4j-db-1 | at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
neo4j-db-1 | at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:208)
neo4j-db-1 | ... 9 more
neo4j-db-1 | Caused by: java.util.zip.ZipException: Some jar procedure files are invalid, see log for details.
neo4j-db-1 | at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:76)
neo4j-db-1 | at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:323)
neo4j-db-1 | at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
neo4j-db-1 | ... 11 more
neo4j-db-1 | 2024-03-28 10:44:12.258+0000 INFO Neo4j Server shutdown initiated by request
neo4j-db-1 exited with code 1
postgres-1 | 2024-03-28 10:44:12.812 GMT [227] ERROR: relation "public.databasechangelog" does not exist at character 22
postgres-1 | 2024-03-28 10:44:12.812 GMT [227] STATEMENT: SELECT COUNT() FROM public.databasechangelog
postgres-1 | 2024-03-28 10:44:12.939 GMT [227] ERROR: relation "public.databasechangeloglock" does not exist at character 22
postgres-1 | 2024-03-28 10:44:12.939 GMT [227] STATEMENT: SELECT COUNT(
) FROM public.databasechangeloglock
postgres-migrations-1 | [2024-03-28 10:44:12] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:12] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:12] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:12] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:12] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:12] INFO [liquibase.lockservice] Successfully acquired change log lock
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Creating database history table with name: public.databasechangelog
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Reading from public.databasechangelog
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/schema/changelog.xml::initial-schema-create-clients-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table clients created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/schema/changelog.xml::initial-schema-create-clients-table::dre ran successfully in 30ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/schema/changelog.xml::initial-schema-create-datasets-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table datasets created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/schema/changelog.xml::initial-schema-create-datasets-table::dre ran successfully in 22ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/schema/changelog.xml::initial-schema-create-dataset-versions-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table dataset_versions created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/schema/changelog.xml::initial-schema-create-dataset-versions-table::dre ran successfully in 24ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/schema/changelog.xml::initial-schema-create-dqa-result-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table dqa_result created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/schema/changelog.xml::initial-schema-create-dqa-result-table::dre ran successfully in 17ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/schema/changelog.xml::initial-schema-create-audit-log-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table audit_log created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/schema/changelog.xml::initial-schema-create-audit-log-table::dre ran successfully in 23ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/updates/changelog.xml::adjust-audit-log::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/updates/changelog.xml::adjust-audit-log::dre ran successfully in 9ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/updates/changelog.xml::adjust-audit-log-null::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/updates/changelog.xml::adjust-audit-log-null::dre ran successfully in 9ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/updates/changelog.xml::lo-id-to-lo-id-oid-type::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/updates/changelog.xml::lo-id-to-lo-id-oid-type::dre ran successfully in 13ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.2/updates/changelog.xml::remove-orphan-lo::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.2/updates/changelog.xml::remove-orphan-lo::dre ran successfully in 8ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.4/schema/changelog.xml::create-teams-positions-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table teams_positions created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.4/schema/changelog.xml::create-teams-positions-table::dre ran successfully in 22ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.5/schema/changelog.xml::create-agile-staffing-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table agile_staffings created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.5/schema/changelog.xml::create-agile-staffing-table::dre ran successfully in 19ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.5/updates/changelog.xml::drop-teams-positions-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table teams_positions dropped
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.5/updates/changelog.xml::drop-teams-positions-table::dre ran successfully in 6ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.5/updates/changelog.xml::drop-null-constraint-on-teams-lo-id-agile-staffings-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Null constraint dropped from agile_staffings.teams_lo_id
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.5/updates/changelog.xml::drop-null-constraint-on-teams-lo-id-agile-staffings-table::dre ran successfully in 5ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.6/schema/changelog.xml::create-add-updated-at-trigger::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.6/schema/changelog.xml::create-add-updated-at-trigger::dre ran successfully in 9ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.6/schema/changelog.xml::create-dataset-history-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table dataset_history created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.6/schema/changelog.xml::create-dataset-history-table::dre ran successfully in 19ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.6/updates/changelog.xml::drop-event-type-column-from-dataset-history::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.6/updates/changelog.xml::drop-event-type-column-from-dataset-history::dre ran successfully in 2ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.9/schema/changelog.xml::create-file-import-table::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Table file_import created
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.9/schema/changelog.xml::create-file-import-table::dre ran successfully in 14ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 1.10/schema/changelog.xml::adjust-agile-staffings-for-1dot3-version-uploader::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 1.10/schema/changelog.xml::adjust-agile-staffings-for-1dot3-version-uploader::dre ran successfully in 4ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 2.0/schema/changelog.xml::adjust-dataset-versions-remove-file-meta::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 2.0/schema/changelog.xml::adjust-dataset-versions-remove-file-meta::dre ran successfully in 4ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 2.0/schema/changelog.xml::adjust-agile-staffings-remove-client-grn-column::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 2.0/schema/changelog.xml::adjust-agile-staffings-remove-client-grn-column::dre ran successfully in 2ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | Running Changeset: 2.0/updates/changelog.xml::rename-dqa_result-dataset_version_run_grn-column-to-dataset_version_solution_grn::dre
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] Custom SQL executed
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.changelog] ChangeSet 2.0/updates/changelog.xml::rename-dqa_result-dataset_version_run_grn-column-to-dataset_version_solution_grn::dre ran successfully in 3ms
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase] Update command completed successfully.
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.executor] Changelog query completed.
postgres-migrations-1 | [2024-03-28 10:44:13] INFO [liquibase.lockservice] Successfully released change log lock
postgres-migrations-1 | Liquibase command 'update' was executed successfully.
postgres-migrations-1 | Postgres migrations completed successfully.
postgres-migrations-1 exited with code 0
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container backend_web-neo4j-db-1 exited (1)
[+] Running 10/10
:heavy_check_mark: Container backend_web-vault-startup-scripts-1 Removed 0.2s
:heavy_check_mark: Container backend_web-web-1 Removed 0.0s
:heavy_check_mark: Container backend_web-airflow-start-up-scripts-1 Removed 0.0s
:heavy_check_mark: Container backend_web-airflow-1 Removed 0.0s
:heavy_check_mark: Container backend_web-neo4j-migrations-1 Removed 0.0s
:heavy_check_mark: Container backend_web-postgres-migrations-1 Removed 0.0s
:heavy_check_mark: Container backend_web-postgres-1 Removed 0.2s
:heavy_check_mark: Container backend_web-neo4j-db-1 Removed 0.0s
:heavy_check_mark: Container backend_web-vault-1 Removed 0.2s
:heavy_check_mark: Network backend_web_testing_net Removed