configs and
locales. This page is the procedure that keeps your edits. Plan a few minutes of downtime: the
server restarts once, twice if the product has an integration.
Before you start
- The new release, downloaded from Granted Assets on the Cfx.re portal.
- Its patch notes, in the product’s Changelog tab. Read every release between yours and the new one: an Action required section names a setting you have to change.
Steps
1
Copy out what you edited
Copy these from the product’s folder to somewhere outside
resources:Nothing else in the folder is yours. Keeping these files in version control, or at least one copy
per product version, also gives you a way back.
2
Update element_sdk first, if the new release needs it
The new release’s
INSTALL.md names the element_sdk versions it accepts. If yours is
older, replace the element_sdk folder with the new release first. element_sdk has no settings
of its own, so there is nothing to copy back. A newer element_sdk keeps working with the
products you already have, as long as it is inside the range each of them accepts. See
Versions and releases.3
Replace the product folders
Delete the product’s folder, and its
_assets folder when it has one, then extract the new
release in their place.Do not extract over the old folders. Files the new release no longer ships would stay behind.4
Put your files back
Copy your saved files over the ones the release shipped. Then apply every Action required
from the patch notes, for example a setting that was renamed.
5
Run the integration installer again, if the product has one
The update replaced the files your other resources point at. See
Install an integration.
6
Restart the server
Check that it worked
In the console, both of these are true:- no
[ERROR]or[WARN ]line names the product orelement_sdk; - the out-of-date notice for the product is gone.