Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Feed doesn't update #1003

Open
Vitriia opened this issue Jun 27, 2016 · 0 comments
Open

Feed doesn't update #1003

Vitriia opened this issue Jun 27, 2016 · 0 comments

Comments

@Vitriia
Copy link

Vitriia commented Jun 27, 2016

[ X] I have read the CONTRIBUTING.md and followed the provided tips

What problem did you encounter?
Feed doesn't updates

Steps to Reproduce

Explain what you did to encounter the issue
1.Install News plugin on nas Synology (DSM6)
2.
3.

System Information

  • News app version:8.8.0
  • ownCloud version:9.0.1
  • PHP version:5.6
  • Database and version:MariaDB, ver 5.5.49-0065
  • Browser and version: Firefox 47.0
  • Distribution and version: Windows 8 (client) & DSM 6.0 (Server)

Contents of owncloud/data/owncloud.log

{"reqId":"SteZJrf2EUV3ou07SggG","remoteAddr":"xxx.xxx.xxx.xxx","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/volume1\\\/web\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(55): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/volume1\\\/web\\\/owncloud\\\/remote.php(138): require_once('\\\/volume1\\\/web\\\/ow...')\\n#6 {main}\",\"File\":\"\\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":\"*****\"}","level":0,"time":"2016-06-27T16:12:16+00:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/Application\/","user":"****"}
{"reqId":"4jxzGrbM7+mhn2eRkBKu","remoteAddr":"xxx.xxx.xxx.xxx","app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2016-06-27T16:15:59+00:00","method":"POST","url":"\/owncloud\/index.php\/heartbeat","user":"****"}
{"reqId":"r8Eo2mg5pGLCzsJQg\/wE","remoteAddr":"xxx.xxx.xxx.xxx","app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2016-06-27T16:16:16+00:00","method":"POST","url":"\/owncloud\/index.php\/heartbeat","user":"*****"}
{"reqId":"LhHZ4OFlruM9ogaNQTEj","remoteAddr":"xxx.xxx.xxx.xxx","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/volume1\\\/web\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(55): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/volume1\\\/web\\\/owncloud\\\/remote.php(138): require_once('\\\/volume1\\\/web\\\/ow...')\\n#6 {main}\",\"File\":\"\\\/volume1\\\/web\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2016-06-27T16:21:31+00:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/Application\/","user":"--"}

Those errors are from caldav & cardav.
I have check:

Check if the config.ini in owncloud/data/news/config/config.ini contains useCronUpdates = true
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
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. 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

Cron execute fine, he is logged into administration page.

Thx for the help :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant