Error Message in the logs:

I got an error message in the logs that fills the complete logfile because it comes up mutliple times a second:

/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.
Nextcloud version (eg, 20.0.5): 23.0.0
Operating system and version (eg, Ubuntu 20.04): Webspace
Apache or nginx version (eg, Apache 2.4.25): Webspace (I don’t know
PHP version (eg, 7.4): 7.4

The issue you are facing: app.php is depricated

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

Steps to replicate it:

  1. open the admin logs

The output of your Nextcloud log in Admin > Logging:
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“apporder”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“cms_pico”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“drawio”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“extract”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'datadirectory' => '/<...>/cloud/data', 'dbtype' => 'mysql', 'version' => '23.0.0.10', 'overwrite.cli.url' => '<...>', 'dbname' => '<...>', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => '<...>', 'mysql.utf8mb4' => true, 'dbuser' => '<...>', 'dbpassword' => '<...>', 'installed' => true, 'tempdirectory' => '/<...>/cloud/tmp/', 'mail_smtpmode' => 'sendmail', 'mail_sendmailmode' => 'pipe', 'mail_from_address' => 'info', 'mail_domain' => '<...>', 'maintenance' => false, 'theme' => '', 'loglevel' => 0, 'app_install_overwrite' => array ( 0 => 'files_accesscontrol', 1 => 'ownpad', 2 => 'customproperties', 3 => 'ocsms', ), 'updater.release.channel' => 'stable', 'updater.secret' => '<...>', );

These are debug messages. Set the loglevel to something higher than debug (0).

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html#log-level

Okay, I set it to level 3. There is following output in the logging now:
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“apporder”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“cms_pico”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“drawio”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}
{“reqId”:“YgF_DqLnpRd2ZJJF_7IoZgAAAFE”,“level”:0,“time”:“2022-02-07T20:20:30+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“Ingo”,“app”:“extract”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“22.2.3.0”}

These seems to be old logs before the change, judging by the date?

OMG! Copied from the wrong side of the file :slight_smile:

Here are the actual logs:

{“reqId”:“YgJ3iSEdkipRAissY3cP5QAAAEI”,“level”:0,“time”:“2022-02-08T14:00:41+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“extract”,“method”:“GET”,“url”:"/index.php/apps/logreader/poll?lastReqId=YgJ3hyEdkipRAissY3cP4AAAAFE",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}
{“reqId”:“YgJ3iSEdkipRAissY3cP5QAAAEI”,“level”:0,“time”:“2022-02-08T14:00:41+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“files_mindmap”,“method”:“GET”,“url”:"/index.php/apps/logreader/poll?lastReqId=YgJ3hyEdkipRAissY3cP4AAAAFE",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}
{“reqId”:“YgJ3iSEdkipRAissY3cP5QAAAEI”,“level”:0,“time”:“2022-02-08T14:00:41+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“keeweb”,“method”:“GET”,“url”:"/index.php/apps/logreader/poll?lastReqId=YgJ3hyEdkipRAissY3cP4AAAAFE",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}
{“reqId”:“YgJ3iSEdkipRAissY3cP5QAAAEI”,“level”:0,“time”:“2022-02-08T14:00:41+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“metadata”,“method”:“GET”,“url”:"/index.php/apps/logreader/poll?lastReqId=YgJ3hyEdkipRAissY3cP4AAAAFE",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}

Same, these seems to be logs from before I told you to change the loglevel.

Okay, I opened my config, the loglevel is 3. So I downloaded the protocol file again. It’s the actual date and time, but I can see no difference:

{“reqId”:“YgPEdyJSw-hofZmGvxRzqQAAAA4”,“level”:0,“time”:“2022-02-09T13:41:11+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“extract”,“method”:“GET”,“url”:"/index.php/settings/admin/log/download",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}
{“reqId”:“YgPEdyJSw-hofZmGvxRzqQAAAA4”,“level”:0,“time”:“2022-02-09T13:41:11+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“files_mindmap”,“method”:“GET”,“url”:"/index.php/settings/admin/log/download",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}
{“reqId”:“YgPEdyJSw-hofZmGvxRzqQAAAA4”,“level”:0,“time”:“2022-02-09T13:41:11+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“keeweb”,“method”:“GET”,“url”:"/index.php/settings/admin/log/download",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}
{“reqId”:“YgPEdyJSw-hofZmGvxRzqQAAAA4”,“level”:0,“time”:“2022-02-09T13:41:11+00:00”,“remoteAddr”:“95.223.4.74”,“user”:“ihs_admin”,“app”:“metadata”,“method”:“GET”,“url”:"/index.php/settings/admin/log/download",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0”,“version”:“23.0.0.10”}