Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-06-2020 11:54 PM
Hello,
On my server, I was using a working instance of Neo4j 3.5.0.
On my computer, I was using version 4.2.0.
I updated my version on my server to find the same configuration.
sudo add-apt-repository "deb https://debian.neo4j.com stable 4.2"
sudo apt install neo4j --upgrade
My Neo4j.conf is like :
root@ubuntu:/# sudo nano /etc/neo4j/neo4j.conf
GNU nano 2.9.3 /etc/neo4j/neo4j.conf
#*****************************************************************
# Neo4j configuration
#
# For more details and a complete list of settings, please see
# https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/
#*****************************************************************
# The name of the default database
dbms.default_database=neo4j
# Paths of directories in the installation.
dbms.directories.data=/var/lib/neo4j/data
dbms.directories.plugins=/var/lib/neo4j/plugins
dbms.directories.logs=/var/log/neo4j
dbms.directories.lib=/usr/share/neo4j/lib
dbms.directories.run=/var/run/neo4j
#dbms.directories.transaction.logs.root=data/transactions
# This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or comment it out to
# allow files to be loaded from anywhere in the filesystem; this introduces possible security problems. See the
# `LOAD CSV` section of the manual for details.
dbms.directories.import=/var/lib/neo4j/import
# Whether requests to Neo4j are authenticated.
# To disable authentication, uncomment this line
#dbms.security.auth_enabled=false
# Enable this to be able to upgrade a store from an older version.
dbms.allow_upgrade=true
#********************************************************************
# Memory Settings
#********************************************************************
#
# Memory settings are specified kilobytes with the 'k' suffix, megabytes with
# 'm' and gigabytes with 'g'.
# If Neo4j is running on a dedicated server, then it is generally recommended
# to leave about 2-4 gigabytes for the operating system, give the JVM enough
# heap to hold all your transaction state and query context, and then leave the
# rest for the page cache.
...
#*****************************************************************
# Network connector configuration
#*****************************************************************
# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
dbms.default_listen_address=0.0.0.0
# You can also choose a specific network interface, and configure a non-default
# port for each connector, by setting their individual listen_address.
# The address at which this server can be reached by its clients. This may be the server's IP address or DNS name, or
# it may be the address of a reverse proxy which sits in front of the server. This setting may be overridden for
# individual connectors below.
#dbms.default_advertised_address=localhost
# You can also choose a specific advertised hostname or IP address, and
# configure an advertised port for each connector, by setting their
# individual advertised_address.
# By default, encryption is turned off.
# To turn on encryption, an ssl policy for the connector needs to be configured
# Read more in SSL policy section in this file for how to define a SSL policy.
# Bolt connector
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=DISABLED
dbms.connector.bolt.listen_address=:7687
#dbms.connector.bolt.advertised_address=:7687
# HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=:7474
#dbms.connector.http.advertised_address=:7474
# HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=false
dbms.connector.https.listen_address=:7473
#dbms.connector.https.advertised_address=:7473
# Number of Neo4j worker threads.
#dbms.threads.worker_count=
When I start Neo4j I have on error :
-12-07 07:49:40.897+0000 INFO [o.n.s.CommunityNeoWebServer] ======== Neo4j 4.2.1 ========
2020-12-07 07:49:40.911+0000 INFO [o.n.d.d.DefaultDatabaseManager] Creating 'DatabaseId{00000000[system]}'.
2020-12-07 07:49:41.049+0000 INFO [o.n.b.BoltServer] Bolt server loaded
2020-12-07 07:49:41.176+0000 INFO [o.n.d.d.DefaultDatabaseManager] Starting 'DatabaseId{00000000[system]}'.
2020-12-07 07:49:41.588+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] [system/00000000] Selected RecordFormat:PageAlignedV4_1[AF4.1.a] record format from store /var/lib/neo4j/data/databases/system
2020-12-07 07:49:41.591+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] [system/00000000] Selected format 'RecordFormat:PageAlignedV4_1[AF4.1.a]' for existing store /var/lib/neo4j/data/databases/system with format 'RecordFormat:PageAlignedV4_1[AF4.1.a]'
2020-12-07 07:49:41.713+0000 INFO [o.n.k.i.t.l.f.c.CheckpointLogFile] [system/00000000] Scanning log file with version 0 for checkpoint entries
2020-12-07 07:49:41.757+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] [system/00000000] Selected RecordFormat:PageAlignedV4_1[AF4.1.a] record format from store /var/lib/neo4j/data/databases/system
2020-12-07 07:49:41.757+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] [system/00000000] Format not configured for store /var/lib/neo4j/data/databases/system. Selected format from the store files: RecordFormat:PageAlignedV4_1[AF4.1.a]
2020-12-07 07:49:42.101+0000 INFO [o.n.i.d.DiagnosticsManager] [system/00000000]
[system/00000000] ********************************************************************************
[system/00000000] [ Database: system ]
[system/00000000] ********************************************************************************
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] [ Version ]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] DBMS: community single StoreId{creationTime=1607325126147, randomId=-6988368615243658032, storeVersion=7002588545122976007, upgradeTime=1607325126147, upgradeTxId=1}
[system/00000000] Kernel version: 4.2.1
[system/00000000]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] [ Store files ]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] Disk space on partition (Total / Free / Free %): 104544264192 / 94228058112 / 90
[system/00000000] Storage files stored on file store: ext4
[system/00000000] Storage files: (filename : modification date - size)
[system/00000000] database_lock: 2020-12-07T08:12:06+01:00 - 0B
[system/00000000] neostore: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.counts.db: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.id: 2020-12-07T08:49:41+01:00 - 48.00KiB
[system/00000000] neostore.indexstats.db: 2020-12-07T08:49:30+01:00 - 40.00KiB
[system/00000000] neostore.labelscanstore.db: 2020-12-07T08:49:30+01:00 - 40.00KiB
[system/00000000] neostore.labeltokenstore.db: 2020-12-07T08:12:06+01:00 - 0B
[system/00000000] neostore.labeltokenstore.db.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.labeltokenstore.db.names: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.labeltokenstore.db.names.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.nodestore.db: 2020-12-07T08:12:06+01:00 - 0B
[system/00000000] neostore.nodestore.db.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.nodestore.db.labels: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.nodestore.db.labels.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.propertystore.db: 2020-12-07T08:12:06+01:00 - 0B
[system/00000000] neostore.propertystore.db.arrays: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.propertystore.db.arrays.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.propertystore.db.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.propertystore.db.index: 2020-12-07T08:12:06+01:00 - 0B
[system/00000000] neostore.propertystore.db.index.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.propertystore.db.index.keys: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.propertystore.db.index.keys.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.propertystore.db.strings: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.propertystore.db.strings.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.relationshipgroupstore.db: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.relationshipgroupstore.db.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.relationshipstore.db: 2020-12-07T08:12:06+01:00 - 0B
[system/00000000] neostore.relationshipstore.db.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.relationshiptypestore.db: 2020-12-07T08:12:06+01:00 - 0B
[system/00000000] neostore.relationshiptypestore.db.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.relationshiptypestore.db.names: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.relationshiptypestore.db.names.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] neostore.schemastore.db: 2020-12-07T08:12:06+01:00 - 8.000KiB
[system/00000000] neostore.schemastore.db.id: 2020-12-07T08:49:41+01:00 - 40.00KiB
[system/00000000] Storage summary:
[system/00000000] Total size of store: 800.0KiB
[system/00000000] Total size of mapped files: 112.0KiB
[system/00000000]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] [ Transaction log ]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] Transaction log files stored on file store: ext4
[system/00000000] No transactions found in any log
[system/00000000]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] [ Id usage ]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] ArrayPropertyStore[neostore.nodestore.db.labels]: used=1 high=0
[system/00000000] NodeStore[neostore.nodestore.db]: used=0 high=-1
[system/00000000] StringPropertyStore[neostore.propertystore.db.index.keys]: used=1 high=0
[system/00000000] PropertyIndexStore[neostore.propertystore.db.index]: used=0 high=-1
[system/00000000] StringPropertyStore[neostore.propertystore.db.strings]: used=1 high=0
[system/00000000] ArrayPropertyStore[neostore.propertystore.db.arrays]: used=1 high=0
[system/00000000] PropertyStore[neostore.propertystore.db]: used=0 high=-1
[system/00000000] RelationshipStore[neostore.relationshipstore.db]: used=0 high=-1
[system/00000000] StringPropertyStore[neostore.relationshiptypestore.db.names]: used=1 high=0
[system/00000000] RelationshipTypeStore[neostore.relationshiptypestore.db]: used=0 high=-1
[system/00000000] StringPropertyStore[neostore.labeltokenstore.db.names]: used=1 high=0
[system/00000000] LabelTokenStore[neostore.labeltokenstore.db]: used=0 high=-1
[system/00000000] SchemaStore[neostore.schemastore.db]: used=1 high=0
[system/00000000] RelationshipGroupStore[neostore.relationshipgroupstore.db]: used=1 high=0
[system/00000000] NeoStore[neostore]: used=19 high=18
[system/00000000]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] [ Neostore records ]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] TIME (Creation time): 1607325126147
[system/00000000] RANDOM_NUMBER (Random number for store id): -6988368615243658032
[system/00000000] LOG_VERSION (Current log version): 0
[system/00000000] LAST_TRANSACTION_ID (Last committed transaction): 1
[system/00000000] STORE_VERSION (Store format version): 7002588545122976007
[system/00000000] FIRST_GRAPH_PROPERTY (First property record containing graph properties): -1
[system/00000000] LAST_CONSTRAINT_TRANSACTION (Last committed transaction containing constraint changes): 0
[system/00000000] UPGRADE_TRANSACTION_ID (Transaction id most recent upgrade was performed at): 1
[system/00000000] UPGRADE_TIME (Time of last upgrade): 1607325126147
[system/00000000] LAST_TRANSACTION_CHECKSUM (Checksum of last committed transaction): -559063315
[system/00000000] UPGRADE_TRANSACTION_CHECKSUM (Checksum of transaction id the most recent upgrade was performed at): -559063315
[system/00000000] LAST_CLOSED_TRANSACTION_LOG_VERSION (Log version where the last transaction commit entry has been written into): 0
[system/00000000] LAST_CLOSED_TRANSACTION_LOG_BYTE_OFFSET (Byte offset in the log file where the last transaction commit entry has been written into): 64
[system/00000000] LAST_TRANSACTION_COMMIT_TIMESTAMP (Commit time timestamp for last committed transaction): 0
[system/00000000] UPGRADE_TRANSACTION_COMMIT_TIMESTAMP (Commit timestamp of transaction the most recent upgrade was performed at): 0
[system/00000000] LAST_MISSING_STORE_FILES_RECOVERY_TIMESTAMP (Timestamp of last attempt to perform a recovery on the store with missing files.): -1
[system/00000000] EXTERNAL_STORE_UUID_MOST_SIGN_BITS (Database identifier exposed as external store identity. Generated on creation and never updated. Most significant bits.): 3239868111360181457
[system/00000000] EXTERNAL_STORE_UUID_LEAST_SIGN_BITS (Database identifier exposed as external store identity. Generated on creation and never updated. Least significant bits): -6552232570288201226
[system/00000000] CHECKPOINT_LOG_VERSION (Current checkpoint log version): 0
[system/00000000]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] [ Store versions ]
[system/00000000] --------------------------------------------------------------------------------
[system/00000000] ArrayPropertyStore[neostore.nodestore.db.labels] AF4.1.a
[system/00000000] NodeStore[neostore.nodestore.db] AF4.1.a
[system/00000000] StringPropertyStore[neostore.propertystore.db.index.keys] AF4.1.a
[system/00000000] PropertyIndexStore[neostore.propertystore.db.index] AF4.1.a
[system/00000000] StringPropertyStore[neostore.propertystore.db.strings] AF4.1.a
[system/00000000] ArrayPropertyStore[neostore.propertystore.db.arrays] AF4.1.a
[system/00000000] PropertyStore[neostore.propertystore.db] AF4.1.a
[system/00000000] RelationshipStore[neostore.relationshipstore.db] AF4.1.a
[system/00000000] StringPropertyStore[neostore.relationshiptypestore.db.names] AF4.1.a
[system/00000000] RelationshipTypeStore[neostore.relationshiptypestore.db] AF4.1.a
[system/00000000] StringPropertyStore[neostore.labeltokenstore.db.names] AF4.1.a
[system/00000000] LabelTokenStore[neostore.labeltokenstore.db] AF4.1.a
[system/00000000] SchemaStore[neostore.schemastore.db] AF4.1.a
[system/00000000] RelationshipGroupStore[neostore.relationshipgroupstore.db] AF4.1.a
[system/00000000] NeoStore[neostore] AF4.1.a
[system/00000000]
2020-12-07 07:49:42.140+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system/00000000] Requirement `Database unavailable` makes database system unavailable.
2020-12-07 07:49:42.142+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system/00000000] DatabaseId{00000000[system]} is unavailable.
2020-12-07 07:49:42.270+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system/00000000] Fulfilling of requirement 'Database unavailable' makes database system available.
2020-12-07 07:49:42.271+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system/00000000] DatabaseId{00000000[system]} is ready.
2020-12-07 07:49:42.273+0000 INFO [o.n.m.DatabaseHealth] [system/00000000] Database health set to OK
2020-12-07 07:49:42.298+0000 WARN [o.n.k.a.p.GlobalProcedures] apoc.static.list is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
2020-12-07 07:49:42.300+0000 WARN [o.n.k.a.p.GlobalProcedures] apoc.static.set is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
2020-12-07 07:49:42.300+0000 WARN [o.n.k.a.p.GlobalProcedures] apoc.static.get is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
2020-12-07 07:49:42.302+0000 WARN [o.n.k.a.p.GlobalProcedures] apoc.static.getAll is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
2020-12-07 07:49:42.304+0000 WARN [o.n.k.a.p.GlobalProcedures] apoc.static.get is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
2020-12-07 07:49:42.305+0000 WARN [o.n.k.a.p.GlobalProcedures] apoc.static.getAll is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
2020-12-07 07:49:42.710+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=329, gcTime=340, gcCount=1}
2020-12-07 07:49:42.727+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load `apoc.text.Strings` from plugin jar `/var/lib/neo4j/plugins/apoc-3.5.0.15-all.jar`: org/neo4j/helpers/collection/Pair
2020-12-07 07:49:42.756+0000 INFO [o.n.d.d.DefaultDatabaseManager] Stopping 'DatabaseId{00000000[system]}'.
2020-12-07 07:49:42.757+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system/00000000] Requirement `Database unavailable` makes database system unavailable.
2020-12-07 07:49:42.757+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system/00000000] DatabaseId{00000000[system]} is unavailable.
2020-12-07 07:49:42.775+0000 INFO [o.n.k.i.t.l.c.CheckPointerImpl] [system/00000000] Checkpoint triggered by "Database shutdown" @ txId: 1 checkpoint started...
2020-12-07 07:49:42.827+0000 INFO [o.n.k.i.t.l.c.CheckPointerImpl] [system/00000000] Checkpoint triggered by "Database shutdown" @ txId: 1 checkpoint completed in 50ms
2020-12-07 07:49:42.831+0000 INFO [o.n.k.i.t.l.p.LogPruningImpl] [system/00000000] No log version pruned. The strategy used was '1 days'.
2020-12-07 07:49:42.866+0000 ERROR [o.n.g.f.DatabaseManagementServiceFactory] Error starting Neo4j database server at /var/lib/neo4j/data/databases
org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@58fa5769' was successfully initialized, but failed to start. Please see the attached cause exception "Argument `params` at position 3 in `when` with
type `Map` cannot be converted to a Neo4j type: Default value `` could not be parsed as a MAP?".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:463) ~[neo4j-common-4.2.1.jar:4.2.1]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110) ~[neo4j-common-4.2.1.jar:4.2.1]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:198) [neo4j-4.2.1.jar:4.2.1]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:163) [neo4j-4.2.1.jar:4.2.1]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36) [neo4j-4.2.1.jar:4.2.1]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:134) [neo4j-4.2.1.jar:4.2.1]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:90) [neo4j-4.2.1.jar:4.2.1]
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35) [neo4j-4.2.1.jar:4.2.1]
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: Argument `params` at position 3 in `when` with
type `Map` cannot be converted to a Neo4j type: Default value `` could not be parsed as a MAP?
at org.neo4j.procedure.impl.MethodSignatureCompiler.signatureFor(MethodSignatureCompiler.java:108) ~[neo4j-procedure-4.2.1.jar:4.2.1]
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure(ProcedureCompiler.java:252) ~[neo4j-procedure-4.2.1.jar:4.2.1]
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure(ProcedureCompiler.java:226) ~[neo4j-procedure-4.2.1.jar:4.2.1]
at org.neo4j.procedure.impl.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:119) ~[neo4j-procedure-4.2.1.jar:4.2.1]
at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:93) ~[neo4j-procedure-4.2.1.jar:4.2.1]
at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:383) ~[neo4j-procedure-4.2.1.jar:4.2.1]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442) ~[neo4j-common-4.2.1.jar:4.2.1]
... 7 more
2020-12-07 07:49:42.874+0000 INFO [o.n.g.f.DatabaseManagementServiceFactory] Shutdown started
How to recover my database present in 3.5.0 with the corresponding plugins (APOC & Graph Data Science Library).
Or simply retrieve a functional instance.
Thanks for helps.
Valentin
12-07-2020 05:52 PM
i could be mistaken but from the log
2020-12-07 07:49:42.727+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load `apoc.text.Strings` from plugin jar `/var/lib/neo4j/plugins/apoc-3.5.0.15-all.jar
which would appear to indicate you are running APOC 3.5.0.15 and the following file exists /var/lib/neo4j/plugins/apoc-3.5.0.15-all.jar
Neo4j 4.2 will not start with APOC 3.5.0.15 as that jar is valid for Neo4j 3.5.x. Please update APOC to a 4.2.x release https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/tag/4.2.0.0
All the sessions of the conference are now available online