Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com 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:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
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
Nextcloud version (eg, 20.0.5): Nextcloud Hub 4 (26.0.1)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52 (Ubuntu)
PHP version (eg, 7.4): PHP8.1
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): y
Hello All
After installing a fresh system with Ubuntu 22.04 i encounter this error like in the title. I googled around and i can find nothing which helps me to figure out, how to fix it.
[index] Fehler: Exception: The requested uri(/data/.ocdata) cannot be processed by the script ‘/nextcloud/index.php’) at <>
- /var/www/nextcloud/lib/base.php line 994
OC\AppFramework\Http\Request->getRawPathInfo() - /var/www/nextcloud/index.php line 36
OC::handleRequest()
GET /data/.ocdata?t=1684533278856
from ClientIP by admin at 2023-05-19T21:53:27+00:00
Any ideas??? Verry welcome!!!
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxx',
'passwordsalt' => 'xxxxx',
'secret' => 'xxxxx',
'trusted_domains' =>
array (domain)',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '26.0.1.1',
'overwrite.cli.url' => 'https://domain/nextcloud',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxx',
'dbpassword' => 'xxxx',
'memcache.local' => '\\OC\\Memcache\\APCu',
'installed' => true,
'enable_previews' => true,
'default_phone_region' => 'US',
'updater.release.channel' => 'stable',
);
The output of your Apache/nginx/system log in /var/log/____
:
"GET /data/.ocdata?t=1684533278856 HTTP/1.1" 500 4751 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "GET /nextcloud/index.php/.well-known/webfinger HTTP/1.1" 404 917 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "GET /nextcloud/index.php/.well-known/nodeinfo HTTP/1.1" 404 916 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "GET /index.php/apps/theming/manifest/settings?v=3b54574a HTTP/1.1" 200 2094 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "GET /index.php/apps/theming/icon/settings?v=14 HTTP/1.1" 200 26543 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "GET /ocs/v2.php/cloud/groups/details HTTP/1.1" 200 1019 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "PROPFIND /remote.php/webdav HTTP/1.1" 207 2896 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "PROPFIND /nextcloud/remote.php/dav HTTP/1.1" 207 1378 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "PROPFIND /nextcloud/remote.php/dav HTTP/1.1" 207 1378 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:27 +0000] "GET /index.php/settings/ajax/checksetup HTTP/1.1" 200 2159 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:35 +0000] "GET /index.php/settings/admin/logging HTTP/1.1" 200 12864 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:35 +0000] "GET /apps/logreader/js/logreader-main.css?v=6c1e7ede-14 HTTP/1.1" 200 2570 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:35 +0000] "GET /apps/logreader/l10n/de.js?v=4c90d2ce-14 HTTP/1.1" 200 1796 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
SERVERIP - - [19/May/2023:21:53:35 +0000] "GET /apps/logreader/js/logreader-main.js?v=4c90d2ce-14 HTTP/1.1" 200 168798 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
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.
{"reqId":"xxxx","level":3,"time":"2023-05-18T16:26:12+00:00","remoteAddr":"xxxxxxxx","user":"admin","app":"index","method":"GET","url":"/data/.ocdata?t=1684427243020","message":"The requested uri(/data/.ocdata) cannot be processed by the script '/nextcloud/index.php')","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"26.0.1.1","exception":{"Exception":"Exception","Message":"The requested uri(/data/.ocdata) cannot be processed by the script '/nextcloud/index.php')","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/base.php","line":994,"function":"getRawPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Request.php","Line":730,"CustomMessage":"--"}}
That’s all i have… Enough?
Best, Skywalker
PS: The .ocdata file exists in the data directory with 644 rights and i used when i have everything installed the chmod www-data command.