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.0.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.4): 7.4.3
The issue you are facing:
We no longer have an IIS proxy, and so I am moving Nextcloud beyond it. We are now unable to open the site on an external ISP. It opens fine internally.
Is this the first time you’ve seen this error? (Y/N):
Yes
Steps to replicate it:
- Shut down IIS proxy
- Remove all overwrite* directives, trusted_proxies, and forwarded_for_headers directives in config file
- Restart Apache
- Ensure network firewall routes traffic to Nextcloud instead of IIS proxy
- Attempt to log view site from an external ISP
The output of your Nextcloud log in Admin > Logging:
N/A
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '[redacted]',
'secret' => '[redacted]',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '10.100.200.10',
2 => 'cloud.domain.com',
),
'datadirectory' => '/var/ncdata',
'allow_user_to_change_display_name' => false,
'tempdirectory' => '/tmp',
'dbtype' => 'pgsql',
'version' => '22.2.0.2',
'dbname' => 'nextcloud_db',
'dbhost' => '127.0.0.1',
'dbport' => '',
'dbtableprefix' => 'abc_',
'dbuser' => '[redacted]',
'dbpassword' => '[redacted]',
'defaultapp' => 'apporder',
'installed' => true,
'instanceid' => '[redacted]',
'maintenance' => false,
'ldapUserCleanupInterval' => 15,
'log_rotate_size' => '10485760',
'htaccess.RewriteBase' => '/',
'sort_groups_by_name' => 'true',
'loglevel' => '2',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'logtimezone' => 'America/Chicago',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'mail_from_address' => 'cloud',
'mail_domain' => 'domain.com',
'mail_smtphost' => 'smtp-relay.gmail.com',
'mail_smtpport' => '587',
'mail_smtpmode' => 'false',
'mail_smtpsecure' => 'tls',
'trashbin_retention_obligation' => 'auto, 60',
'remember_login_cookie_lifetime' => '1800',
'versions_retention_obligation' => 'auto, 180',
'simpleSignUpLink.shown' => false,
'mail_sendmailmode' => 'smtp',
'encryption.key_storage_migrated' => false,
'default_phone_region' => 'us',
'activity_expire_days' => '120',
'upgrade.disable-web' => true,
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'memcache.local' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.5,
'dbindex' => 0,
'password' => '[redacted]',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
[Tue Nov 02 09:55:09.553367 2021] [mpm_event:notice] [pid 1139:tid 140161095965760] AH00491: caught SIGTERM, shutting down
[Tue Nov 02 09:55:09.686691 2021] [mpm_event:notice] [pid 2570:tid 140125909171264] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operati>
[Tue Nov 02 09:55:09.686830 2021] [core:notice] [pid 2570:tid 140125909171264] AH00094: Command line: '/usr/sbin/apache2'
[Tue Nov 02 10:02:56.831206 2021] [mpm_event:notice] [pid 2570:tid 140125909171264] AH00491: caught SIGTERM, shutting down
[Tue Nov 02 10:02:56.952885 2021] [mpm_event:notice] [pid 2960:tid 139857122950208] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operati>
[Tue Nov 02 10:02:56.953035 2021] [core:notice] [pid 2960:tid 139857122950208] AH00094: Command line: '/usr/sbin/apache2'