Nextcloud version : 15.0.2
Operating system and version : CentOS 6
Apache or nginx version: Apache 2.4.34
PHP version : 7.2.10
The issue you are facing:
Hello!
Cron was working file (every minute), I have this entry in the crontab, under the correct user:
-
-
-
-
- php /home/hoinari/nextcloud/cron.php
-
-
-
But in the admin panel I see that the last cron was ran a few hours ago… This started after I enabled opcache.
The cron log shows that the cron was exectued every minute.
I can copy and run “php /home/hoinari/nextcloud/cron.php” in the console, this leads to Nextcloud seeing that the cron was executed (i get no output)
What could go wrong? How can I see the cron log? (no errors in the Nextcloud panel, under log).
Is this the first time you’ve seen this error? Y
Steps to replicate it:
- Check the crontab is running
- Check last cron run under nextcloud
The output of your Nextcloud log in Admin > Logging:
{"reqId":"XIYhqeHasp3UCxAZ0kX8wwAAAIE","level":2,"time":"2019-03-11T08:51:54+00:00","remoteAddr":"91.206.82.5","user":"--","app":"core","method":"POST","url":"\/index.php\/login?redirect_url=\/index.php\/settings\/admin\/overview","message":"Login failed: 'chip' (Remote IP: '91.206.82.5')","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko\/20100101 Firefox\/65.0","version":"15.0.5.3"}
{"reqId":"XIZE2L0z6s425X7IM-TgPwAAAM8","level":3,"time":"2019-03-11T11:22:01+00:00","remoteAddr":"91.206.82.5","user":"chip","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","message":"Module 'mcrypt' already loaded at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko\/20100101 Firefox\/65.0","version":"15.0.5.3"}
{"reqId":"b0n6jvymh5Y5zREWKZve","level":3,"time":"2019-03-11T11:22:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Module 'mcrypt' already loaded at Unknown#0","userAgent":"--","version":"15.0.5.3"}
{"reqId":"XIZE9r0z6s425X7IM-TgQAAAAMI","level":3,"time":"2019-03-11T11:22:32+00:00","remoteAddr":"91.206.82.5","user":"chip","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","message":"Module 'mcrypt' already loaded at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko\/20100101 Firefox\/65.0","version":"15.0.5.3"}
{"reqId":"XIZFFL0z6s425X7IM-TgQQAAANc","level":3,"time":"2019-03-11T11:23:01+00:00","remoteAddr":"91.206.82.5","user":"chip","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","message":"Module 'mcrypt' already loaded at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko\/20100101 Firefox\/65.0","version":"15.0.5.3"}
{"reqId":"zuanV3h3LVVw5dj4Kgwp","level":3,"time":"2019-03-11T11:23:01+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Module 'mcrypt' already loaded at Unknown#0","userAgent":"--","version":"15.0.5.3"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocaroi35pb12',
'passwordsalt' => 'u7ZxiGcAzwa0i83EVMgPGIpTk9E1QJ',
'secret' => 'iSrBYwgi1rmvio95tOZZn6IBNv8s91lsUZ9yj171vVtk3pMx',
'trusted_domains' =>
array (
0 => 'nextcloud.doihoinari.ro',
),
'datadirectory' => '/home/hoinari/nextcloud/data',
'dbtype' => 'mysql',
'version' => '15.0.2.0',
'overwrite.cli.url' => 'https://nextcloud.doihoinari.ro',
'dbname' => 'xxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE