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:
- makes a full backup of your site before anything else happens
- makes a copy of your database to test any changes there before moving forward
- if anything fails, it rollback automatically, your site is exactly as it was
- if database changes work, it runs those changes on your database
- 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 UPDATESbutton to manually check for updates. - If an update is available, you’ll see an
Update Nowbutton - 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-cto stop it and./roe.sh startfrom the Roe (root) folder to start it again.
- If there is an error or something goes wrong, try restarting the server in the terminal:
- 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]