Nextcloud version (eg, 26.0.1): |
27.1.2 |
Operating system and version (eg, Ubuntu 22.04): |
Ubuntu 20.04.6 LTS |
Apache or nginx version (eg, Apache 2.4.25): |
Apache 2.4.41 |
PHP version (eg, 8.1): |
8.2.11 |
Database (sqlite or MariaDB or Postgres) |
mysql 10.3.38 |
Docker (compose) |
|
Snap |
|
Is this the first time you’ve seen this error? |
yes |
The issue you are facing:
- Connection error when using files
- Slow connection set-up and disconnections
- The output of your Nextcloud log in Admin > Logging:
richdocuments GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 80: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost/apps/richdocumentscode/proxy.php?req=/hosting/capabilities
- The output of your config.php file in
/path/to/nextcloud
**
(use https://.../settings/admin/support
which auto-removes identifying information!):
<?php
$CONFIG = array (
'passwordsalt' => 'xxxxxxxxxx',
'secret' => 'Mxxxxxxxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'xxxxxxxx.de',
2 => 'www.xxxxxxxxx.de',
3 => 'https://x.de',
4 => 'https://xxxxx.de',
),
'datadirectory' => '/var/www/vhosts/mynextcloud.de/.nextcloud/data/38cc14de41bb',
'dbtype' => 'mysql',
'version' => '27.1.2.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud_dbname',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncuser_dbuser',
'dbpassword' => 'password',
'installed' => true,
'instanceid' => 'instidxxx',
'mail_from_address' => 'master',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'mynextcloud',
'mail_smtphost' => 'smtp.xxx.de',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'user',
'mail_smtppassword' => 'pw',
'mail_smtpsecure' => 'ssl',
'default_phone_region' => 'DE',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
);
- for Docker/Podman list environment variables ( run “
docker inspect {container name}
”)**
PASTE HERE
- The output of your Apache/nginx/system log in
/var/log/____
:
- For Docker/Podman post STDOUT of the container (run
docker logs {container name}
)
PASTE HERE
- errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors.
[client 79.200.36.57] ModSecurity: Warning. Operator GE matched 5 at TX:incoming_points.
[file "/etc/apache2/modsecurity.d/rules/comodo_free/20_Outgoing_FiltersEnd.conf"] [line "35"] [id "214930"] [rev "1"]
[msg "COMODO WAF: Inbound Points Exceeded|Total Incoming Points: 5|www.mynextcloud.de|F|2"] [severity "CRITICAL"]
[tag "CWAF"] [tag "FiltersEnd"] [hostname "mynextcloud"]
[uri "/apps/richdocumentscode/proxy.php"] [unique_id "ZTlLoIoCTz6un6v06ftgsAAAAEs"]
I use Plesk Obsidian 18.0.56 and the Nexcloud App from Plesk
and a vserver