A user, Duane, seeks advice on updating from Discourse 2.4.0.beta7 to 2.7.0.beta7, asking about best practices for a smooth transition. Benjamin_D advises taking a backup and, if possible, a snapshot of the host, as well as noting the current commit SHA. He confirms that the site is automatically taken offline during the rebuild and that no user notification is generated by default, referencing a guide for adding an offline message. Duane then asks if the update checks for up-to-date databases and plugins, to which Benjamin_D replies that the launcher pulls the latest plugins during rebuild, though modifications to themes or components should be preserved.
I need to update my install and since its my first update I don’t want to mess anything up. Ofc I will perform a backup first… is there anything else I should be aware of for my first update? Is the site automatically taken offline? Is there a message generated to users to that effect?
Just trying to avoid the oops message. Any pointers would be appreciated… so TIA!!
A backup for sure, and even if everything should be fine, if you have some kind of vps feature for that, maybe a snapshot of the host , as surely there will be some database update to be done, might be easier than to restore from a backup if anything goes wrong (restore process that is interesting to practice by the way). Make a copy of the app.yml and write somewhere the SHA of the commit you’re on as an extra precaution ?
Another question… does the update run a scan of the installed databases and plugins to make sure everything is up-to-date before commencing with the update?
Yes, when rebuilding a container, the launcher pull the latest plugins from their git repo. If you made some modifications within a theme or a component, you’d want to save these changes