mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-25 20:15:47 +02:00
Update Documentation on the new config
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
This commit is contained in:
parent
0d1ee15f86
commit
e1426bfa50
docs
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user