Security scan calc.sh missing after update to 21.0.1

Nextcloud version (eg, 20.0.5): 21.0.1
Operating system and version (eg, Ubuntu 20.04): ^20.04
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 7.4

The issue you are facing: Security scan calc.sh missing after update to 21.0.1

Is this the first time you’ve seen this error? (Y/N): y

Steps to replicate it:

  1. Update from 20.0 to 21.0.1

The output of your Nextcloud log in Admin > Logging:

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
		- sample-commands/calc.sh

Raw output
==========
Array
(
    [spreed] => Array
        (
            [FILE_MISSING] => Array
                (
                    [sample-commands/calc.sh] => Array
                        (
                            [expected] => a65968e74b51d6402a7d613ab4401b25902cbad9f88ecf1bd6742b1314c0a20b7d4ea94460365e564ded230a1fd2d7a2811fea1d671f00f46c21c8e39235d204
                            [current] => 
                        )

                )

        )

)

The security scan shows that calc.sh is missing after upgrading to 21.0.1 version. Before the upgrade it showed no errors at all.
Thank you in advance for support!
Regards

Download the spreed app (aka. Talk) archive from the app store, extract the mentioned file, copy it to the given folder and make sure that the access rights are correctly set.

This is not related to NC server.

Which version of the talk app are you using?

Just loaded release 11.2.1 from yesterday and app package includes mentioned file “calc.sh”. Check your installation.

Thank you!
How can it not be related to the server, when it comes from the server’s security scan???
Anyway I updated all the software as well, including Talk to version 11.2.1. The message is still the same:
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
      • sample-commands/calc.sh

Raw output

Array
(
[spreed] => Array
(
[FILE_MISSING] => Array
(
[sample-commands/calc.sh] => Array
(
[expected] => a65968e74b51d6402a7d613ab4401b25902cbad9f88ecf1bd6742b1314c0a20b7d4ea94460365e564ded230a1fd2d7a2811fea1d671f00f46c21c8e39235d204
[current] =>
)

            )

    )

)

The server scan only reports a problem with a specific app, which isn’t part of the server :wink:

Have you double-check on the console, that the file exists in the mentioned sub-directory? If the file exists, you have to retrigger a new security scan manually to get rid of the message.

1 Like

OK, downloaded the Talk app, copied the calc.sh to /apps/spreed/sample-commands/
No change…
reloaded the chown on the whole installation.
No change.
Any restart needed?

OK, works after restart.
Thank you very much for support!