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

Add uninstallation steps #1331

Merged
merged 7 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions modules/ROOT/pages/installation/linux/debian.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,16 @@ For more information, see xref:configuration/set-initial-password.adoc[].
====

For more information on operating the Neo4j system service, see xref:installation/linux/systemd.adoc[Neo4j system service].

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to mention Neo4j Desktop on each OS page, as there is nothing related to how to install Desktop on any of them. So, I think you should remove this sentence.

lidiazuin marked this conversation as resolved.
Show resolved Hide resolved

Follow these steps to uninstall Neo4j:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Use the preferred package manager and write:
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
[source]
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
---
sudo apt remove neo4j
---
14 changes: 14 additions & 0 deletions modules/ROOT/pages/installation/linux/rpm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,17 @@ For more information, see xref:configuration/set-initial-password.adoc[].
====

For more information on operating the Neo4j system service, see xref:installation/linux/systemd.adoc[Neo4j system service].

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved

Follow these steps to uninstall Neo4j:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Use the preferred package manager and write:
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved

lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
[source]
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
---
sudo yum remove neo4j
---
20 changes: 20 additions & 0 deletions modules/ROOT/pages/installation/linux/tarball.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,23 @@ sudo systemctl daemon-reload
----

. Reboot your machine.

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved

Follow these steps to uninstall Neo4j on Linux:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Stop all Neo4j running services.
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
[source]
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
---
sudo systemctl stop neo4j
sudo systemctl disable neo4j
---
. Delete _NEO4J_HOME_ and the file _/lib/systemd/system/neo4j.service_
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
[source]
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
---
rm /lib/systemd/system/neo4j.service
rm -rf NEO4J_HOME
---
20 changes: 20 additions & 0 deletions modules/ROOT/pages/installation/osx.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,23 @@ server.jvm.additional=-XX:-MaxFDLimit
Without this setting, the file descriptor limit for the JVM will not be increased beyond 10240.
Note, however, that this only applies to macOS.
On all other operating systems, you should always leave the `MaxFDLimit` JVM setting enabled.

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved

Here are the steps to uninstall Neo4j on macOS:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Stop all Neo4j running services.
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
[source]
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
---
sudo systemctl stop neo4j
sudo systemctl disable neo4j
---
. Delete _NEO4J_HOME_ and the file _/lib/systemd/system/neo4j.service_
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
[source]
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
---
rm /lib/systemd/system/neo4j.service
rm -rf NEO4J_HOME
---
14 changes: 14 additions & 0 deletions modules/ROOT/pages/installation/windows.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,17 @@ Invoke-Neo4jAdmin
=== Common PowerShell parameters

The module commands support the common PowerShell parameter of `Verbose`.

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved

Here are the steps to uninstall Neo4j on Windows:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Stop all Neo4j processes by using the Task Manager.
. In a command window, write:
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved
[source, shell]
---
bin\neo4j windows-service uninstall
---
lidiazuin marked this conversation as resolved.
Show resolved Hide resolved