Skip to content

Commit 1bca4d5

Browse files
committed
Update the Migrate config page
1 parent bb92676 commit 1bca4d5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

modules/ROOT/pages/tools/neo4j-admin/migrate-configuration.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
You can use the `migrate-configuration` command to migrate a legacy Neo4j configuration file to the current format.
66
The new version will be written in a target configuration directory.
77
The default location for both the source and target configuration directory is the configuration directory specified by `NEO_CONF` or the default configuration directory for this installation.
8+
Starting with Neo4j 2025.01, the root location of the configuration directory is xref:configuration/configuration-settings.adoc#_server_directories_settings.adoc#config_server.directories.configuration[`server.directories.configuration=conf`].
89
If the source and target directories are the same, the original configuration files will be renamed.
910
A configuration provided using `--additional-config` option will not be migrated.
1011

@@ -57,16 +58,16 @@ The following example shows how to migrate a legacy configuration file to the cu
5758

5859
[source, shell, subs="attributes+"]
5960
----
60-
bin/neo4j-admin server migrate-configuration --from-path=/path/to/legacy/neo4j-enterprise-4.4.10/conf/ --to-path=/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/
61+
bin/neo4j-admin server migrate-configuration --from-path=/path/to/legacy/neo4j-enterprise-4.4.39/conf/ --to-path=/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/
6162
----
6263

6364
.Example output
6465
[result]
6566
----
66-
Keeping original user-logs.xml file at: /neo4j-enterprise-5.1.0/conf/user-logs.xml.old
67-
User logging configuration xml file generated: /neo4j-enterprise-5.1.0/conf/user-logs.xml
68-
Keeping original server-logs.xml file at: /neo4j-enterprise-5.1.0/conf/server-logs.xml.old
69-
Server logging configuration xml file generated: /neo4j-enterprise-5.1.0/conf/server-logs.xml
67+
Keeping original user-logs.xml file at: /neo4j-enterprise-2025.1.0/conf/user-logs.xml.old
68+
User logging configuration xml file generated: /neo4j-enterprise-2025.1.0/conf/user-logs.xml
69+
Keeping original server-logs.xml file at: /neo4j-enterprise-2025.1.0/conf/server-logs.xml.old
70+
Server logging configuration xml file generated: /neo4j-enterprise-2025.1.0/conf/server-logs.xml
7071
dbms.directories.import=import MIGRATED -> server.directories.import=import
7172
dbms.connector.bolt.enabled=true MIGRATED -> server.bolt.enabled=true
7273
dbms.connector.http.enabled=true MIGRATED -> server.http.enabled=true
@@ -89,12 +90,12 @@ dbms.jvm.additional=-XX:+UnlockDiagnosticVMOptions MIGRATED -> server.jvm.additi
8990
dbms.jvm.additional=-XX:+DebugNonSafepoints MIGRATED -> server.jvm.additional=-XX:+DebugNonSafepoints
9091
dbms.jvm.additional=-Dlog4j2.disable.jmx=true MIGRATED -> server.jvm.additional=-Dlog4j2.disable.jmx=true
9192
dbms.windows_service_name=neo4j MIGRATED -> server.windows_service_name=neo4j
92-
Keeping original configuration file at: /neo4j-enterprise-5.1.0/conf/neo4j.conf.old
93+
Keeping original configuration file at: /neo4j-enterprise-2025.1.0/conf/neo4j.conf.old
9394
----
9495

9596
[NOTE]
9697
====
97-
The example output is not to be used to populate a new Neo4j 5 _neo4j.conf_ file.
98+
The example output is not to be used to populate a new Neo4j 2025.01 _neo4j.conf_ file.
9899
99-
The 5.x syntactically correct configuration file can be found at _/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/_, where `/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/` is the value of `--to-path=`.
100+
The 2025.01 syntactically correct configuration file can be found at _/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/_, where `/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/` is the value of `--to-path=`.
100101
====

0 commit comments

Comments
 (0)