DokuWiki

It's better when it's simple

User Tools

Site Tools


update_check

This is an old revision of the document!


Update Check

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.

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 updatecheck option in your config manager.

Each message has a unique ID shown in square brackets. Only messages which have a higher ID than the one configured in conf/msg will be shown. When you upgrade to the release announced in the message, the conf/msg 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 conf/msg.

When upgrading your installation, it might happen that DokuWiki continues to show the update message, even though the number in conf/msg 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 conf/msg is higher than the one of the cache file. To stop the outdated update message from showing you can simply wait a day, touch1) the conf/msg or delete the data/cache/messages.txt cache file.

1)
touch is a UNIX command to change a file´s date and time, the so-called “timestamp”
update_check.1236389041.txt.gz · Last modified: 2009-12-12 09:21 (external edit)

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