Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
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.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
Nextcloud Hub 9 (30.0.11)
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 22.04
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.63
- Reverse proxy and version _(e.g. nginx 1.27.2)
N/A
- PHP version (e.g, 8.3):
8.3.21
- Is this the first time you’ve seen this error? (Yes / No):
No
- When did this problem seem to first start?
05 April 2025
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Classic LAMP-stack
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Yes
Summary of the issue you are facing:
I am getting this error message in my log about half a dozen times a day:
“Exception
The requested uri(/data/.ncdata) cannot be processed by the script ‘/nextcloud/index.php’)”
[See also raw log entry below]
There is a script, ‘index.php’, in /var/www/nextcloud and a file ‘.ncdata’ in /var/www/nextcloud/data, but access to this last is restricted
drwxrwx— 5 www-data www-data 4096 May 21 17:10 data
As the ordinary user of my sys, I don’t have access to it
Content of /var/www/nextcloud/data:
azed@azed-byte:~$ sudo ls -al /var/www/nextcloud/data
total 3496
drwxrwx— 5 www-data www-data 4096 May 21 17:10 .
drwxr-xr-x 16 www-data www-data 4096 May 18 12:12 ..
drwxr-xr-x 14 www-data www-data 4096 Mar 22 22:37 appdata_oc75adug6gt8
drwxr-xr-x 7 www-data www-data 4096 Mar 23 10:10 azed
-rw-r–r-- 1 www-data www-data 542 May 17 22:12 .htaccess
-rw-r–r-- 1 www-data www-data 0 May 17 22:12 index.html
-rw-r–r-- 1 www-data www-data 52 May 17 22:12 .ncdata
-rw-r----- 1 www-data www-data 3466776 May 22 15:43 nextcloud.log
-rw-r–r-- 1 www-data www-data 72481 May 17 22:12 updater.log
drwxr-xr-x 4 www-data www-data 4096 May 17 22:12 updater-oc75adug6gt8
azed@azed-byte:~$
Content of .ncdata (the following two lines, commented-out in the original)
Nextcloud data directory
Do not change this file
I’m thinking this is some sort of permissions problem
All help / advice gratefully received
Steps to replicate it (hint: details matter!):
N/A
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
`Preformatted text`
The requested uri(/data/.ncdata) cannot be processed by the script '/nextcloud/index.php')
/var/www/nextcloud/lib/base.php
Line 963
OC\AppFramework\Http\Request->getRawPathInfo()
/var/www/nextcloud/index.php
Line 24
OC::handleRequest()
Raw log entry
{
"reqId": "IoqfUPMw7QYel69Pm3CH",
"level": 3,
"time": "2025-05-22T14:43:28+00:00",
"remoteAddr": "192.168.1.237",
"user": "--",
"app": "index",
"method": "GET",
"url": "/data/.ncdata",
"message": "The requested uri(/data/.ncdata) cannot be processed by the script '/nextcloud/index.php')",
"userAgent": "Nextcloud Server Crawler",
"version": "30.0.11.1",
"exception": {
"Exception": "Exception",
"Message": "The requested uri(/data/.ncdata) cannot be processed by the script '/nextcloud/index.php')",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 963,
"function": "getRawPathInfo",
"class": "OC\\AppFramework\\Http\\Request",
"type": "->"
},
{
"file": "/var/www/nextcloud/index.php",
"line": 24,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/nextcloud/lib/private/AppFramework/Http/Request.php",
"Line": 711,
"message": "The requested uri(/data/.ncdata) cannot be processed by the script '/nextcloud/index.php')",
"exception": [],
"CustomMessage": "The requested uri(/data/.ncdata) cannot be processed by the script '/nextcloud/index.php')"
},
"id": "682f383dd0738"
}
`Preformatted text`
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
N/A(?)
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
Typical /var/log/apache2/error.log o/p
`Preformatted text`
[Fri May 23 14:25:41.564332 2025] [access_compat:error] [pid 908:tid 923] [client 192.168.1.237:57976] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Fri May 23 14:25:41.659081 2025] [access_compat:error] [pid 908:tid 951] [client 192.168.1.237:57976] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Fri May 23 14:25:41.684958 2025] [access_compat:error] [pid 908:tid 952] [client 192.168.1.237:49014] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Fri May 23 14:25:41.759910 2025] [access_compat:error] [pid 908:tid 928] [client 192.168.1.237:48998] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Fri May 23 14:42:00.335116 2025] [access_compat:error] [pid 907:tid 913] [client 192.168.1.237:56114] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Fri May 23 14:42:00.400009 2025] [access_compat:error] [pid 907:tid 916] [client 192.168.1.237:56114] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Fri May 23 14:42:00.439189 2025] [access_compat:error] [pid 907:tid 915] [client 192.168.1.237:56124] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Fri May 23 14:42:00.488599 2025] [access_compat:error] [pid 908:tid 942] [client 192.168.1.237:56132] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sat May 24 12:30:45.353965 2025] [mpm_event:notice] [pid 906:tid 906] AH00492: caught SIGWINCH, shutting down gracefully
[Sat May 24 15:42:20.042824 2025] [mpm_event:notice] [pid 1197:tid 1197] AH00489: Apache/2.4.63 (Ubuntu) configured -- resuming normal operations
[Sat May 24 15:42:20.049218 2025] [core:notice] [pid 1197:tid 1197] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 24 16:29:59.190514 2025] [access_compat:error] [pid 1201:tid 1216] [client 192.168.1.237:34580] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sat May 24 16:29:59.307522 2025] [access_compat:error] [pid 1201:tid 1219] [client 192.168.1.237:34580] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sat May 24 16:29:59.342656 2025] [access_compat:error] [pid 1202:tid 1286] [client 192.168.1.237:34602] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sat May 24 16:29:59.600450 2025] [access_compat:error] [pid 1202:tid 1287] [client 192.168.1.237:59824] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 10:44:46.799245 2025] [mpm_event:notice] [pid 1197:tid 1197] AH00492: caught SIGWINCH, shutting down gracefully
[Sun May 25 10:50:08.272706 2025] [mpm_event:notice] [pid 1120:tid 1120] AH00489: Apache/2.4.63 (Ubuntu) configured -- resuming normal operations
[Sun May 25 10:50:08.275841 2025] [core:notice] [pid 1120:tid 1120] AH00094: Command line: '/usr/sbin/apache2'
[Sun May 25 12:42:09.569950 2025] [access_compat:error] [pid 1122:tid 1131] [client 192.168.1.237:38974] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 12:42:09.670322 2025] [access_compat:error] [pid 1122:tid 1129] [client 192.168.1.237:38974] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 12:42:09.712060 2025] [access_compat:error] [pid 1121:tid 1156] [client 192.168.1.237:56322] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 12:42:09.776397 2025] [access_compat:error] [pid 1121:tid 1158] [client 192.168.1.237:56332] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 20:28:49.663097 2025] [access_compat:error] [pid 1122:tid 1144] [client 192.168.1.237:42028] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 20:28:49.768474 2025] [access_compat:error] [pid 1122:tid 1128] [client 192.168.1.237:42028] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 20:28:49.807176 2025] [access_compat:error] [pid 1122:tid 1133] [client 192.168.1.237:54244] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Sun May 25 20:28:49.878900 2025] [access_compat:error] [pid 1122:tid 1135] [client 192.168.1.237:54208] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 14:16:08.838007 2025] [access_compat:error] [pid 1122:tid 1133] [client 192.168.1.237:41620] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 14:16:08.947156 2025] [access_compat:error] [pid 1122:tid 1132] [client 192.168.1.237:41620] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 14:16:08.980519 2025] [access_compat:error] [pid 1122:tid 1136] [client 192.168.1.237:41642] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 14:16:09.036249 2025] [access_compat:error] [pid 1122:tid 1135] [client 192.168.1.237:41612] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 16:45:48.965090 2025] [access_compat:error] [pid 1122:tid 1140] [client 192.168.1.237:43178] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 16:45:49.032364 2025] [access_compat:error] [pid 1122:tid 1135] [client 192.168.1.237:43178] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 16:45:49.068345 2025] [access_compat:error] [pid 1122:tid 1139] [client 192.168.1.237:43208] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 16:45:49.129753 2025] [access_compat:error] [pid 1122:tid 1127] [client 192.168.1.237:43194] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 19:57:32.634369 2025] [access_compat:error] [pid 1121:tid 1175] [client 192.168.1.237:36638] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 19:57:32.737003 2025] [access_compat:error] [pid 1121:tid 1174] [client 192.168.1.237:36638] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 19:57:32.773467 2025] [access_compat:error] [pid 1121:tid 1156] [client 192.168.1.237:36662] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 19:57:32.838854 2025] [access_compat:error] [pid 1122:tid 1147] [client 192.168.1.237:36650] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 20:23:30.688971 2025] [access_compat:error] [pid 1122:tid 1137] [client 192.168.1.237:53200] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 20:23:30.755495 2025] [access_compat:error] [pid 1122:tid 1149] [client 192.168.1.237:53200] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 20:23:30.788741 2025] [access_compat:error] [pid 1122:tid 1133] [client 192.168.1.237:53206] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
[Mon May 26 20:23:30.840896 2025] [access_compat:error] [pid 1121:tid 1176] [client 192.168.1.237:53198] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ncdata
`Preformatted text`
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
o/p of `occ config:list system`:
`Preformatted text`
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.1.237",
"nc.korkythekat.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "30.0.11.1",
"overwrite.cli.url": "https:\/\/nc.korkythekat.com\/nextcloud",
"overwritehost": "nc.korkythekat.com",
"overwriteprotocol": "https",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "GB",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": "true",
"memcache.locking": "\\OC\\Memcache\\Redis",
"maintenance_window_start": 1,
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"dbindex": 0,
"password": "***REMOVED SENSITIVE VALUE***",
"timeout": 1.5
},
"maintenance": false,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"loglevel": 2,
"htaccess.RewriteBase": "\/"
}
}
`Preformatted text`
Apps
The output of occ app:list
(if possible).
Enabled:
- activity: 3.0.0
- app_api: 4.0.6
- bruteforcesettings: 3.0.0
- calendar: 5.2.4
- circles: 30.0.0
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contacts: 7.1.0
- contactsinteraction: 1.11.0
- dashboard: 7.10.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- mail: 5.0.7
- nextcloud_announcements: 2.0.0
- notes: 4.12.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- richdocuments: 8.5.7
- richdocumentscode: 24.4.1303
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- spreed: 20.1.6
- support: 2.0.0
- survey_client: 2.0.0
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.6.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled: - admin_audit: 1.20.0
- encryption: 2.18.0
- files_external: 1.22.0
- onlyoffice: 9.8.0 (installed 9.8.0)
- suspicious_login: 8.0.0
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- user_ldap: 1.21.0
Tips for increasing the likelihood of a response
- Use the
preformatted text
formatting option in the editor for all log entries and configuration output. - If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.