Nextcloud version 24.0.8.2
Operating system and version Ubuntu 22.04.1
Apache 2.4.52
PHP version 8.1
Virtualmin 7.3-1
I have nextcloud running under a virtual server (vs1).
/home/vs1/public_html/nextcloud/
I made the mistake of running “Validate Servers - Fix Permissions” in Virtualmin. It changed the ownership of all the files and directories under /vs1 to vs1:vs1
The nextcloud data files are under /srv/nextcloud/ and were unaffected
I have recursively changed the ownership of the /nextcloud folder and files back to www-data:www-data, but I am now getting:
from a web browser “No input file specified.”
davx is returning a 404 response
android apps show “No files found here”
Is there anything else I should do?
config.php file
<?php
$CONFIG = array (
'instanceid' => 'ocqmqfc68kbd',
'passwordsalt' =>
'secret' =>
'trusted_domains' =>
array (
0 => 'localhost',
1 =>'myserver'
2 => '192.168.0.21',
),
'datadirectory' => '/srv/nextcloud/data',
'dbtype' => 'mysql',
'version' => '24.0.8.2',
'overwrite.cli.url' => 'http://myserver/nextcloud',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'mail_from_address' => 'raydon',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'myserver',
'mail_smtphost' => 'myserver',
'mail_smtpport' => '25',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpname' =>
'mail_smtppassword' =>
'default_phone_region' => 'GB',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'config_is_read_only' => false,
'apps_paths' =>
array (
0 =>
Error log
[Wed Jan 04 00:00:11.414543 2023] [ssl:warn] [pid 1178] AH01906: myserver:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jan 04 00:01:27.395130 2023] [fcgid:warn] [pid 21194] (104)Connection reset by peer: [client 192.168.0.1:63543] mod_fcgid: error reading data from FastCGI server
[Wed Jan 04 00:01:27.395188 2023] [core:error] [pid 21194] [client 192.168.0.1:63543] End of script output before headers: status.php
[Wed Jan 04 00:03:32.842724 2023] [access_compat:error] [pid 22408] [client 192.168.0.1:63687] AH01797: client denied by server configuration: /home/vs1/public_html/nextcloud/config/config.php