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:
- most of office issues are handled in Collabora integration guide
- 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):
- 31.0.10
- Operating system and version (e.g., Ubuntu 24.04):
Debian 13 Trixie
- Web server and version (e.g, Apache 2.4.25):
2.4.65
- Reverse proxy and version _(e.g. nginx 1.27.2)
Caddy 2.10.0
- PHP version (e.g, 8.3):
- 8.3.26
- Is this the first time you’ve seen this error? (Yes / No):
no
- When did this problem seem to first start?
some weeks ago / don't know exactly when this started
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
When i try to open a document, sometimes it starts downloading and sometimes it opens in writer as expected.
at the bottom there are 2 warnings:
-
missing functions or namespace
-
Slow Kit jail setup with copying, cannot bind-mount
Steps to replicate it (hint: details matter!):
- open a random document
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.
{"reqId":"w0QKbgSgCTuvZ1UJE5pD","level":3,"time":"2025-11-09T01:02:20+00:00","remoteAddr":"","user":"--","app":"richdocuments","method":"","url":"--","message":"Failed to fetch discovery: Server error: `GET https://nextcloud.domain.com/hosting/discovery` resulted in a `502 Bad Gateway` response","userAgent":"--","version":"31.0.10.2","exception":{"Exception":"GuzzleHttp\\Exception\\ServerException","Message":"Server error: `GET https://nextcloud.domain.com/hosting/discovery` resulted in a `502 Bad Gateway` response","Code":502,"Trace":[{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":72,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":209,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":158,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":[1,"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":52,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":251,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->","args":[true]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":227,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":272,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":229,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":69,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":189,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":206,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","*** sensitive parameters replaced ***",{"verify":"/var/www/html/resources/config/ca-bundle.crt","timeout":5,"nextcloud":{"allow_local_address":true},"headers":{"User-Agent":"Nextcloud Server Crawler","Accept-Encoding":"gzip"},"synchronous":true}]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Service/DiscoveryService.php","line":59,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Service/CachedRequestService.php","line":74,"function":"sendRequest","class":"OCA\\Richdocuments\\Service\\DiscoveryService","type":"->","args":[{"__class__":"OC\\Http\\Client\\Client"}]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Backgroundjobs/ObtainCapabilities.php","line":41,"function":"fetch","class":"OCA\\Richdocuments\\Service\\CachedRequestService","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\\Richdocuments\\Backgroundjobs\\ObtainCapabilities","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":97,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":84,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]},{"file":"/var/www/html/cron.php","line":170,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]}],"File":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":111,"message":"Failed to fetch discovery: Server error: `GET https://nextcloud.domain.com/hosting/discovery` resulted in a `502 Bad Gateway` response","exception":[],"CustomMessage":"Failed to fetch discovery: Server error: `GET https://nextcloud.domain.com/hosting/discovery` resulted in a `502 Bad Gateway` response"},"id":"6911bf0e0d0b8"}
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.
Warnungen zu Content-Security-Policy 2
OCA.Files.Settings initialized files-main.js:1:589237
OCA.Files.Sidebar initialized files-sidebar.js:1:55937
OCA.Sharing.ShareSearch initialized files_sharing-files_sharing_tab.js:1:800
OCA.Comments.View initialized comments-comments-app.js:1:20300
Initializing unified search plugin-filters from talk talk-search.js:842:1879
Notifications permissions denied NotificationsApp-CL5l4zBd.chunk.mjs:38:58509
Has notify_push enabled, slowing polling to 15 minutes NotificationsApp-CL5l4zBd.chunk.mjs:38:53966
Polling interval updated to 900000 NotificationsApp-CL5l4zBd.chunk.mjs:38:57804
Started background fetcher as session_keepalive is enabled NotificationsApp-CL5l4zBd.chunk.mjs:38:55008
Got notification data, restoring default polling interval. NotificationsApp-CL5l4zBd.chunk.mjs:38:56759
[WARN] viewer: No files provided, skipping update
Object { app: "viewer", uid: "david", level: 2 }
viewerAction-DU_dCs3h.chunk.mjs:14:366
Fehler beim Laden von 'https://nextcloud.domain.com/core/preview?fileId=1859&x=32&y=32&mimeFallback=true&v=1a56cd&a=0'. Ein ServiceWorker fing die Anfrage ab und es kam zu einem unwarteten Fehler. preview-service-worker.js:1:777
File info for /Dokumente/Test.docx fetched
Object { filename: Getter & Setter, basename: Getter & Setter, lastmod: Getter & Setter, size: Getter & Setter, type: Getter & Setter, etag: Getter & Setter, mime: Getter & Setter, tags: Getter & Setter, getcontentlength: Getter & Setter, getcontenttype: Getter & Setter, … }
viewer-main.mjs:8:14277
Feature Policy: Unbekannte Funktionalität (Feature) "clipboard-read" wird ignoriert. richdocuments-vendors-node_modules_cancelable-promise_umd_CancelablePromise_js-node_modules_nextcloud_axios-ca0206.js:2:235299
Feature Policy: Unbekannte Funktionalität (Feature) "clipboard-write" wird ignoriert. richdocuments-vendors-node_modules_cancelable-promise_umd_CancelablePromise_js-node_modules_nextcloud_axios-ca0206.js:2:235299
Feature Policy: Unbekannte Funktionalität (Feature) "clipboard-read" wird ignoriert. viewerAction-DU_dCs3h.chunk.mjs:2:55275
Feature Policy: Unbekannte Funktionalität (Feature) "clipboard-write" wird ignoriert. viewerAction-DU_dCs3h.chunk.mjs:2:55275
[getWopiUrl] http://nextcloud-aio-apache:23973/index.php/apps/richdocuments/wopi/files/1880_ocz62rqjz3br richdocuments-src_view_Viewer_vue.js:1:7625
Layout-Darstellung wurde erzwungen, bevor die Seite vollständig geladen war. Falls Stylesheet noch nicht geladen sind, kann dies zu einem kurzzeitigen Darstellung des Inhalts ohne Formatierung führen. cool.html
Content-Security-Policy: Die Einstellungen der Seite haben die Ausführung eines Inline-Skripts (script-src-elem) blockiert, da es gegen folgende Direktive verstößt: "script-src 'self' 'unsafe-eval'". Ziehen Sie die Verwendung eines Hashs ('sha256-*censored*') oder einer Nonce in Erwägung. preload.js:139:16
Synchrone XMLHttpRequests am Haupt-Thread sollte nicht mehr verwendet werden, weil es nachteilige Effekte fĂĽr das Erlebnis der Endbenutzer hat. FĂĽr weitere Hilfe siehe https://xhr.spec.whatwg.org/#sync-warning bundle.js:9572:5
[viewer] Received post message App_LoadingStatus
Object { Status: "Initialized" }
false richdocuments-src_view_Viewer_vue.js:1:40392
Content-Security-Policy: Die Einstellungen der Seite haben die Ausführung eines Inline-Skripts (script-src-elem) blockiert, da es gegen folgende Direktive verstößt: "script-src 'self' 'unsafe-eval'". Ziehen Sie die Verwendung eines Hashs ('sha256-*censored*') oder einer Nonce in Erwägung. preload.js:139:16
[viewer] Received post message App_LoadingStatus
Object { Status: "Frame_Ready", Features: {…} }
false richdocuments-src_view_Viewer_vue.js:1:40392
[viewer] Received post message Action_Load_Resp
Object { success: true, result: "", errorMsg: "" }
false richdocuments-src_view_Viewer_vue.js:1:40392
PostMessageService.sendPostMessage FRAME_DOCUMENT {"MessageId":"Host_PostmessageReady","SendTime":1762770475522,"Values":{}} richdocuments-src_view_Viewer_vue.js:1:8484
Received Host_PostmessageReady. global.js:1:11095
[viewer] Received post message App_LoadingStatus
Object { Status: "Document_Loaded", DocumentLoadedTime: 1762770475664 }
false richdocuments-src_view_Viewer_vue.js:1:40392
PostMessageService.sendPostMessage FRAME_DOCUMENT {"MessageId":"Host_PostmessageReady","SendTime":1762770475765,"Values":{}} richdocuments-src_view_Viewer_vue.js:1:8484
PostMessageService.sendPostMessage FRAME_DOCUMENT {"MessageId":"Insert_Button","SendTime":1762770475765,"Values":{"id":"Open_Local_Editor","imgurl":"https://nextcloud.domain.com/custom_apps/richdocuments/img/launch.svg","mobile":false,"label":"Im lokalen Editor öffnen","hint":"Im lokalen Editor öffnen","insertBefore":"print"}} richdocuments-src_view_Viewer_vue.js:1:8484
PostMessageService.handlePostMessage Ignoring deprecated post message View_Added richdocuments-src_view_Viewer_vue.js:1:9354
[viewer] Received post message Views_List
Array [ {…} ]
false richdocuments-src_view_Viewer_vue.js:1:40392
CanvasTileWorker initialised 4 TileWorker.js:31:10
[viewer] Received post message Doc_ModifiedStatus
Object { Modified: false }
false richdocuments-src_view_Viewer_vue.js:1:40392
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
INF INF INF INF INF INF INF INF ts=1762736533.3894546 INF INF INF INF INF INF INF INF ts=1762736533.3894546 msg=serving initial configuration
[Mon Nov 10 01:02:13.374117 2025] [mpm_event:notice] [pid 41:tid 41] AH00489: Apache/2.4.65 (Unix) configured -- resuming normal operations
Waiting for Nextcloud to start...
Connection to nextcloud-aio-nextcloud (172.18.0.10) 9000 port [tcp/*] succeeded!
import pkg_resources
/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.
INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated package=github.com/KimMachineGun/automemlimit/memlimit INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=9385891430 INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated package=github.com/KimMachineGun/automemlimit/memlimit INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated INF INF INF INF INF INF INF INF ts=1762736533.3847184 INF INF INF INF INF INF INF INF ts=1762736533.3847184 msg=GOMEMLIMIT is updated package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=9385891430 previous=9223372036854776000
[Mon Nov 10 01:02:13.374151 2025] [core:notice] [pid 41:tid 41] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
INF INF INF INF INF INF INF INF ts=1762736533.3844607 INF INF INF INF INF INF INF INF ts=1762736533.3844607 msg=maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined
INF INF INF INF INF INF INF INF ts=1762736533.3847635 INF INF INF INF INF INF INF INF ts=1762736533.3847635 msg=using config from file INF INF INF INF INF INF INF INF ts=1762736533.3847635 INF INF INF INF INF INF INF INF ts=1762736533.3847635 msg=using config from file file=/tmp/Caddyfile
INF INF INF INF INF INF INF INF ts=1762736533.3864012 INF INF INF INF INF INF INF INF ts=1762736533.3864012 msg=adapted config to JSON INF INF INF INF INF INF INF INF ts=1762736533.3864012 INF INF INF INF INF INF INF INF ts=1762736533.3864012 msg=adapted config to JSON adapter=caddyfile
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": "31.0.10.2",
"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": false,
"loglevel": 2,
"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",
"updatedirectory": "\/nc-updater",
"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***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": true,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "DE",
"DOMAIN": "nextcloud.domain.com"
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 4.0.0
- bruteforcesettings: 4.0.0
- calendar: 5.5.8
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.3.6
- contactsinteraction: 1.12.1
- cookbook: 0.11.5
- cospend: 3.1.6
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.3
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- nextcloud-aio: 0.8.0
- nextcloud_announcements: 3.0.0
- notifications: 4.0.0
- notify_push: 1.2.1
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.7.6
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- spreed: 21.1.5
- support: 3.0.0
- survey_client: 3.0.0
- systemtags: 1.21.1
- text: 5.0.2
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- whiteboard: 1.4.1
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- app_api: 5.0.2 (installed 5.0.2)
- encryption: 2.19.0
- files_external: 1.23.0
- notes: 4.12.3 (installed 4.12.3)
- suspicious_login: 9.0.1
- tasks: 0.17.0 (installed 0.17.0)
- twofactor_nextcloud_notification: 5.0.0
- user_ldap: 1.22.0
