The requested uri() cannot be processed by the script '/nextcloud/index.php')

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 18.04.6 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.29
PHP version (eg, 7.4): 8.0.28

The issue you are facing:

The Logging section is constantly having errors of the following: Error index Exception: The requested uri() cannot be processed by the script ‘/nextcloud/index.php’)

The errors show up all together are probably 100+ of them all at once.

They started showing up after upgrading to 23.0.6. Now using version 25.0.3.

Though with all these errors, when using nextcloud normally it performs as you would expect without any issues.

Is this the first time you’ve seen this error? (Y/N): No it’s been happening for a months now.

Steps to replicate it:

  1. Look at log files.

The output of your Nextcloud log in Admin > Logging:


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 (
    0 => 'localhost',
    1 => '*',
    2 => '*',
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => '*,
  'dbname' => 'NextCloud',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '*',
  'dbpassword' => '*',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => '*',
  'mail_domain' => '*',
  'mail_smtphost' => '*',
  'mail_smtpport' => '*',
  'mail_smtpname' => '*',
  'mail_smtppassword' => '*',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'default_phone_region' => 'US',

The output of your Apache/nginx/system log in /var/log/____:


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


That is just a small section of the error log. It is over 4000 lines. Just the same stuff repeating over and over.

1 Like

Anyone have any suggestions? Nothing seems to be functioning wrong up front, but getting 1000’s of these errors a day in the log.

1 Like

I see the same type of requests logged to various uri’s, ./env, /backup.sql, etc. I believe these are hacking probes looking for vulnerabilities. Maybe the Nextcloud devs can suggest some mod_redirect directives (Apache) to keep these from reaching the Nextcloud instance and clogging up the log files.

Thanks for the response. I was feeling alone in my issue. That is a possibility. Even with all these errors in the logs the server runs fine without any issues.

Having the same issue, although it apparently doesn’t affect the platform functionality, It looks like the system config is “unfinished” which bugs me and my fellow admins here…
Also it makes looking for actual issues quite a difficult task. Any way to filter such messages?