diff options
author | nodiscc <nodiscc@gmail.com> | 2020-08-15 19:40:59 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2020-09-12 14:31:45 +0200 |
commit | 78f319fa6b9a2824bdc8becc88c365455b1a1aa6 (patch) | |
tree | 876eb9e8e5a08d99136b87d527233c2230914de8 /doc/md/Troubleshooting.md | |
parent | 6c4cae378e87b43a793cd91a87dc1952106107f7 (diff) | |
download | Shaarli-78f319fa6b9a2824bdc8becc88c365455b1a1aa6.tar.gz Shaarli-78f319fa6b9a2824bdc8becc88c365455b1a1aa6.tar.zst Shaarli-78f319fa6b9a2824bdc8becc88c365455b1a1aa6.zip |
doc: troubleshooting: add procedure to clear shaarli caches
Diffstat (limited to 'doc/md/Troubleshooting.md')
-rw-r--r-- | doc/md/Troubleshooting.md | 10 |
1 files changed, 10 insertions, 0 deletions
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 | |||
176 | - A new date/time field becomes available in the edit/new Shaare dialog. | 176 | - A new date/time field becomes available in the edit/new Shaare dialog. |
177 | - You can set the timestamp manually by entering it in the format `YYYMMDD_HHMMS`. | 177 | - You can set the timestamp manually by entering it in the format `YYYMMDD_HHMMS`. |
178 | 178 | ||
179 | ### Clearing Shaarli caches | ||
180 | |||
181 | For debugging purposes: | ||
182 | |||
183 | ```bash | ||
184 | # clear raintpl cache and temporary files | ||
185 | find /var/www/links/cache/ /var/www/links/pagecache/ /var/www/links/tmp/ -type f -exec rm -v '{}' \; | ||
186 | # if you have a php accelerator such as php-apcu, restart the webserver | ||
187 | sudo systemctl restart apache2 | ||
188 | ``` | ||
179 | 189 | ||
180 | ------------------------------------------------------- | 190 | ------------------------------------------------------- |
181 | 191 | ||