Nextcloud version: 10.0.3
Operating system and version: Ubuntu 14.04
Apache or nginx version: Apache 2.4.7ubuntu4
PHP version: PHP 5.6.29-1+deb.sury.org~trusty+1
Is this the first time you’ve seen this error and can you replicate it?: no, yes
The issue you are facing:
cron.php doesn’t run from command line as user www-data it fails silently (not output on command line and nothing(?) in nextcloud.log)
root@xxx:/var/www/nextcloud# sudo -u www-data -s
bash: /root/.bashrc: Permission denied
www-data@xxx:/var/www/nextcloud$ php cron.php
www-data@xxx:/var/www/nextcloud$ echo $?
255
This is see since I first tried to use cron.php via crontab in version 10.0.2
The output of your Nextcloud log in Admin > Logging:
{“reqId”:“kS0rYopmmg/8GhD3/J5z”,“remoteAddr”:“91.118.165.72”,“app”:“admin_audit”,“message”:“Login successful: “Henry78"”,“level”:1,“time”:“2017-01-17T20:34:30+00:00”,“method”:“REPORT”,“url”:”/remote.php/caldav/calendars/Henry78/garden/",“user”:“Henry78”,“version”:“9.1.3.2”}
{“reqId”:“0cuuUof4iLGLkuIWcG2j”,“remoteAddr”:"",“app”:“cli”,“message”:“Memcache \OC\Memcache\APCu not available for local cache”,“level”:1,“time”:“2017-01-17T20:36:15+00:00”,“method”:"–",“url”:"–",“user”:"–",“version”:“9.1.3.2”}
{“reqId”:“0cuuUof4iLGLkuIWcG2j”,“remoteAddr”:"",“app”:“cli”,“message”:“Memcache \OC\Memcache\APCu not available for distributed cache”,“level”:1,“time”:“2017-01-17T20:36:15+00:00”,“method”:"–",“url”:"–",“user”:"–",“version”:“9.1.3.2”}
{“reqId”:“0cuuUof4iLGLkuIWcG2j”,“remoteAddr”:"",“app”:“PHP”,“message”:“Call to undefined function OC\AppFramework\simplexml_load_file() at /var/www/nextcloud/lib/private/AppFramework/App.php#60”,“level”:3,“time”:“2017-01-17T20:36:15+00:00”,“method”:"–",“url”:"–",“user”:"–",“version”:“9.1.3.2”}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):