Code Integrity Check - Invalid Hash on cron.php

Hello, I am running NC14.04. I have begun to get an code integrity check error message regarding an invalid hash for cron.php.

How can this be resolved? I have tried editing the file with the command "sudo crontab -e -u www-data
" and saving but this does not seem tor resolve the issue. Can someone provide an assist?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2):
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:


Here is my config.php

$CONFIG = array (
‘instanceid’ => ‘ocv6gi848aw2’,
‘passwordsalt’ => ‘0UXDGHu7zHojBXtwiwhS+s1/v29bw1’,
‘secret’ => ‘NLB+FcVlrsgA7PKqhpw8FkZUcdlkk66RlGkI2JdNf+upAlLF’,
‘trusted_domains’ =>
array (
0 => ‘testhqncws1’,
1 => ‘testhqncws2’,
2 => ‘testhqncws1’,
3 => ‘testhqncws2’,
4 => ‘’,
5 => ‘’,
6 => ‘’,
‘datadirectory’ => ‘/mnt/nc-data/data’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘’,
‘overwrite.cli.url’ => ‘http://testhqncws1/nextcloud’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘testhqncmdb’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘oc_itadmin3’,
‘dbpassword’ => ‘’,
‘installed’ => true,
‘mail_from_address’ => ‘testbox-noreply’,
‘mail_smtpmode’ => ‘smtp’,
‘mail_domain’ => ‘’,
‘mail_smtpauthtype’ => ‘NTLM’,
‘mail_smtpauth’ => 1,
‘mail_smtphost’ => ‘’,
‘mail_smtpport’ => ‘25’,
‘mail_smtpname’ => ‘username’,
‘mail_smtppassword’ => ‘password’,
‘memcache.local’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘testhqncredis’,
‘port’ => 6379,
‘appstoreenabled’ => true,