Files
standardnotes-app-web/packages/docs/docs/self-hosting/updating.md
2022-07-04 15:42:47 -05:00

1.4 KiB

slug, id, title, sidebar_label, description, keywords, image, hide_title, hide_table_of_contents
slug id title sidebar_label description keywords image hide_title hide_table_of_contents
updating updating Updating Standard Notes Standalone Infrastructure Updating How to update Standard Notes Standalone Infrastructure.
standard notes
docs
notes app
end-to-end encryption
self-hosting
updating
sync server
docker
/img/logo.png false false

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.