Editorial_UpdateConfig.xml

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:34

You can use a custom Editorial_UpdateConfig.xml file to update your GN4 system. Have in mind that it is a custom file so you might have to update it manually all the times before performing an upgrade.

The Editorial_UpdateConfig.xml file derives from the Editorial_InstallConfig.xml from which are stripped off initial data loading (<DataFile>) and some config loading (<ConfigFile>) - where it is presumed that your configuration files might be customized (e.g. ServerConfig.xml, EditorialConfig, GlobalConfig etc.)

A possible way to generate an Editorial_UpdateConfig.xml is to copy in it the content of the Editorial_InstalConfig.xml and then remove the lines that load data or config you don't want to overwrite in your customized system.

Click to toggle expandWhat's doesn't have to exist in the Editorial_UpdateConfig.xml?

Some general rules

The file Editorial_installconfig.xml must be used ONLY for installing from scratch and never on an already customized GN4 database.

Create editorial_updateConfig.xml based on the latest editorial_installconfig.xml removing <DataFile> e ServerConfig.xml da <ConfigFile>. You have to redo it on every upgrade.

When updating, compare the previous editorial_installconfig.xml (that you made a copy of) with the latest one. In that way you can see what has been added. If <DataFile> lines were added, this means that the new initial data was required, and you have to import those, while removing all others - that were present also in the previous version of the editorial_installconfig.xml.

It is highly recommended that you keep trace of all customized configuration files (we recommended the use of SVN) so that you can compare old and new and merge the differences.

Keep a copy also of the modified schemas, and on every upgrade merge the new default modifications into custom schemas.