Skip to main content

Updating Standard Notes Standalone Infrastructure

Requirements#

These instructions make the following assumptions:

  • You have an existing standalone infrastructure running with our docker setup

Updating#

Updating of the infrastructure essentially consists of:

  • Stopping all services
  • Pulling changes from Git
  • Checking for env file changes: new environment variables might have been added that you will need to configure
  • Downloading latest Docker image versions of Standard Notes services
  • Starting the services up again

To save you all the trouble we've packed it all nicely in one command that you run by typing:

$ ./server.sh update

Troubleshooting#

If you encounter any problems while updating, you can nuke your setup and start over. But you must backup your data inside the data/* folder. Then, to wipe your existing setup, run:

$ ./server.sh cleanup

WARNING this will permanently delete all your data, so be sure to back up your database before running this command.

Last updated on