FS#69721 - [nextcloud] Integrity check failed / missing assets

Attached to Project: Community Packages
Opened by Luca Weiss (z3ntu) - Saturday, 20 February 2021, 20:09 GMT
Last edited by David Runge (dvzrv) - Tuesday, 06 April 2021, 15:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Some data files (e.g. core/templates/message.html or core/fonts/NotoSans-Regular-latin.woff2) are missing in 21.0.0 from the package. The Nextcloud integrity check complains about some other missing files as well, but those two manifest as the following:

"Your web server is not properly set up to deliver .woff2 files." -> because it can't get /core/fonts/NotoSans-Regular-latin.woff2
Trying to update an app tries to show a popup (for password entry I believe) but nothing happens because the message.html file can't be loaded.

Additional info:
* nextcloud 21.0.0-4
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 06 April 2021, 15:34 GMT
Reason for closing:  None
Comment by dan (dansman) - Sunday, 21 February 2021, 06:58 GMT
I have a huge list of missing files. Mostly in core/docs, core/fonts/ and 3rdparty/ and a few others.

My "Security & setup warnings":

- Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation. (List of invalid files… / Rescan…)
- Module php-imagick in this instance has no SVG support. For better compatibility it is recommended to install it.

Comment by David Runge (dvzrv) - Sunday, 21 February 2021, 09:51 GMT
@z3ntu: Thanks for the report!

Please check whether nextcloud >= 21.0.0-6 in [community-testing] fixes this for you.
I have made the installation of files more generic and the files should then all be there.

NOTE: Please be aware, that that version also introduces other changes, that are necessary to fix the situation with the config directory [1] (basically reverting to pre 21.0.0 behavior in regards to location/ symlinking of the configuration).

[1] https://bugs.archlinux.org/task/69718#comment196955
Comment by Luca Weiss (z3ntu) - Sunday, 21 February 2021, 11:49 GMT
Thanks, with -6 the integrity check passes and the app update "Authentication required" dialog shows up again as well.
Comment by Harald Nehring (bedouin) - Sunday, 14 March 2021, 05:19 GMT
I'm on 21.0.0-7 and the "security and setups warning" page still reports many missing files (https://cloud.nehring-hd.de/index.php/s/36MDs5MXts9Tesg).
Comment by David Runge (dvzrv) - Sunday, 14 March 2021, 20:34 GMT
@bedouin: I can not reproduce the issue you are seeing. The files in the list are in the package (21.0.0-9) from what I can see.

Is this still an issue?
Comment by Harald Nehring (bedouin) - Monday, 15 March 2021, 09:57 GMT
My (by now) 21.0.0-9 installation "security and setups warning" page still reports missing files (https://cloud.nehring-hd.de/index.php/s/F4iwRxZnEocGGWs). Most of them exist in the installation, some are actually missing (https://cloud.nehring-hd.de/index.php/s/pxEEeieweRFn9oJ). I'm not sure how NC comes up with this list of warnings, so far my installation seems to work without issues.
Comment by David Runge (dvzrv) - Friday, 26 March 2021, 18:50 GMT
I am sorry, but I can not reproduce this. Neither with a new, nor with an old installation.

@bedouin I believe the issue you are experiencing is a different from the initial one.
Please make sure, that you have no files, that are not owned by a package below /usr/share/webapps/nextcloud. Maybe also look into any apps installed e.g. via the AUR vs. apps from the app store.
Comment by Harald Nehring (bedouin) - Tuesday, 06 April 2021, 15:01 GMT
Tested again today on 21.0.0.-9 and the warnings are gone now. Not sure what went on - but all good, feel free to close this ticket.
Comment by David Runge (dvzrv) - Tuesday, 06 April 2021, 15:33 GMT
@bedouin: Thanks for getting back on this!

Loading...