diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2023-08-22 18:26:42 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2023-08-26 10:52:58 +0200 |
commit | da83f9a9b3cc2fe1216896f9da69caf8d13dec7c (patch) | |
tree | 07a4f3c7b671c5a7917f417d31412d97209d41a3 /docs | |
parent | b99320dd4aa9c5c732d331bd54d65e8010c4662d (diff) |
use unique name for cache folder
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/install.md | 11 | ||||
-rw-r--r-- | docs/troubleshooting.md | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/docs/install.md b/docs/install.md index 18598cc55..50bd69ce0 100644 --- a/docs/install.md +++ b/docs/install.md @@ -27,10 +27,19 @@ Also see the [Nextcloud documentation](https://docs.nextcloud.com/server/stable/ * Use MySQL/MariaDB or PostgreSQL for better database performance * Use the [updater script to thread and speed up the update](https://github.com/nextcloud/news-updater) +## Cache +News and it's libraries require a writeable temporary directory used as cache. The base directory depends on your system. +You can [configure a custom directory](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html?highlight=temp#tempdirectory) if you want. + +In most cases the base directory will be `/tmp`. News will create a folder `news-$instanceID` the [instance ID is defined by Nextcloud](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html?highlight=temp#instanceid). + +Inside that folder a subfolder `cache` is created, inside this cache folder news and libraries will try to create cache directories for caching images, html and more. + +You need to ensure that your web-server user can write to that directory. + ## Before you install/update the News app Before you install the app do the following: -* Check that your **nextcloud/data/** directory is owned by your web server user and that it is write/readable * Check that your installation fulfills the [requirements listed above](#dependencies) * [Set up Nextcloud Background Jobs](https://docs.nextcloud.org/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron) to enable feed updates. diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 5865665b4..5dad1604f 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -56,7 +56,9 @@ Feeds can be updated using Nextcloud's system cron or an external updater via th Follow this checklist: - Check admin settings of Nextcloud, was the last cron execution ok. -- Check the News admin settings, system cron is used to update news +- Check the logs for errors. +- Does your [cache configuration](install.md#cache) work? +- Check the News admin settings, system cron is used to update news. - You should see a info card at the top, which will tell you when the last job execution was. - If the card is red it is very likely that the update job is stuck. - If it is green then maybe only some feeds are failing to update, check the Nextcloud logs. |