info:dw_updates

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
info:dw_updates [2015/03/18 08:53] – radeffinfo:dw_updates [2021/09/21 05:12] (Version actuelle) – radeff
Ligne 1: Ligne 1:
 ====== dw_updates update / upgrade dokuwiki, sessions, versions ====== ====== dw_updates update / upgrade dokuwiki, sessions, versions ======
-{{tag>dw}}+{{tag>dokuwiki}} 
 note de http://www.dokuwiki.org/update_check note de http://www.dokuwiki.org/update_check
  
-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. +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,  
 +  * touch the conf/msg  
 +  * or delete the data/cache/messages.txt cache file 
  
 ===== Solution plugin ===== ===== Solution plugin =====
Ligne 15: Ligne 19:
 http://www.dokuwiki.org/install:diffupgrade http://www.dokuwiki.org/install:diffupgrade
  
-==== Flux RSS dokuwiki ==== +==== script ==== 
- +  dwmaj
- +
-[[thunderbird_rss#protection_sous_dokuwiki|si votre dokuwiki est protégé]] +
- +
-__false__ +
- +
-==== informations de sessions ==== +
-si vous voulez récupérer le user actuel: +
-<code php> +
-$utilisateur= $_SESSION[DOKU_COOKIE]['auth']['user']; +
-</code> +
-<php> +
-$utilisateur= $_SESSION[DOKU_COOKIE]['auth']['user']; +
-echo "Utilisateur: " .$utilisateur; +
-</php> +
-ATTENTION A AVOIR UN CACHE = 0 sinon apparait le précédent!!! +
- +
-==== informations sur la version ==== +
- +
-?do=check +
- +
-http://www.dokuwiki.org/update_check +
- +
-When 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, touch1) the doku.php or delete the data/cache/messages.txt cache file.  +
- +
-<code> +
-rm data/cache/messages.txt +
-</code> +
- +
-If you encounter some inconsistencies in DokuWiki's behaviour after upgrading, you should delete the cache files in data/cache/ +
- +
-==== sauvegardes avec *nix ==== +
-<code> +
-#!/bin/bash +
-#pour sauvegarder votre dokuwiki sur un serveur distant  +
-# a mettre dans un crontab eg me le lance tous les jours à 16h31 +
-#31 16 * * * /home/radeff/bin/dokuwiki.backup.sh +
-#### a changer +
-chemin="/home/radeff/dokuwiki/data" #definir le repertoire +
-serveur="radeff@yourwebserver:~/backups/dokuwiki" #definir le serveur et le repertoire distant pour le backup +
-### ne plus rien changer ### +
-cd $chemin +
-rsync -az * $serveur +
-echo "Synchronisation effectuée" +
-</code> +
- +
-{{page>info:dw_fckg}} +
- +
  • info/dw_updates.1426665180.txt.gz
  • Dernière modification : 2015/03/18 08:53
  • de radeff