Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
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. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
11
- Operating system and version (e.g., Ubuntu 24.04):
Asustor ADM
- Web server and version (e.g, Apache 2.4.25):
Latest
- Reverse proxy and version _(e.g. nginx 1.27.2)
Traefik 3.5.3
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
After a host restart maybe, probably with nc image(s) pull
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Cloudflare, proxy disabled
Summary of the issue you are facing:
Apache throws Gateway Timeout
Steps to replicate it (hint: details matter!):
-
Install
-
Try to connect
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
Not able to get
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
Nothing to report
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
curl -L http://localhost:11000/login.php
<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="en" data-locale="en" translate="no" >
<head
data-requesttoken="">
<meta charset="utf-8">
<title>
Nextcloud </title>
<meta name="csp-nonce" nonce="5NEdyH3/V8EOry/bvpoZ5wwuEnSGKqmNv0czA20qwfk=">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta name="apple-itunes-app" content="app-id=1125420102">
<meta name="theme-color" content="#00679e">
<link rel="icon" href="/apps/theming/favicon?v=e8309dbb">
<link rel="apple-touch-icon" href="/apps/theming/icon?v=e8309dbb">
<link rel="mask-icon" sizes="any" href="/core/img/favicon-mask.svg" color="#00679e">
<link rel="manifest" href="/core/img/manifest.json" crossorigin="use-credentials">
<link rel="stylesheet" href="/core/css/server.css?v=86d85cf7-0">
<link rel="stylesheet" href="/apps/theming/css/default.css?v=723afb15-0">
<link rel="stylesheet" href="/core/css/guest.css?v=86d85cf7-0">
<script nonce="5NEdyH3/V8EOry/bvpoZ5wwuEnSGKqmNv0czA20qwfk=" defer src="/dist/core-common.js?v=86d85cf7-0"></script>
<script nonce="5NEdyH3/V8EOry/bvpoZ5wwuEnSGKqmNv0czA20qwfk=" defer src="/dist/core-main.js?v=86d85cf7-0"></script>
<script nonce="5NEdyH3/V8EOry/bvpoZ5wwuEnSGKqmNv0czA20qwfk=" defer src="/apps/theming/js/theming.js?v=86d85cf7-0"></script>
<script nonce="5NEdyH3/V8EOry/bvpoZ5wwuEnSGKqmNv0czA20qwfk=" defer src="/dist/files_sharing-main.js?v=86d85cf7-0"></script>
<link rel="stylesheet" media="" href="/apps/theming/theme/default.css?plain=1&v=e8309dbb" class="theme"/><link rel="stylesheet" media="(prefers-color-scheme: light)" href="/apps/theming/theme/light.css?plain=1&v=e8309dbb" class="theme"/><link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/apps/theming/theme/dark.css?plain=1&v=e8309dbb" class="theme"/><link rel="stylesheet" media="(prefers-contrast: more)" href="/apps/theming/theme/light-highcontrast.css?plain=1&v=e8309dbb" class="theme"/><link rel="stylesheet" media="(prefers-color-scheme: dark) and (prefers-contrast: more)" href="/apps/theming/theme/dark-highcontrast.css?plain=1&v=e8309dbb" class="theme"/><link rel="stylesheet" media="" href="/apps/theming/theme/light.css?plain=0&v=e8309dbb" class="theme"/><link rel="stylesheet" media="" href="/apps/theming/theme/dark.css?plain=0&v=e8309dbb" class="theme"/><link rel="stylesheet" media="" href="/apps/theming/theme/light-highcontrast.css?plain=0&v=e8309dbb" class="theme"/><link rel="stylesheet" media="" href="/apps/theming/theme/dark-highcontrast.css?plain=0&v=e8309dbb" class="theme"/><link rel="stylesheet" media="" href="/apps/theming/theme/opendyslexic.css?plain=0&v=e8309dbb" class="theme"/><meta name="color-scheme" content="light dark"/> </head>
<body id="body-login" data-themes="">
<noscript>
<div id="nojavascript">
<div>
This application requires JavaScript for correct operation. Please <a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">enable JavaScript</a> and reload the page. </div>
</div>
</noscript>
<div id="initial-state-container" style="display: none;">
<input type="hidden" id="initial-state-richdocuments-startPresentation" value="ZmFsc2U=">
<input type="hidden" id="initial-state-core-versionHash" value="Ijg2ZDg1Y2Y3Ig==">
<input type="hidden" id="initial-state-theming-data" value="eyJuYW1lIjoiTmV4dGNsb3VkIiwic2xvZ2FuIjoiYSBzYWZlIGhvbWUgZm9yIGFsbCB5b3VyIGRhdGEiLCJ1cmwiOiJodHRwczpcL1wvbmV4dGNsb3VkLmNvbSIsImltcHJpbnRVcmwiOiIiLCJwcml2YWN5VXJsIjoiIiwicHJpbWFyeUNvbG9yIjoiIzAwNjc5ZSIsImJhY2tncm91bmRDb2xvciI6IiMwMDY3OWUiLCJkZWZhdWx0UHJpbWFyeUNvbG9yIjoiIzAwNjc5ZSIsImRlZmF1bHRCYWNrZ3JvdW5kQ29sb3IiOiIjMDA2NzllIiwiaW52ZXJ0ZWQiOmZhbHNlLCJjYWNoZUJ1c3RlciI6ImU4MzA5ZGJiIiwiZW5hYmxlZFRoZW1lcyI6W10sImNvbG9yIjoiIzAwNjc5ZSIsIiI6ImNvbG9yIGlzIGRlcHJlY2F0ZWQgc2luY2UgTmV4dGNsb3VkIDI5LCB1c2UgcHJpbWFyeUNvbG9yIGluc3RlYWQifQ==">
<input type="hidden" id="initial-state-comments-maxAutoCompleteResults" value="MTA=">
</div>
<div class="wrapper">
<div class="v-align">
<header>
<div id="header" class="header-guest">
<div class="logo"></div>
</div>
</header>
<div>
<h1 class="hidden-visually">
Nextcloud </h1>
<div class="body-login-container update">
<div class="icon-big icon-search"></div>
<h2>Page not found</h2>
<p class="infogroup">The page could not be found on the server or you may not be allowed to view it.</p>
<p><a class="button primary" href="/">
Back to Nextcloud </a></p>
</div>
</div>
</div>
</div>
<footer class="guest-box ">
<p class="info">
<a href="https://nextcloud.com" target="_blank" rel="noreferrer noopener" class="entity-name">Nextcloud</a> – a safe home for all your data </p>
</footer>
</body>
</html>
-----
curl -L http://localhost:11000/
Gateway Timeout
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"check_data_directory_permissions": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"overwritehost": "nextcloud.domain.com",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"nextcloud.domain.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "32.0.0.13",
"overwrite.cli.url": "https:\/\/nextcloud.domain.com\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"updatechecker": true,
"updatedirectory": "\/nc-updater",
"loglevel": 2,
"app_install_overwrite": [
"nextcloud-aio",
"tasks",
"fulltextsearch",
"bookmarks_fulltextsearch",
"fulltextsearch_elasticsearch",
"files_fulltextsearch",
"files_fulltextsearch_tesseract",
"fulltextsearch_sql"
],
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": 10485760,
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"enabledPreviewProviders": {
"1": "OC\\Preview\\Image",
"2": "OC\\Preview\\MarkDown",
"3": "OC\\Preview\\MP3",
"4": "OC\\Preview\\TXT",
"5": "OC\\Preview\\OpenDocument",
"6": "OC\\Preview\\Movie",
"7": "OC\\Preview\\Krita",
"0": "OC\\Preview\\Imaginary",
"23": "OC\\Preview\\ImaginaryPDF"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": 30,
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"maintenance_window_start": 100,
"allow_local_remote_servers": true,
"davstorage.request_timeout": 3600,
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"files_external_allow_create_new_local": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "IT",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": true,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"DOMAIN": "nextcloud.domain.com"
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 5.0.0-dev.0
- admin_audit: 1.22.0
- app_api: 32.0.0
- assistant: 2.8.0
- bruteforcesettings: 5.0.0-dev.0
- calendar: 6.0.1
- circles: 32.0.0
- cloud_federation_api: 1.16.0
- comments: 1.22.0
- contacts: 8.0.3
- contactsinteraction: 1.13.1
- dashboard: 7.12.0
- dav: 1.34.2
- deck: 1.16.0
- federatedfilesharing: 1.22.0
- federation: 1.22.0
- files: 2.4.0
- files_downloadlimit: 5.0.0-dev.0
- files_pdfviewer: 5.0.0-dev.0
- files_reminders: 1.5.0
- files_sharing: 1.24.0
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0-dev.0
- integration_openai: 3.7.1
- logreader: 5.0.0-dev.0
- lookup_server_connector: 1.20.0
- nextcloud-aio: 0.8.0
- nextcloud_announcements: 4.0.0-dev.0
- notes: 4.12.3
- notifications: 5.0.0-dev.0
- notify_push: 1.2.0
- oauth2: 1.20.0
- password_policy: 4.0.0-dev.0
- photos: 5.0.0-dev.1
- privacy: 4.0.0-dev.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- recommendations: 5.0.0-dev.0
- related_resources: 3.0.0-dev.0
- richdocuments: 9.0.1
- serverinfo: 4.0.0-dev.0
- settings: 1.15.1
- sharebymail: 1.22.0
- spreed: 22.0.0
- support: 4.0.0-dev.0
- survey_client: 4.0.0-dev.0
- systemtags: 1.22.0
- tasks: 0.16.1
- text: 6.0.0-dev.0
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- twofactor_totp: 14.0.0
- updatenotification: 1.22.0
- user_status: 1.12.0
- viewer: 5.0.0-dev.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- whiteboard: 1.3.0
- workflowengine: 2.14.0
Disabled:
- bookmarks_fulltextsearch: 1.2.0 (installed 1.2.0)
- encryption: 2.20.0
- files_antivirus: 6.0.6
- files_external: 1.24.0
- suspicious_login: 10.0.0-dev.0
- twofactor_nextcloud_notification: 6.0.0-dev.0
- user_ldap: 1.23.0
I do not understand where the problem could be, if in apache or NC.
Nextcloud container logs:
Connection to nextcloud-aio-database (172.27.0.7) 5432 port [tcp/postgresql] succeeded!
now
-------------------------------
2025-10-16 23:21:33.688721+00
(1 row)
+ '[' -f /dev-dri-group-was-added ']'
+ set +x
Connection to nextcloud-aio-redis (172.27.0.8) 6379 port [tcp/redis] succeeded!
Applying one-click-instance settings...
System config value one-click-instance set to boolean true
System config value one-click-instance.user-limit set to integer 100
System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
support already enabled
Adjusting log files...
System config value upgrade.cli-upgrade-link set to string https://github.com/nextcloud/all-in-one/discussions/2726
System config value logfile set to string /var/www/html/data/nextcloud.log
Config value were not updated
System config value updatedirectory set to string /nc-updater
System config value maintenance_window_start set to integer 100
Applying network settings...
System config value allow_local_remote_servers set to boolean true
System config value davstorage.request_timeout set to integer 3600
System config value trusted_domains => 1 set to string nextcloud.nextcloud.com
System config value overwrite.cli.url set to string https://nextcloud.nextcloud.com/
System config value documentation_url.server_logs set to string https://github.com/nextcloud/all-in-one/discussions/5425
System config value htaccess.RewriteBase set to string /
.htaccess has been updated
System config value dbpersistent set to boolean false
System config value auth.bruteforce.protection.enabled set to boolean true
System config value ratelimit.protection.enabled set to boolean true
System config value files_external_allow_create_new_local set to boolean false
notify_push is up-to-date or no updates could be found
System config value trusted_proxies => 0 set to string 127.0.0.1
System config value trusted_proxies => 1 set to string ::1
System config value trusted_proxies => 10 set to string 172.27.0.0/16
Config value were not updated
+ echo nextcloud-aio-collabora
+ grep -q 'nextcloud-.*-collabora'
+ COLLABORA_HOST=nextcloud.nextcloud.com
+ set +x
richdocuments is up-to-date or no updates could be found
Config value 'wopi_url' for app 'richdocuments' is now set to 'https://nextcloud.nextcloud.com/', stored as mixed in fast cache
No IPv6 address found for nextcloud.nextcloud.com.
Config value were not updated
+ '[' -z '' ']'
+ TALK_HOST=nextcloud.nextcloud.com
+ HPB_PATH=/standalone-signaling/
+ '[' -z '' ']'
+ TURN_DOMAIN=nextcloud.nextcloud.com
+ set +x
spreed is up-to-date or no updates could be found
Connection to nextcloud-aio-talk-recording (172.27.0.9) 1234 port [tcp/*] succeeded!
Config value were not updated
files_antivirus is not enabled
System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
System config value enabledPreviewProviders => 23 set to string OC\Preview\ImaginaryPDF
System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
System config value preview_imaginary_key set to string 16af9818f95c580d40bd6b621f8ca65c3ca9b8e652cd4c4b
fulltextsearch is not enabled
fulltextsearch_elasticsearch is not enabled
files_fulltextsearch is not enabled
whiteboard is up-to-date or no updates could be found
Config value were not updated
Config value were not updated
+ '[' true = true ']'
+ '[' 11000 = 443 ']'
+ set +x
/usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
Connection to nextcloud-aio-apache (172.27.0.13) 11000 port [tcp/*] succeeded!
Activating Collabora config...
[17-Oct-2025 01:22:22] NOTICE: fpm is running, pid 249
[17-Oct-2025 01:22:22] NOTICE: ready to handle connections
✓ Set WOPI url to http://nextcloud-aio-apache:23973
✓ Set callback url to http://nextcloud-aio-apache:23973
Checking configuration
🛈 Configured WOPI URL: http://nextcloud-aio-apache:23973
🛈 Configured public WOPI URL: https://nextcloud.nextcloud.com
🛈 Configured callback URL: http://nextcloud-aio-apache:23973
✓ Fetched /hosting/discovery endpoint
✓ Valid mimetype response
✓ Valid capabilities entry
✓ Fetched /hosting/capabilities endpoint
✓ Detected WOPI server: Collabora Online Development Edition 25.04.6.1
Collabora URL (used for Nextcloud to contact the Collabora server):
http://nextcloud-aio-apache:23973
Collabora public URL (used in the browser to open Collabora):
https://nextcloud.nextcloud.com
Callback URL (used by Collabora to connect back to Nextcloud):
http://nextcloud-aio-apache:23973
Apache container logs:
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Connection to nextcloud-aio-nextcloud (172.27.0.12) 9000 port [tcp/*] succeeded!
/usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
[Fri Oct 17 01:17:10.234376 2025] [mpm_event:notice] [pid 61:tid 61] AH00489: Apache/2.4.65 (Unix) configured -- resuming normal operations
[Fri Oct 17 01:17:10.235880 2025] [core:notice] [pid 61:tid 61] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"info","ts":1760656630.2954402,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
{"level":"info","ts":1760656630.296745,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":30080688537,"previous":9223372036854775807}
{"level":"info","ts":1760656630.297037,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1760656630.2999544,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1760656630.3154507,"msg":"serving initial configuration"}