ownCloud Code Integrity Check

How To Disable Code Integrity Check in ownCloud

cloud_queue There are apparently many reasons why ownCloud outputs the indication of a faulty code integrity check.
It is often that a ownCloud instance move to another server. Or you modify one of the files for your own purposes.
After a long search for the solution of the problem we found an undocumented configuration parameter.
Here is the explanation how to turn off the code integrity check in ownCloud and get rid of the annoying message.

Modify ownCloud config.php file

Usually it is located at /PathToYourOwncloud/config/config.php Open the file with the editor of your choice.

nano /PathToYourOwncloud/config/config.php

Go to the end of file and add the following line before the line with ); and insert: 'integrity.check.disabled' => true,

Now you file should look like this:

    $CONFIG = array (
        'instanceid' => 'rcdyskettch4',
        'passwordsalt' => 'lrItsujIuShjLjkhnjkPjkekjtrNtr8trzcFDGj',
        'secret' => 'y+1GmdcgfgdoremasöLMmkbjkbKBjjknnja/Ci',
        'trusted_domains' =>
            array (
                0 => 'owncloud.saas-secure.com',
        'datadirectory' => '/PathToYourOwncloud/owncloud.saas-secure.com/data',
        'overwrite.cli.url' => 'https://owncloud.saas-secure.com',
        'dbtype' => 'mysql',
        'version' => '',
        'dbname' => 'owncloud',
        'dbhost' => 'localhost',
        'dbtableprefix' => 'oc_',
        'dbuser' => 'owncloud',
        'dbpassword' => 'owncloud',
        'logtimezone' => 'UTC',
        'installed' => true,
        'loglevel' => 4,
        'mail_from_address' => 'owncloud',
        'mail_smtpmode' => 'php',
        'mail_domain' => 'saas-secure.com',
        'memcache.local' => '\OC\Memcache\APCu',
        'integrity.check.disabled' => true,

Now you can login as a admin into your ownCloud an if you still see the message "There are problems with the code integrity check. More information ..." go to the Admin Page.
There you can click the link Rescan.

ownCloud Code Integrity Check Disable

After the Rescan the message is gone and hopefully never comes back.

Status: 2016-05-13
How do you like the article?
45 Currently 12 Ratings = 4star_rate



Benedict Drummer - 2017-06-29 at 16:51

commentLeave a comment