DokuWiki

It's better when it's simple

User Tools

Site Tools


update_check

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
update_check [2014-07-04 15:59] 108.40.111.226update_check [2022-11-30 16:18] (current) – old revision restored (2017-09-12 08:13) saggi
Line 3: Line 3:
 By default [[DokuWiki]] checks a special URL for messages once a day. This message system is used to notify administrators of DokuWiki installations about new releases and [[security]] warnings. By default [[DokuWiki]] checks a special URL for messages once a day. This message system is used to notify administrators of DokuWiki installations about new releases and [[security]] warnings.
  
-When the [[ACL]] is enabled , messages are displayed only to superusers.  If ACL is disabled, all users can see the message.+When the [[ACL]] is enabled, messages are displayed only to superusers.  If ACL is disabled, all users can see the message.
  
 The feature needs to contact ''update.dokuwiki.org'' on Port 80 - make sure your firewall allows this. If you don't want this feature, you can disable it with the [[config:updatecheck]] option in your [[plugin:config|config manager]]. The feature needs to contact ''update.dokuwiki.org'' on Port 80 - make sure your firewall allows this. If you don't want this feature, you can disable it with the [[config:updatecheck]] option in your [[plugin:config|config manager]].
Line 9: Line 9:
 Each message has a unique ID shown in square brackets. Only messages which have a higher ID than the one configured in the global variable ''$updateVersion'' in ''./doku.php'' will be displayed. When [[DokuWiki]] is upgraded to the release announced in the message, the ''doku.php'' file will be upgraded as well, suppressing the message. If you don't want to upgrade to an announced release you can simply increase the number in ''doku.php''. (note: in older versions, this number was at the top of the file ''./conf/msg''). Each message has a unique ID shown in square brackets. Only messages which have a higher ID than the one configured in the global variable ''$updateVersion'' in ''./doku.php'' will be displayed. When [[DokuWiki]] is upgraded to the release announced in the message, the ''doku.php'' file will be upgraded as well, suppressing the message. If you don't want to upgrade to an announced release you can simply increase the number in ''doku.php''. (note: in older versions, this number was at the top of the file ''./conf/msg'').
  
-When [[install:upgrade|upgrading your installation]], it might happen that DokuWiki continues to show the update message, even though the number in ''doku.php'' was increased by the upgrade. This is because DokuWiki caches already fetched messages for a day and will only refetch if the last modified timestamp of ''doku.php'' is higher than the one of the cache file. To stop the outdated update message from showing you can simply wait a day, touch((//touch// is a UNIX command to change a file's date and time, the so-called "timestamp")) the ''doku.php'' or delete the ''data/cache/messages.txt'' cache file.+When [[install:upgrade|upgrading your installation]], it might happen that DokuWiki continues to show the update message, even though the number in ''doku.php'' was increased by the upgrade. This is because DokuWiki caches already fetched messages for a day and will only refetch if the last modified timestamp of ''doku.php'' is higher than the one of the cache file. To stop the outdated update message from showing you can simply wait a day, touch((//touch// is a UNIX command to change a file's date and time, the so-called "timestamp")) the ''doku.php'' or delete the ''data/cache/messages.txt'' cache file.\\ 
 +If for security reason you renamed the data repository, let say xyzdata for instance then the cache file is to be found at ''xyzdata/cache/messages.txt'' even if some install re-created "data" and "data/cache" repositories.
update_check.1404482372.txt.gz · Last modified: 2014-07-04 15:59 by 108.40.111.226

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki