Nextcloud version: 22.0.0
Operating system and version: Ubuntu 20.04 LTS
Apache or nginx version: 2.4.21
PHP version: 7.4
The issue you are facing:
I keep seeing the below error in my logs. It pops up every five minutes when cron runs, or a similar one pops up when I attempt to do something with occ.
Is this the first time you’ve seen this error?: Yes
The output of your Nextcloud log in Admin > Logging:
{"reqId":"SVibv8xpKeURVqz7UHyG","level":4,"time":"2021-08-03T16:30:01+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot riotchat: The requested uri() cannot be processed by the script '/var/www/nextcloud/cron.php')","userAgent":"--","version":"22.0.0.11","exception":{"Exception":"Exception","Message":"The requested uri() cannot be processed by the script '/var/www/nextcloud/cron.php')","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Request.php","line":796,"function":"getRawPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/var/www/nextcloud/apps/riotchat/lib/AppInfo/Application.php","line":66,"function":"getPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\RiotChat\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":205,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":139,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/cron.php","line":54,"function":"loadApps","class":"OC_App","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Request.php","Line":770,"CustomMessage":"Could not boot riotchat: The requested uri() cannot be processed by the script '/var/www/nextcloud/cron.php')"},"id":"61096fe098bee"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => 'x',
'passwordsalt' => 'x',
'secret' => 'x',
'trusted_domains' =>
array (
0 => 'nextcloud.mydomain.com',
),
'datadirectory' => '/ncdata/nextcloud/data',
'dbtype' => 'mysql',
'version' => '22.0.0.11',
'overwrite.cli.url' => 'https://nextcloud.mydomain.com/',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'x',
'dbpassword' => 'x',
'installed' => true,
'default_phone_region' => 'x',
'default_language' => 'en',
'force_language' => 'en',
'default_locale' => 'x',
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
'dbindex' => 0,
'password' => 'x',
'timeout' => 0.0,
),
'app_install_overwrite' =>
array (
0 => 'keeweb',
),
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'twofactor_enforced_excluded_groups' =>
array (
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);