16>17 File Integrity Errors

Here is my list of invalid files listed in overview pane with an integrity check error. I guess i can and i should delete these files right?

Results
=======
- text
	- EXTRA_FILE
		- .github/pull_request_template.md
		- .github/ISSUE_TEMPLATE/Bug_report.md
		- .github/ISSUE_TEMPLATE/Feature_request.md
		- .eslintrc.js
		- README.md
		- package-lock.json
		- package.json
		- .gitattributes
		- .l10nignore
		- l10n/.gitkeep
		- .tx/config

Raw output
==========
Array
(
    [text] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [.github/pull_request_template.md] => Array
                        (
                            [expected] => 
                            [current] => 9307a7ab3b06266ccda57e66ae678b31db3faf26a51c508d60b9bc2874ed59d46bcd1c1d07970e2af0947f826f050f953cbf02a962a4b40cb1572f5fcd8f94a1
                        )

                    [.github/ISSUE_TEMPLATE/Bug_report.md] => Array
                        (
                            [expected] => 
                            [current] => 2a574514bba022a69c723616091bfd19eb5b4821aef95846eb942e90ee80cf2b2b8710091660fc99b43eb922b47d96f89b4e38c72d14909d76a9c88edbe7a28b
                        )

                    [.github/ISSUE_TEMPLATE/Feature_request.md] => Array
                        (
                            [expected] => 
                            [current] => 84541137d4035e61148e33f0560e8f96c2dffde247b672459cf45f32c57bcfb6a4479dcf9c45b6598e95f61369bfad2d16c7784d59a689ad46c7b332216f891b
                        )

                    [.eslintrc.js] => Array
                        (
                            [expected] => 
                            [current] => 74262fe75f2c990b21f1116e86083b5ec635a084a3c3cba8ef7cf62f6ea398ed5f1b94c770a230993273a7bd2ff1587106b778814331e4bf6c0e20b82340bc94
                        )

                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => ec0ad73e49149bc6200d8b07cc14a6795936d6c150ad20d30c9d694ea6ebe4b4738f81fc50d1f84d68d0c62e045f1b854ab56a1264b9310aadb2aa54a7573194
                        )

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

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

                    [.gitattributes] => Array
                        (
                            [expected] => 
                            [current] => da176baa1edf0a8408ffa35e07849a980e68fe0dd5f53569e583aec2e362f61d47e1ff6968d2fd92787b59ee2f8f38cbe8dcdde7e3ef1e24081cd21dc61e1d30
                        )

                    [.l10nignore] => Array
                        (
                            [expected] => 
                            [current] => 3a07b78d317a75ec5a027b869771b5464be4749f645e8e9e1999864c710ce5b115279bd159758addcf0bcd182e28da35da0156c5ff43af69bb869e5225818f98
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                    [.tx/config] => Array
                        (
                            [expected] => 
                            [current] => 80dfc72f84d02213d63b236925f020fc21f17fc5d1964cd84c0530fb65f3738cd03ff923f50ba8396d5832f5a04276891733281ecba82321cb426f13aa968516
                        )

                )

        )

)
1 Like

Here is the list of similar questions which has already been answered in the past:

https://help.nextcloud.com/search?q=%22integrity%20check%20error%22%20EXTRA_FILE

none of the results is the same with my output. Should i delete these files or not? Because deactive->reactivate the new text editor app is not fixing the issue

I had the same integrity error, deleted the files and then the integrity error disappeared.

By checking the file dates, I realized that the affected files my correspond to an older version of the text app. Thus the update of this app during the upgrade from Nextcloud 16 to 17 had some issues…

1 Like

yes , I have same problem,then I remove the file,the error message disappear.

Looks like you checked out something from GitHUB directly in your NC instance app folder. It would be probably be a good idea to do that outside of the NC folder next time and only copy the app to the NC’s apps folder after checkout.

Otherweise… yes, deleting that hidden folder will make the errors go away.

Hi @budy, that is not correct. The log specifies “text” which is an app for markdown text. The github directories are there because the app is pulled into Nextcloud from its admin panel from git since those developers house their project there.

Thanks @jnstllng - your post helped me identify what this was referring to. The " - text " at the top of the log is referring to the app for text. I found the files here for anyone else encountering this error:

/var/www/cloud.nextcloud.com/public_html/apps/text/

I think Nextcloud should consider putting absolute paths in the error log. If they had done this, I would not have even had to visit here. When I first read the log, I literally had no idea where the files were. Using your post and the find command (for the first offending file) below finally got me fixed:

find /var/www/cloud.nextcloud.com/public_html/ -name “.eslintrc.js”

Thanks again - hope these details help other admins who just found this output cryptic and/or bizarre like I did. :wink: