hundredts of messages like /appinfo/app.php is not loaded when \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class is used. Migrate everything from app.php to the Application class.
Check updates for the installed Nextcloud apps.
On the same log message line thereâs probably a reference to the name of the app(s) throwing the error.
If those are debug messages (but maybe they are at the Error level), on /usr/share/nextcloud/config/config.php you can increase the log level to 1 or 2, for instance.
Logged in with Nextcloudâs admin user: Admin > Settings > Administration > Overview
Under Security & Setup Warnings (opening the âList of invalid filesâŚâ link, if any)
To solve the log flooding we might need to manually delete those extra app.php files (or uninstall/reinstall the apps, but some are core apps that can/should not be removed).
grep nextcloud messages*
messages:Jul 4 22:44:38 home2 scl: Database MariaDB is probably initialized in /var/opt/rh/rh-mariadb105/lib/mysql-nextcloud already, nothing is done.
messages:Jul 4 22:44:38 home2 scl: If this is not the case, make sure the /var/opt/rh/rh-mariadb105/lib/mysql-nextcloud is empty before running mysql-prepare-db-dir.
messages-20210425:Apr 21 04:08:06 home2 collectd[15901]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-free.rrd) failed: /var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-free.rrd: illegal attempt to update using time 1618970756 when last update time is 1618970756 (minimum one second step)
messages-20210425:Apr 21 04:08:06 home2 collectd[15901]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-reserved.rrd) failed: /var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-reserved.rrd: illegal attempt to update using time 1618970756 when last update time is 1618970756 (minimum one second step)
messages-20210425:Apr 21 04:08:06 home2 collectd[15901]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-used.rrd) failed: /var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-used.rrd: illegal attempt to update using time 1618970756 when last update time is 1618970756 (minimum one second step)
messages-20210516:May 14 17:22:59 home2 collectd[3660]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-free.rrd) failed: /var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-free.rrd: illegal attempt to update using time 1621005750 when last update time is 1621005750 (minimum one second step)
messages-20210516:May 14 17:22:59 home2 collectd[3660]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-reserved.rrd) failed: /var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-reserved.rrd: illegal attempt to update using time 1621005750 when last update time is 1621005750 (minimum one second step)
messages-20210516:May 14 17:22:59 home2 collectd[3660]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-used.rrd) failed: /var/lib/collectd/rrd/home2.nemenz.at/df-var-lib-nethserver-nextcloud/df_complex-used.rrd: illegal attempt to update using time 1621005750 when last update time is 1621005750 (minimum one second step)
If expected is empty it shall mean the files is unexpected (so doesnât have a computed hash to compare to). From my point of view they are safe to remove (you can make a copy of them or the whole directory somewhere else if you want to).
Do not erase the one with INVALID_HASH (js/files_pdfviewer-main.js)
For the apps that have InvalidSignatureException or Signature data not found (calendar, drawio, files_texteditor, ldap_contacts_backend) you can keep them as they have probably not implemented the code signing validation (or remove the ones that have a remove option and install them again if they are of use).