Nextcloud version: 27.0.0
Operating system and version: Ubuntu 22.04
Apache or nginx version: nginx 1.24.0
PHP version: 8.2.8
I was looking at Administration settings > Logging and saw that the encryption app is filling my logs with “/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.” a few times a second. The “Default encryption module” app is at the latest version, 2.15.0.
Is this the first time you’ve seen this error? (Y/N): Y … not sure how long its been going on since I just deleted logs.
Steps to replicate it:
- Run Nextcloud.
The output of your Nextcloud log in Admin > Logging:
This over and over a few times a second.
Level - App - Message
Debug encryption /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => '---',
'passwordsalt' => '---',
'secret' => '---',
'trusted_domains' =>
array (
'---.com',
),
'datadirectory' => '/usr/share/nginx/nextcloud/data',
'overwrite.cli.url' => '---',
'overwriteprotocol' => 'https',
'dbtype' => 'mysql',
'version' => '27.0.0.8',
'logtimezone' => 'UTC',
'installed' => true,
'updater.release.channel' => 'stable',
'loglevel' => 0,
'theme' => '',
'maintenance' => false,
'forcessl' => true,
'auth.bruteforce.protection.enabled' => true,
'ratelimit.protection.enabled' => true,
'dbname' => '---',
'dbhost' => 'localhost',
'dbuser' => '---',
'dbpassword' => '---',
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_smtpdebug' => false,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'tls',
'mail_domain' => '---',
'mail_smtpauth' => 1,
'mail_from_address' => '---',
'mail_smtphost' => '---',
'mail_smtpport' => '587',
'mail_smtpname' => '---',
'mail_smtppassword' => '---',
'preview_max_x' => 1024,
'preview_max_y' => 1024,
'preview_max_scale_factor' => 1,
'simpleSignUpLink.shown' => false,
'versions_retention_obligation' => 'auto, 90',
'mysql.utf8mb4' => true,
'mail_sendmailmode' => 'smtp',
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'default_phone_region' => 'US',
'default_locale' => 'en_US',
'auth.webauthn.enable' => true,
'lost_password_link' => 'disabled',
'trashbin_retention_obligation' => '25, 35',
'knowledgebaseenabled' => false,
'htaccess.RewriteBase' => '/',
'htaccess.IgnoreFrontController' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
error.log is empty and access.log has nothing relevant.
Output errors in nextcloud.log:
...
{"reqID":"---","level":0,"time":"2023-07-15T00:17:05+00:00","remoteAddr":"123.123.123.123","user":"user2","app":"encryption","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 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"27.0.0.8","data":{"app":"encryption"}}
{"reqID":"---","level":0,"time":"2023-07-15T00:17:19+00:00","remoteAddr":"123.123.123.123","user":"user1","app":"encryption","method":"PROPFIND","url":"/remote.php/dav/files/user1/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.4.2-1ubuntu1 (Nextcloud, ubuntu-5.15.0-76-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.0.0.8","data":{"app":"encryption"}}
{"reqID":"---","level":0,"time":"2023-07-15T00:17:35+00:00","remoteAddr":"123.123.123.123","user":"user2","app":"encryption","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 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"27.0.0.8","data":{"app":"encryption"}}
{"reqID":"---","level":0,"time":"2023-07-15T00:17:48+00:00","remoteAddr":"123.123.123.123","user":"user1","app":"encryption","method":"PROPFIND","url":"/remote.php/dav/files/user1/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.4.2-1ubuntu1 (Nextcloud, ubuntu-5.15.0-76-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.0.0.8","data":{"app":"encryption"}}
{"reqID":"---","level":0,"time":"2023-07-15T00:18:05+00:00","remoteAddr":"123.123.123.123","user":"user2","app":"encryption","method":"GET","url":"/apps/files/api/v1/stats","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"27.0.0.8","data":{"app":"encryption"}}
{"reqID":"---","level":0,"time":"2023-07-15T00:18:05+00:00","remoteAddr":"123.123.123.123","user":"user2","app":"encryption","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 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"27.0.0.8","data":{"app":"encryption"}}