summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2020-10-01 10:45:11 +0200
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-10-02 19:32:49 +0200
commite1426bfa50a46532243942d0e74ce098d0e5b80e (patch)
tree0a31c82fc8beae03922221fb1d2af5e495091648 /docs
parent0d1ee15f8689ab33c9c2dc90c7c3a592950af1e6 (diff)
Update Documentation on the new config
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration.md24
-rw-r--r--docs/faq/README.md4
2 files changed, 26 insertions, 2 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index a2e2ee5fd..8c35ce907 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1,5 +1,29 @@
# Configuration
+The configuration is saved in the database, you can change and view them via the admin interface.
+
+You can find them in the appconfig table.
+
+```sql
+mysql> select * from oc_appconfig where appid = 'news';
++-------+--------------------------+-------------+
+| appid | configkey | configvalue |
++-------+--------------------------+-------------+
+| news | autoPurgeCount | 200 |
+| news | autoPurgeMinimumInterval | 60 |
+| news | enabled | yes |
+| news | exploreUrl | |
+| news | feedFetcherTimeout | 60 |
+| news | installed_version | 15.0.0 |
+| news | maxRedirects | 10 |
+| news | types | |
+| news | updateInterval | 3600 |
+| news | useCronUpdates | 1 |
++-------+--------------------------+-------------+
+```
+
+# Legacy Configuration before News 15.0.0
+
All configuration values are set inside **nextcloud/data/news/config/config.ini** and can be edited in the admin panel.
The configuration is in **INI** format and looks like this:
diff --git a/docs/faq/README.md b/docs/faq/README.md
index abf956b90..b32ec2c2f 100644
--- a/docs/faq/README.md
+++ b/docs/faq/README.md
@@ -120,7 +120,7 @@ Check the **nextcloud/data/nextcloud.log** for hints why it failed. After the is
Feeds can be updated using Nextcloud's system cron or any program that implements the [News app's updater API](https://github.com/nextcloud/news/tree/master/docs/externalapi), most notably [Nextcloud News Updater](https://github.com/nextcloud/news-updater). **The feed update is not run in Webcron and AJAX cron mode!**
System Cron:
-* Check if the config.ini in **nextcloud/data/news/config/config.ini** contains **useCronUpdates = true**
+* Check if your configuration is set to use the system cron, [check here](https://github.com/nextcloud/news/blob/master/docs/configuration.md).
* Check if you are using the system cron (Cron) setting on the admin page. AJAX and Web cron will not update feeds
* Check if the cronjob exists with **crontab -u www-data -e** (replace www-data with your httpd user)
* Check the file permissions of the **cron.php** file and if **www-data** (or whatever your httpd user is called like) can read and execute that script
@@ -143,7 +143,7 @@ System Cron:
* If your cron works fine but Nextcloud's cronjobs are never executed, file a bug in [server](https://github.com/nextcloud/server/)
[Nextcloud News Updater](https://github.com/nextcloud/news-updater):
-* Check if the config.ini in **nextcloud/data/news/config/config.ini** contains **useCronUpdates = false**
+* Check if your configuration is set to **not** use the system cron, [check here](https://github.com/nextcloud/news/blob/master/docs/configuration.md).
* Start the updater in loglevel info mode and check if the feed update urls are polled, e.g.:
nextcloud_news_updater --loglevel info -c /path/to/config.ini