aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/md
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2020-08-15 19:40:59 +0200
committernodiscc <nodiscc@gmail.com>2020-09-12 14:31:45 +0200
commit78f319fa6b9a2824bdc8becc88c365455b1a1aa6 (patch)
tree876eb9e8e5a08d99136b87d527233c2230914de8 /doc/md
parent6c4cae378e87b43a793cd91a87dc1952106107f7 (diff)
downloadShaarli-78f319fa6b9a2824bdc8becc88c365455b1a1aa6.tar.gz
Shaarli-78f319fa6b9a2824bdc8becc88c365455b1a1aa6.tar.zst
Shaarli-78f319fa6b9a2824bdc8becc88c365455b1a1aa6.zip
doc: troubleshooting: add procedure to clear shaarli caches
Diffstat (limited to 'doc/md')
-rw-r--r--doc/md/Server-configuration.md1
-rw-r--r--doc/md/Troubleshooting.md10
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/md/Server-configuration.md b/doc/md/Server-configuration.md
index 2ee15ef6..281abb0d 100644
--- a/doc/md/Server-configuration.md
+++ b/doc/md/Server-configuration.md
@@ -202,6 +202,7 @@ systemctl restart apache
202 202
203See [How to install the Apache web server](https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-debian-10) for a complete guide. 203See [How to install the Apache web server](https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-debian-10) for a complete guide.
204 204
205
205### Nginx 206### Nginx
206 207
207This examples uses nginx and the [PHP-FPM](https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mariadb-php-lemp-stack-on-debian-10#step-3-%E2%80%94-installing-php-for-processing) PHP interpreter. Nginx and PHP-FPM must be running using the same user and group, here we assume the user/group to be `www-data:www-data`. 208This examples uses nginx and the [PHP-FPM](https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mariadb-php-lemp-stack-on-debian-10#step-3-%E2%80%94-installing-php-for-processing) PHP interpreter. Nginx and PHP-FPM must be running using the same user and group, here we assume the user/group to be `www-data:www-data`.
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
181For debugging purposes:
182
183```bash
184# clear raintpl cache and temporary files
185find /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
187sudo systemctl restart apache2
188```
179 189
180------------------------------------------------------- 190-------------------------------------------------------
181 191