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): 22.2.10
Operating system and version (eg, Ubuntu 20.04): raspbian 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): Server version: Apache/2.4.38 (Raspbian) Server built: 2022-06-20T19:03:00
PHP version (eg, 7.4): PHP 7.3.31-1~deb10u1 (cli) (built: Oct 24 2021 15:18:08) ( NTS )
The issue you are facing:
There is a problem with files that are not passing integrity check. Log here: https://pastebin.com/d32fBEtY
Also the system is terribly slow at times - logging in can take minutes, but let’s ignore it for now.
I think the clue what’s wrong lies in that behaviour:
- When I run the integrity check with foobar (or anything) it gets added to the list and stays there. I assume that’s not normal? Trying to rescan produces "Access forbidden. CSRF check failed" page. There is a background task problem as well - it might be related. I tried to configure all 3 options - but there is always error message coming back that the background tasks were not executed for hours/months/years (!)
root@raspberrypi:/var/www/html/nextcloud# sudo -u www-data php ./occ integrity:check-app foobar
- EXCEPTION:
- class: Exception
- message: App not found
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
Sorry, unknown. I did overdue upgrades from 19 to 20 to 21 to 22
The output of your Nextcloud log in Admin > Logging:
The log at error level is massive (sounds bad...). Last few lines:
Error index Exception: The requested uri(/.well-known/nodeinfo) cannot be processed by the script '/nextcloud/index.php')
2022-12-27T16:21:12+0000
Error public Exception: The requested uri(/.well-known/webfinger) cannot be processed by the script '/nextcloud/public.php')
2022-12-27T16:21:12+0000
Error index Exception: The requested uri(/.well-known/nodeinfo) cannot be processed by the script '/nextcloud/index.php')
2022-12-27T16:19:22+0000
Error public Exception: The requested uri(/.well-known/webfinger) cannot be processed by the script '/nextcloud/public.php')
2022-12-27T16:19:22+0000
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'XXX',
'passwordsalt' => 'XXX',
'secret' => 'XXX',
'trusted_domains' =>
array (
0 => 'XXX',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'sqlite3',
'version' => '22.2.10.2',
'overwrite.cli.url' => 'https://XXX.eu',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 0,
'app_install_overwrite' =>
array (
0 => 'occweb',
),
'mail_domain' => 'XXX.eu',
'mail_from_address' => 'XXX',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'updater.secret' => 'XXX',
'data-fingerprint' => 'XXX',
);
The output of your Apache log in /var/log/apache2/error.log
:
Interesting that might be another reason for my problems
[Tue Dec 27 00:00:03.708923 2022] [mpm_prefork:notice] [pid 5275] AH00163: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1n configured -- resuming normal operations
[Tue Dec 27 00:00:03.876274 2022] [core:notice] [pid 5275] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 27 04:46:42.340357 2022] [php7:error] [pid 25620] [client [MASKED]] script '/var/www/html/remote.php' not found or unable to stat
[Tue Dec 27 14:43:39.435726 2022] [php7:error] [pid 25619] [client [MASKED]] script '/var/www/html/remote.php' not found or unable to stat
[Tue Dec 27 15:21:02.873883 2022] [access_compat:error] [pid 25622] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 15:21:33.066622 2022] [access_compat:error] [pid 461] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 15:47:05.283478 2022] [access_compat:error] [pid 29074] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 15:54:38.852592 2022] [access_compat:error] [pid 817] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 15:55:08.894383 2022] [access_compat:error] [pid 860] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 15:55:20.930692 2022] [access_compat:error] [pid 860] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 15:58:29.697885 2022] [access_compat:error] [pid 817] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 16:11:03.076214 2022] [access_compat:error] [pid 921] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 16:11:17.106571 2022] [access_compat:error] [pid 924] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 16:16:06.420191 2022] [access_compat:error] [pid 924] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 16:19:22.866156 2022] [access_compat:error] [pid 1121] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue Dec 27 16:21:12.667242 2022] [access_compat:error] [pid 1122] [client [MASKED]] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
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.
The log is massive, but it seems to be mostly repeats of those:
https://pastebin.com/b9C7d9NH
Any help is appreciated - with my current knowledge it looks like FUBAR, but I hope for the forum gurus it’s just another mangled configuration challenge, not FUBAR. If I missed any important info - I’ll be happy to provide it.