Help:Setup information file

Both the generated upgrade keyCiteRef::gh:smw:3095 as well as other status informationCiteRef::gh:smw:3611CiteRef::gh:smw:3715 as described on the help page on upgrades are stored in the setup information file called ".smw.json".

The setup information file is generated or updated during the upgrade of the database by running or  respectively. Moreover the other status information are also updated by.

If the upgrade key was not set or is incorrect the Update Error Screen is shown to the users and if the other status information are set to "false" the upgrade information error message is shown to the users.

The file is stored at the location defined via CiteRef::gh:smw:3596 which is by default the root directory of the Semantic MediaWiki Software, i.e. . This path must be writable, persistent and accessible for Semantic MediaWiki throughout its operation. If this is not the case the Update Error Screen is shown informing about this problem. Note that the Update Error Screen is also shown if the file was manually manipulated.CiteRef::gh:smw:3596:453788765

If the file cannot be written to the directory defined by an additional error message is shown to the system administrator apart from the the Update Error Screen which is shown to the users at the same time: ERROR: /var/www/html/02100/w/.smw.json is not writable.

The "smwgConfigFileDir" setting should point to a      directory that is persistent and writable!

The wiki's upgrade key as well as other status information is referenced by the identifier holding the respective upgrade key. The identifier uses the wiki ID of the wiki, e.g..
 * Example content for the setup key file ".smw.json"