Problem with integrity check

help

#1

Hello,

I've got this problem since i've stopped using an entire server for owncloud. At first, I installed an entire VM just for ownCloud and recently i've migrated it to an other VM with webmin/virtualmin.

Had the problem with my old installation on virtualmin too, today I decided to update owncloud but the errors are still there. So the problem probably come from a configuration with virtualmin.

Steps to reproduce
1. Installing ownCloud 9.1.4 in a virtualmin virtualserver, file upload with FTP as virtualserver owner
2. Got the integrity problem, lots of extra_files

Expected behaviour
All files should be ok, or almost

Actual behaviour
-Got a lot of extra_files under /icon folder
-Got 2 invalid hash files ('core/fonts/LICENSE.txt' and 'core/vendor/jsTimezoneDetect/jstz.js'
-2 more invalid hash at files_external and files_texteditor
Here is the full file -> https://cloud.anywen.ch/index.php/s/hh7rKzoObR0pwlQ

Server configuration
Operating system: CentOS 7
Web server: virtualmin with apache
Database: MySQL
PHP version: 5.4.16
ownCloud version (see ownCloud admin page): 9.1.4
Updated from an older ownCloud or fresh install: Tried both
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): /data is on a a NFS drive

ownCloud log (data/owncloud.log)

{"reqId":"WJpEOC1HOjspD8ET4F7bEQAAAAE","remoteAddr":"192.168.1.5","app":"core","message":"starting upgrade from 9.1.0.15 to 9.1.4.2","level":0,"time":"2017-02-07T22:03:36+00:00","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=FAk3DD4gel16VzkgehZ3PFcmGnpEfTEdLwQZJho7DQs%3D%3AQnvTZBLj1oRm2z%2Fu6dVNw4xTd1hI1NjFXwKCictz7Cc%3D","user":"--"}
{"reqId":"WJpLpbmrJFqITRnJO5MugAAAAAc","remoteAddr":"192.168.1.5","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 423 \\\"Photos\\\/2016.09.24 - 50 ans Yves\\\/MVI_5395.MOV\\\" is locked\",\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(490): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException(Object(OCP\\\\Lock\\\\LockedException))\\n#1 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(103): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #387)\\n#2 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(136): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #387)\\n#3 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1036): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('MVI_5395.MOV-ch...', Resource id #387)\\n#4 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(523): Sabre\\\\DAV\\\\Server->createFile('Photos\\\/2016.09....', Resource id #387, NULL)\\n#5 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#7 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#8 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#9 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(57): Sabre\\\\DAV\\\\Server->exec()\\n#10 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/remote.php(164): require_once('\\\/home\\\/anywen\\\/do...')\\n#11 {main}\",\"File\":\"\\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":546,\"User\":\"Anywen\"}","level":4,"time":"2017-02-07T22:35:18+00:00","method":"PUT","url":"\/remote.php\/webdav\/Photos\/2016.09.24%20-%2050%20ans%20Yves\/MVI_5395.MOV-chunking-3421489191-198-69","user":"Anywen"}
{"reqId":"WJpL@VU7pDBHLpfbfFcG9wAAAAA","remoteAddr":"192.168.1.5","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 423 \\\"Photos\\\/2016.09.24 - 50 ans Yves\\\/MVI_5395.MOV\\\" is locked\",\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(490): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException(Object(OCP\\\\Lock\\\\LockedException))\\n#1 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(103): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #387)\\n#2 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(136): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #387)\\n#3 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1036): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('MVI_5395.MOV-ch...', Resource id #387)\\n#4 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(523): Sabre\\\\DAV\\\\Server->createFile('Photos\\\/2016.09....', Resource id #387, NULL)\\n#5 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#7 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#8 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#9 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(57): Sabre\\\\DAV\\\\Server->exec()\\n#10 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/remote.php(164): require_once('\\\/home\\\/anywen\\\/do...')\\n#11 {main}\",\"File\":\"\\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":546,\"User\":\"Anywen\"}","level":4,"time":"2017-02-07T22:36:42+00:00","method":"PUT","url":"\/remote.php\/webdav\/Photos\/2016.09.24%20-%2050%20ans%20Yves\/MVI_5395.MOV-chunking-3421489191-198-70","user":"Anywen"}
{"reqId":"WJpL@bmrJFqITRnJO5MugQAAAAc","remoteAddr":"192.168.1.5","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 423 \\\"Photos\\\/2016.09.24 - 50 ans Yves\\\/MVI_5395.MOV\\\" is locked\",\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(490): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException(Object(OCP\\\\Lock\\\\LockedException))\\n#1 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(103): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #387)\\n#2 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(136): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #387)\\n#3 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1036): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('MVI_5395.MOV-ch...', Resource id #387)\\n#4 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(523): Sabre\\\\DAV\\\\Server->createFile('Photos\\\/2016.09....', Resource id #387, NULL)\\n#5 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#7 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#8 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#9 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(57): Sabre\\\\DAV\\\\Server->exec()\\n#10 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/remote.php(164): require_once('\\\/home\\\/anywen\\\/do...')\\n#11 {main}\",\"File\":\"\\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":546,\"User\":\"Anywen\"}","level":4,"time":"2017-02-07T22:36:42+00:00","method":"PUT","url":"\/remote.php\/webdav\/Photos\/2016.09.24%20-%2050%20ans%20Yves\/MVI_5395.MOV-chunking-3421489191-198-69","user":"Anywen"}
{"reqId":"WJpL@afkO7UZvT8qApQNVAAAAAY","remoteAddr":"192.168.1.5","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 423 \\\"Photos\\\/2016.09.24 - 50 ans Yves\\\/MVI_5395.MOV\\\" is locked\",\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(490): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException(Object(OCP\\\\Lock\\\\LockedException))\\n#1 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(103): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #387)\\n#2 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(136): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #387)\\n#3 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1036): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('MVI_5395.MOV-ch...', Resource id #387)\\n#4 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(523): Sabre\\\\DAV\\\\Server->createFile('Photos\\\/2016.09....', Resource id #387, NULL)\\n#5 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#7 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#8 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#9 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(57): Sabre\\\\DAV\\\\Server->exec()\\n#10 \\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/remote.php(164): require_once('\\\/home\\\/anywen\\\/do...')\\n#11 {main}\",\"File\":\"\\\/home\\\/anywen\\\/domains\\\/cloud.anywen.ch\\\/public_html\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":546,\"User\":\"Anywen\"}","level":4,"time":"2017-02-07T22:36:43+00:00","method":"PUT","url":"\/remote.php\/webdav\/Photos\/2016.09.24%20-%2050%20ans%20Yves\/MVI_5395.MOV-chunking-3421489191-198-71","user":"Anywen"}

