Intergity check failed during 8.2 => 9.0 upgrade



Steps to reproduce
1. oc 8.2 installed from owncloud repo
2. add 9.0 repo
3. occ maintenance:mode --on
4. yum update owncloud-files
5. occ upgrade

Actual behaviour
integrity check warning
Technical information
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix

- core
		- download.php?content=168512
Raw output
    [core] => Array
            [EXTRA_FILE] => Array
                    [download.php?content=168512] => Array
                            [expected] => 
                            [current] => 7d5c3eba6bfc69a6cb514abf78d69058793aa13d0b04b1ef19b599428b884de5532bb2875d6b2ee7743151401e2e64a5762b18dc9f3e53029b8efb1c340fe39f

which file is extra?

[root@v2 owncloud]# find . -name download.php -print

Server configuration
Operating system: centos 7
Web server: apache 2.4
Database: mysql
PHP version: 5.5.21
ownCloud version (see ownCloud admin page): 9.0
Updated from an older ownCloud or fresh install: 8.2
ownCloud log (data/owncloud.log, see

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

Integrity status for oC9+
see above

Login as admin user into your ownCloud and access
paste the results here.


Just remove this file from /var/www/owncloud/download.php?content=168512 as described in the documentation:

and rescan the integrity afterwards. Thats a file you had manually downloaded / created somehow in the past.


thanks, for some stupid reason I missed that weird file in oc folder