Problems with integrity check

update

#1

Hi there!

I am new here in this forum. i just signed up, because i can't find any soloutions for my problem. Trust me, i searched a long tim and tryed a lot but without any success.
So, my problem.
Today i decided to update my owncloud-server from 10.0.2 to 10.0.7
i didn't have problmes while the update. afterwards, i saw a notification that told me that there are some files which have trouble to pass the integrity check. So i read the documentation and it was farly easy to solve the problems by just copy the new files which there were listed and replaced the old ones.
so far so good.
after a reboot there was this notificationa again. but now the things are getting confusing.

i have got this output:

Array
(
[theme-example] => Array
(
[EXTRA_FILE] => Array
(
[core/templates/lostpassword/email.php] => Array
(
[expected] =>
[current] => 13098f828d0d9a4d46d9640e90560a72016e3657fa153bfd5aba29887573ab643af6d74f0069a86a06806b785c306c91ea1d07ff5f03cff47e5b0dbef183ec20
)
)
)
)

because it is an "EXTRA_FILE" i deleted it. so i should be able to solve the problem like the other files i had as "EXTRAF_FILES".
But after deleting it and rescanning, i have got this output:

Array
(
[core] => Array
(
[FILE_MISSING] => Array
(
[core/templates/lostpassword/email.php] => Array
(
[expected] => 13098f828d0d9a4d46d9640e90560a72016e3657fa153bfd5aba29887573ab643af6d74f0069a86a06806b785c306c91ea1d07ff5f03cff47e5b0dbef183ec20
[current] =>
)
)
)
)

why is the file now missing, but if it is there, it is an extra file?
i hope someone can help me!

to the system:

OS: Debian Jessie 8.10
Webserver: nginX
PHP Version: 7.0.16


#2

From what i understand those are two different files. The first had started with:

Array
(
[theme-example] => Array

where the second one started with:

Array
(
[core] => Array


#3

yes these are to different files. haha it was so easy to fix it.
i thank you a lot!!!

i used the command "find -name "email.php" and it showed me 2 locations.
one was in /var/www/owncloud/core/templates/lostpassword/
and the second was in
/apps/theme-example/core/templates/lostpassword/email.php

i removed this one in the second locations and now everething is just fine :smiley:


#4

Nice. I think the output is quite misleading, at least as it seems that the [core] means that the file is not located within the /var/www/owncloud/core folder but within the /var/www/owncloud :confused: