NC 27.1.0 RC4 integration check missing files

I updated to NC 27.1.0 RC4 today,
and I have often had problems with errors or too many files when checking the integration, but never the files are missing,
In addition, it doesn’t show me where these are supposed to be missing, or am I missing something here.

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

  • spreed
    • FILE_MISSING
      • composer.lock
      • package-lock.json
      • package.json

Raw output

Array
(
[spreed] => Array
(
[FILE_MISSING] => Array
(
[composer.lock] => Array
(
[expected] => 34c8498e16f93ec08965d6e37a3d84687ccea03a3de2824b7dd9d446eec33835b7d4e92556803de0bde5e95b4bb5895520be35f96fb2c10889b1eaeaa4070212
[current] =>
)

                [package-lock.json] => Array
                    (
                        [expected] => fe88c38a1261a8b34595a32554aefd0252877875cbefd4951b2060d53a0de4f95c0fb0530c42718d8f952cf1bf59e6e477087e58619c87473924c8f33a93a996
                        [current] => 
                    )

                [package.json] => Array
                    (
                        [expected] => 3b02e59de203c1edf1f8f959077fdea2b9dee262215e5eec7192d0d2e29b4f4939a3c68bed7b3e9ea0b20c58d3dabae9d93c488a2f427f7ea2284fed0a490ccf
                        [current] => 
                    )

            )

    )

)

spreed is the Talk app.

Did this happen immediately after updating?

Do you recall how you installed the Talk app originally? Do you have more than one apps_path perhaps containing two installations of spreed?

If all else fails, maybe a weird caching issue that’ll go away if you restart Apache (or FPM, if applicable)?

You were right, these files are missing in the Talk app folder,
Yes, the problem occurred immediately after the update, I only have this one installation of it.
How to fix this problem?
Copying the missing files wasn’t enough.

I have already answered your Issue and showed how to fix it here:

Much luck!

1 Like

First of all, if this is your production instance, don’t upgrade to beta or RC versions. I’d even recommend to rather wait until the first point release is out, before you upgrade.

Maybe a dumb question, but can’t you just re-install the Talk app from the webui or via occ command?

many thanks that solve this issue… but after update to 27.1.0
I got again similar issue, with talk_matterbridge.

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

  • talk_matterbridge
    • INVALID_HASH
      • composer.json

Raw output

Array
(
[talk_matterbridge] => Array
(
[INVALID_HASH] => Array
(
[composer.json] => Array
(
[expected] => 9e9bd3f82ebdfd30dae4bd0b23f4de32fcb1f8072a07500c9a0cb1d20a49478ccf316943c8b6f05aa4f5c93024679b98b7074ca250445feb8dfe845614cf8d84
[current] => 17e5a6daa36dc835d2e0bbe7e817a638724328d8608f38a36c1dd16da6487b5a79ea0b9a6be8b41a982f42557da312d3da34ff5148c3cea24a1df605bcde07b3
)

            )

    )

)

It looks like you used find to search for the four extra files from the RC3 instead of going to them directly :wink:

You can fix it with the same code. Here adapted to your newly case, again: run as you webserver user:

(adjust “NC_DIR” first if it doesn’t match your setup environment):
NC_DIR="/var/www/nextcloud"
app="talk_matterbridge"
affected_files="composer.json"
rawURL="https://raw.githubusercontent.com/nextcloud"
app_version="$(sed -n 's|.*<version>\(.*\)</version>.*|\1|p' "$NC_DIR/apps/$app/appinfo/info.xml")"
for affected_file in $affected_files; do
    wget -O $NC_DIR/apps/$app/$affected_file $rawURL/$app/v$app_version/$affected_file
done
php -f $NC_DIR/occ integrity:check-app $app

I hope this helps,
much luck!

Thank you for your assistance.
That’s right, I searched for the extra files with find, I’ve had this behavior several times with older versions, but I’ve never had any problems when I searched for the files used find.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.