← Back to Documentation

Updates & Deployment

Roe makes updates and deployment almost one-click. If you run into trouble, read on…

Note: If you’ve edited anything in Roe’s code base (/current folder), don’t use the Update System. This will override any local changes to the code base. This does not apply to your /site folder. Edits there are not affected by the Update System.

Updates

Updates in Roe are handled delicately. The system:

  1. makes a full backup of your site before anything else happens
  2. makes a copy of your database to test any changes there before moving forward
  3. if anything fails, it rollback automatically, your site is exactly as it was
  4. if database changes work, it runs those changes on your database
  5. it finishes by removing the old code and replacing it with the new code

Updates are handled on this page: Admin → Updates & Deploy. When there is an update available, you should see an amber dot above the link in Admin. However, you can manually check for updates as well:

  • Click the CHECK FOR UPDATES button to manually check for updates.
  • If an update is available, you’ll see an Update Now button
  • You’ll see a running log of what is happening…
    • If there is an error or something goes wrong, try restarting the server in the terminal: ctrl-c to stop it and ./roe.sh start from the Roe (root) folder to start it again.
  • When it finishes, restart your server and refresh this page once it’s going.

Deployment

Deployment is similar. There is a full guide to deployment here: [Guide → Deploy]