X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2Fmd%2FTroubleshooting.md;h=e1ed5e0006ce9368f1d3fb21cda23b62d4850c6f;hb=bcba6bd353161fab456b423e93571ab027d5423c;hp=f0cf4e9746833777f48a30c29c94d769b2dc4ea8;hpb=dfed9b2dd58cfb82a334f4c9433bfce84426cd34;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/md/Troubleshooting.md b/doc/md/Troubleshooting.md index f0cf4e97..e1ed5e00 100644 --- a/doc/md/Troubleshooting.md +++ b/doc/md/Troubleshooting.md @@ -176,6 +176,16 @@ Under Opera, you can't drag'n drop the button: You have to right-click on it and - A new date/time field becomes available in the edit/new Shaare dialog. - You can set the timestamp manually by entering it in the format `YYYMMDD_HHMMS`. +### Clearing Shaarli caches + +For debugging purposes: + +```bash +# clear raintpl cache and temporary files +find /var/www/links/cache/ /var/www/links/pagecache/ /var/www/links/tmp/ -type f -exec rm -v '{}' \; +# if you have a php accelerator such as php-apcu, restart the webserver +sudo systemctl restart apache2 +``` -------------------------------------------------------