ownCloud Code Integrity Check

How To Disable Code Integrity Check in ownCloud

Troubleshooting guide

ownCloud can flag a faulty code integrity check for several reasons--moves to a new server, modified core files, or custom patches. Use the configuration toggle below to silence the warning safely.

Modify ownCloud config.php

The file is usually located at /PathToYourOwncloud/config/config.php. Open it with your preferred editor.

nano /PathToYourOwncloud/config/config.php

Add the following line before the closing parenthesis: 'integrity.check.disabled' => true, Then your configuration should look similar to:

<?php
$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' => '9.0.2.2',
    '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,
);

Log in as an admin and, if the message "There are problems with the code integrity check. More information ..." still appears, open the Admin page and click Rescan.

ownCloud code integrity check warning in the admin UI

After rescanning, the warning should disappear and stay away.