Help:Upgrade key

From Linux Web Expert

File:setup-check-error-schema-invalid-key.png
Error output when the setup check found an invalid upgrade key and blocks access to the wiki instance

The upgrade key is an internally generated key1 (stored as upgrade_key in the setup information file ".smw.json") to make a setup (or installation) comparable with a previous instance of the software. It provides the means to detect changes in Semantic MediaWiki that requires a system administrator to take appropriate actions before the setup check can release the block and before users start to interact with the software to ensure the integrity of the installed Semantic MediaWiki.

The key is generated from multiple sources that shape the database setup in terms of what sort of tables or fields (and indices) are required and currently include:

Technical notes

Software developers may modify the upgrade key directly to indicate that something has changed in regards to the internal database structure hereby ensures a new key is generated hereby forces the next install (or upgrade) to run either maintenance script "update.php" (MediaWiki.org) or maintenance script "setupStore.php"No description was provided..

A release manager may also modify the upgrade key setting in the "DefaultSettings.php" file to ensure that installs (or upgrades) with a new release do run either maintenance script "update.php" (MediaWiki.org) or maintenance script "setupStore.php"No description was provided..

See also

#scite could not render a citation text for reference "gh:smw:4461" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:4713" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:3095 
  2. ^ gh:smw:4713 
  3. ^ gh:smw:4461