Intergity check failed during 8.2 => 9.0 upgrade

help

#1

Steps to reproduce
1. oc 8.2 installed from owncloud repo
2. add 9.0 repo http://download.owncloud.org/download/repositories/9.0/CentOS_7/ce: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
them.

Results
=======
- core
	- EXTRA_FILE
		- download.php?content=168512
Raw output
==========
Array
(
    [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
./apps/files/ajax/download.php
./apps/files/download.php
./apps/files_versions/download.php

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 https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808):

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
http://example.com/index.php/settings/integrity/failed
paste the results here.

#2

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

https://doc.owncloud.org/server/9.1/admin_manual/issues/code_signing.html#fixing-invalid-code-integrity-messages

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


#3

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