Integrity status for oC9+
https://cloud.anywen.ch/index.php/s/hh7rKzoObR0pwlQ

If someone have an hint, I'm taking it.
Thank you and have a nice day.


#2

The integrity check warning is pointing to the following documentation on how to solve these:

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

Is there anything missing / unclear within this documentation? Doesn't it help to solve this issue for some reasons?


#3

Hello,

I've read this documentation sure, but my concern is more about the fact that I've got so much error after installation.

I could just delete everything in the 'icon' folder, and the extra_files would be gone, but this doesn't seems to be the solution. Aren't all these icons needed for displaying things on a browser ?

I will try to make a fresh install with a new db to check if the problem is always there with virtualmin.


#4

Hi,

ownCloud doesn't expect that you have additional software installed within the same installation dir. The additional files seems to be originating from an additional stats tool you have installed there. Those messages will happen again after a fresh installation as long as you have installed this additional software within ownClouds directory.


#5

Damn I didn't thought of that, thank you. I checked a clean virtualserver, and you're right the icon folder and some awstats folder are there.

Is it possible and safe to add these files to the signature.json ? Or should I just continue with the yellow bar on my ownCloud.

Thank you for the answer !


#6

Quoting here from the previous linked documentation [1]

Please don’t modify the mentioned signature.json itself.

Until [2] is implemented you probably need to either live with that yellow banner or don't put the awstats stuff into the ownCloud installation folder.

[1] https://doc.owncloud.org/server/latest/admin_manual/issues/code_signing.html#errors

[2]


#7

Thank's for all ! I willl live with that yellow banner some more time.