From 159341af234ae9e12d5695ce18bd0689a3802d7d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 13 Apr 2016 21:39:35 +0200 Subject: Better readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0121f4a79..22997470a 100644 --- a/README.md +++ b/README.md @@ -266,16 +266,19 @@ System Cron: * 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 * Check if you can execute the cron with **sudo -u www-data php -f owncloud/cron.php** (replace www-data with your httpd user) +* Check your **data/owncloud.log** for errors * Check if the cronjob is ever executed by placing an **error_log('updating');** in the [background job file](https://github.com/owncloud/news/blob/master/cron/updater.php#L28). If the cronjob runs, there should be an updating log statement in your httpd log. * If there is no **updating** statement in your logs check if your cronjob is executed by executing a different script * If your cron works fine but owncloud's cronjobs are never executed, file a bug in [core](https://github.com/owncloud/core/) [ownCloud News Updater](https://github.com/owncloud/news-updater): * Check if the config.ini in **owncloud/data/news/config/config.ini** contains **useCronUpdates = false** -* Start the updater in loglevel info mode, e.g.: +* Start the updater in loglevel info mode and check if the feed update urls are polled, e.g.: owncloud_news_updater --loglevel info -c /path/to/config.ini +* Check your **data/owncloud.log** for errors + ### Adding feeds that use self-signed certificates If you want to add a feed that uses a self-signed certificate that is not signed by a trusted CA the request will fail with "SSL certficate is invalid". A common solution is to turn off the certificate verification **which is wrong** and **makes your installation vulnerable to MITM attacks**. Therefore **turning off certificate verification is not supported**. -- cgit v1.2.3