Upgrade a standalone server with a Debian package manager

An example of how to upgrade or patch a standalone server using a Debian package manager.

It is recommended to read the following pages before continuing:

For critical systems, it is recommended to:

Upgrade steps

  1. Stop the neo4j service by running:

    sudo systemctl stop neo4j
  2. Upgrade your Neo4j deployment by running:

    sudo apt upgrade neo4j-enterprise

    If you are upgrading Community Edition, replace neo4j-enterprise with neo4j.

  3. Start the Neo4j service by running:

    sudo systemctl start neo4j

Monitor the logs

When Neo4j restarts, it can be useful to monitor the logs for any errors or warnings caused by the upgrade. You can find information about the upgrade in the neo4j.log file.

Further information