Upgrade a standalone server with a Debian package manager

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

It is recommended to read the following pages before continuing:

For critical systems, it is recommended to:

  • Backup your server(s), including databases, configuration, and encryption keys to avoid losing data in case of failure.

  • Perform the upgrade in a test environment.

Upgrade

Upgrade your Neo4j deployment by running:

sudo apt upgrade neo4j-enterprise
If you are upgrading Community Edition, replace neo4j-enterprise with 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