The Basics
- Nextcloud Server version (e.g., 29.x.x): 30.0.4
- Operating system and version (e.g., Ubuntu 24.04): Debian 12
- Web server and version (e.g, Apache 2.4.25): Apache
- Reverse proxy and version _(e.g. nginx 1.27.2) Nginx Proxy Manager
- PHP version (e.g, 8.3): 8.2
- Is this the first time you’ve seen this error? (Yes / No):
Yes - When did this problem seem to first start?
After adding a Nginx Proxy Manager in another VM to receive the traffic. - Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare Metal - Are you using CloudfIare, mod_security, or similar? (Yes / No)
Nope.
Summary of the issue you are facing:
I have a machine running NC 30 with Apache. It was receiving the traffic from the internet directly, but then I added a new machine with Nginx to forward traffic to the VM. Everything works but now when I go to Security & setup warnings I receive: Error occurred while checking server setup
There are NO errors on logs, when I inspect Network with the browser I see:
504 on GET DOMAIN/index.php/settings/ajax/checksetup
Steps to replicate it (hint: details matter!):
Simply go to Overview page on Administration.
Log entries
Nothing.
Web Browser
504 on GET DOMAIN/index.php/settings/ajax/checksetup
Web server / Reverse Proxy
504 on GET DOMAIN/index.php/settings/ajax/checksetup
Configuration
Nextcloud
<?php
$CONFIG = array (
'passwordsalt' => 'some_salt',
'secret' => 'some_secret',
'trusted_domains' =>
array (
0 => 'my.domain',
),
'datadirectory' => '/data',
'dbtype' => 'mysql',
'version' => '30.0.4.1',
'overwrite.cli.url' => 'https://my.domain',
'dbname' => 'nextcloud',
'dbhost' => '127.0.0.1',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'my_admin',
'dbpassword' => 'my_password',
'installed' => true,
'instanceid' => 'my_instance_id',
'default_phone_region' => 'BE',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => '0',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'maintenance_window_start' => 2,
'updater.release.channel' => 'stable',
);
Apps
Not relevant.