diff options
-rw-r--r-- | doc/md/Server-configuration.md | 1 | ||||
-rw-r--r-- | doc/md/Troubleshooting.md | 10 |
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 | ||
203 | See [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. | 203 | See [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 | ||
207 | This 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`. | 208 | This 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 | |||
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 | ||