The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.2
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04.1 LTS
(Host System running Docker)
- Web server and version (e.g, Apache 2.4.25):
Apache/2.4.62 (Debian)
(inside the Nextcloud Container)
- Reverse proxy and version _(e.g. nginx 1.27.2)
Nginx Proxy Manager v2.12.3
(separate Docker Container)
- PHP version (e.g, 8.3):
8.3.19
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
unsure, still new deployment (possibly from start)
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Docker (official image)
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
When uploading large files (e.g. 10GB), the upload consistently fails after some time, e.g. 25 min but sometimes sooner.
Steps to replicate it (hint: details matter!):
unsure how to provide but below the template is my docker compose file and my NGINX Proxy Manager config
Log entries
Nextcloud
Log level is set to WARN and nothing is being logged when the issue occurs.
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.
Relevant Console output:
PUT https://cloud.example.de/remote.php/dav/uploads/admin/web-file-upload-5ebb1537c95d0452/36 401 (Unauthorized)
(anonymous) @ xhr.js:195
[truncated stack trace]
index.mjs:54 [ERROR] @nextcloud/upload: Chunk 36 3670016000 - 3774873600 uploading failed {app: '@nextcloud/upload', uid: 'admin', level: 0, error: r, upload: D}
log @ index.mjs:54
[truncated stack trace]
index.mjs:54 [ERROR] @nextcloud/upload: Error in batch upload {app: '@nextcloud/upload', uid: 'admin', level: 0, error: 'Failed assembling the chunks together'}
log @ index.mjs:54
[truncated stack trace]
Truncated and censored HAR network requests file - the HTTP 401 Unauthorized is visible here and this file can be imported into the Devtools Network tab to inspect the requests:
Web server / Reverse Proxy
Output of docker logs nextcloud 2>&1 | grep -E "PUT.*401" -C 3
(only IP redacted, middle entry has the 401):
123.MY.IP.456 - - [10/Apr/2025:12:01:53 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 707 "-" "Mozilla/5.0 (Windows NT 10.0; Wi
n64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
123.MY.IP.456 - - [10/Apr/2025:12:02:23 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 707 "-" "Mozilla/5.0 (Windows NT 10.0; Wi
n64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
123.MY.IP.456 - - [10/Apr/2025:12:02:53 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 707 "-" "Mozilla/5.0 (Windows NT 10.0; Wi
n64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
123.MY.IP.456 - - [10/Apr/2025:12:03:21 +0000] "PUT /remote.php/dav/uploads/admin/web-file-upload-ba6edf123e9d2bf4/21 HTTP/1.1" 401 658 "-" "Mozilla/5.0 (Windo
ws NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
123.MY.IP.456 - - [10/Apr/2025:12:03:22 +0000] "GET /apps/files HTTP/1.1" 200 15912 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, l
ike Gecko) Chrome/128.0.0.0 Safari/537.36"
123.MY.IP.456 - - [10/Apr/2025:12:03:22 +0000] "DELETE /remote.php/dav/uploads/admin/web-file-upload-ba6edf123e9d2bf4 HTTP/1.1" 401 658 "-" "Mozilla/5.0 (Windo
ws NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
123.MY.IP.456 - - [10/Apr/2025:12:03:22 +0000] "GET /apps/files HTTP/1.1" 200 15914 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, l
ike Gecko) Chrome/128.0.0.0 Safari/537.36"
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": {
"default_language": "de",
"default_locale": "de",
"default_timezone": "Europe\/Berlin",
"skeletondirectory": "",
"templatedirectory": "",
"session_relaxed_expiry": true,
"preview_max_x": 1024,
"preview_max_y": 1024,
"preview_max_filesize_image": 5,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\Krita",
"OC\\Preview\\SVG",
"OC\\Preview\\TIFF",
"OC\\Preview\\PDF",
"OC\\Preview\\Illustrator",
"OC\\Preview\\Photoshop",
"OC\\Preview\\Postscript",
"OC\\Preview\\Font",
"OC\\Preview\\HEIC",
"OC\\Preview\\TGA",
"OC\\Preview\\SGI",
"OC\\Preview\\Movie",
"OC\\Preview\\WebP"
],
"default_phone_region": "DE",
"overwrite.cli.url": "https:\/\/cloud.bunker496.de",
"overwriteprotocol": "https",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"1": "cloud.bunker496.de",
"2": "localhost"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "31.0.2.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"updatedirectory": "\/nc-updater",
"app_install_overwrite": [
"nextcloud-aio"
],
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"upgrade.disable-web": true,
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": 30,
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"maintenance_window_start": 100,
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"files_external_allow_create_new_local": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
"\"",
"|",
"?",
"*",
"\\",
"\/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
],
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"config_is_read_only": false,
"ratelimit.protection.enabled": true,
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"maintenance": false,
"defaultapp": "",
"loglevel": 2
},
"apps": {
"activity": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "4.0.0"
},
"admin_audit": {
"types": "logging",
"enabled": "yes",
"logfile": "\/var\/www\/html\/data\/audit.log",
"installed_version": "1.21.0"
},
"announcementcenter": {
"installed_version": "7.1.0",
"types": "logging",
"enabled": "no"
},
"app_api": {
"default_daemon_config": "docker_aio",
"types": "",
"enabled": "yes",
"installed_version": "5.0.2"
},
"audioplayer": {
"installed_version": "3.4.1",
"types": "filesystem",
"enabled": "yes"
},
"backgroundjob": {
"lastjob": "9"
},
"bruteForce": {
"whitelist_1": "192.168.178.0\/24"
},
"bruteforcesettings": {
"installed_version": "3.0.0",
"types": "",
"enabled": "no"
},
"calendar": {
"types": "",
"installed_version": "5.2.0",
"enabled": "no"
},
"circles": {
"types": "filesystem,dav",
"enabled": "yes",
"installed_version": "31.0.0",
"migration_22": "1",
"migration_run": "0",
"loopback_tmp_path": "\/",
"loopback_tmp_scheme": "https",
"maintenance_run": "0",
"maintenance_update": "{\"3\":1744287302,\"2\":1744289402,\"1\":1744289402}"
},
"cloud_federation_api": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.14.0"
},
"comments": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.21.0"
},
"contacts": {
"types": "dav",
"enabled": "no",
"installed_version": "7.0.4",
"allowSocialSync": "yes"
},
"contactsinteraction": {
"types": "dav",
"enabled": "no",
"installed_version": "1.11.0"
},
"core": {
"vendor": "nextcloud",
"lastupdatedat": 1744288297,
"public_files": "files_sharing\/public.php",
"moveavatarsdone": "yes",
"previewsCleanedUp": "1",
"installedat": "1731687725.9300",
"backgroundjobs_mode": "cron",
"emailTestSuccessful": "1",
"lastcron": 1744289402,
"metadataGenerationDone": true,
"lastupdateResult": "[]",
"files_metadata": {
"photos-original_date_time": {
"value": null,
"type": "int",
"etag": "",
"indexed": true,
"editPermission": 0
},
"photos-size": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-exif": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-ifd0": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"blurhash": {
"value": null,
"type": "string",
"etag": "ee0e58a912685874f8810c0b63b5c2c8",
"indexed": false,
"editPermission": 0
},
"files-live-photo": {
"value": null,
"type": "string",
"etag": "",
"indexed": false,
"editPermission": 1
}
},
"oc.integritycheck.checker": []
},
"dashboard": {
"types": "",
"enabled": "yes",
"installed_version": "7.11.0"
},
"dav": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.33.0",
"regeneratedBirthdayCalendarsForYearFix": "yes",
"buildCalendarSearchIndex": "yes",
"buildCalendarReminderIndex": "yes",
"chunks_migrated": "1",
"builtSocialSearchIndex": "yes"
},
"deck": {
"types": "dav",
"enabled": "no",
"installed_version": "1.14.4"
},
"external": {
"sites": "***REMOVED SENSITIVE VALUE***",
"jwt_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
"jwt_token_pubkey_es256": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEGtfNIjR+rzqa9n7VSHPYQjOGb5im\nw6JkTnatFgsezePfUZxVTh3tnORYs1dByXzIYdsGXF33JO5fHw6418Jc+w==\n-----END PUBLIC KEY-----\n",
"types": "",
"max_site": 1,
"installed_version": "6.0.2",
"enabled": "yes"
},
"externalportal": {
"installed_version": "1.3.1",
"types": "",
"widgetTitle": "LinkTree",
"maxSize": "",
"extraWide": "",
"iconColorMode": "DEFAULT",
"customIconColor": "",
"showFiles": "",
"enabled": "no"
},
"federatedfilesharing": {
"types": "",
"enabled": "yes",
"installed_version": "1.21.0"
},
"federation": {
"types": "authentication",
"installed_version": "1.20.0",
"enabled": "no"
},
"files": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.3.1",
"mimetype_version": "31.0.2.1",
"default_quota": "100 GB"
},
"files_downloadlimit": {
"types": "",
"enabled": "yes",
"installed_version": "4.0.0",
"default-download-limit": 1
},
"files_fulltextsearch": {
"types": "filesystem",
"files_pdf": "1",
"files_office": "1",
"enabled": "yes",
"installed_version": "31.0.0"
},
"files_pdfviewer": {
"types": "",
"enabled": "yes",
"installed_version": "4.0.0"
},
"files_reminders": {
"types": "",
"enabled": "yes",
"installed_version": "1.4.0"
},
"files_sharing": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.23.1"
},
"files_trashbin": {
"types": "filesystem,dav",
"enabled": "yes",
"installed_version": "1.21.0"
},
"files_versions": {
"types": "filesystem,dav",
"enabled": "yes",
"installed_version": "1.24.0"
},
"firstrunwizard": {
"enabled": "yes",
"types": "",
"installed_version": "4.0.0"
},
"fulltextsearch": {
"enabled": "yes",
"types": "",
"search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
"installed_version": "31.0.0",
"cron_err_reset": "1740955803"
},
"fulltextsearch_elasticsearch": {
"enabled": "no",
"types": "",
"elastic_host": "http:\/\/elastic:b236d11e13330b026fb518f13239b6b24f16d19047806a6a@nextcloud-aio-fulltextsearch:9200",
"elastic_index": "nextcloud-aio",
"installed_version": "31.0.0"
},
"geoblocker": {
"installed_version": "0.5.16",
"types": "",
"enabled": "yes",
"chosenService": "3"
},
"group_default_quota": {
"installed_version": "0.1.11",
"types": "filesystem",
"enabled": "yes"
},
"group_everyone": {
"installed_version": "0.1.17",
"types": "authentication",
"enabled": "yes"
},
"groupfolder_tags": {
"installed_version": "1.0.0",
"types": "",
"enabled": "no"
},
"groupfolders": {
"types": "filesystem,dav",
"installed_version": "19.0.4",
"enabled": "yes"
},
"integration_discourse": {
"installed_version": "2.3.0",
"types": "",
"enabled": "no"
},
"logreader": {
"types": "logging",
"enabled": "yes",
"installed_version": "4.0.0",
"shownLevels": "[1,2,3,4,0]"
},
"lookup_server_connector": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.19.0"
},
"metadata": {
"installed_version": "0.22.0",
"types": "",
"enabled": "yes"
},
"nextcloud-aio": {
"types": "",
"enabled": "no",
"installed_version": "0.7.0"
},
"nextcloud_announcements": {
"types": "logging",
"enabled": "yes",
"installed_version": "3.0.0",
"pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
},
"notes": {
"installed_version": "4.11.0",
"types": "",
"enabled": "no"
},
"notifications": {
"types": "logging",
"enabled": "yes",
"installed_version": "4.0.0"
},
"notify_push": {
"types": "filesystem",
"installed_version": "1.0.0",
"enabled": "no",
"base_endpoint": "https:\/\/cloud.bunker496.de\/push",
"cookie": "***REMOVED SENSITIVE VALUE***"
},
"oauth2": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.19.1"
},
"password_policy": {
"types": "authentication",
"enabled": "yes",
"installed_version": "3.0.0",
"enforceNumericCharacters": "1",
"minLength": "16",
"historySize": "5",
"expiration": "365",
"maximumLoginAttempts": "5",
"enforceUpperLowerCase": "1"
},
"photos": {
"types": "dav,authentication",
"enabled": "yes",
"installed_version": "4.0.0-dev.1",
"lastPlaceMappedUser": "admin",
"lastPlaceMappingDone": "true"
},
"preview": {
"jpeg_quality": "60"
},
"previewgenerator": {
"installed_version": "5.8.0",
"types": "filesystem",
"enabled": "yes"
},
"privacy": {
"types": "",
"installed_version": "2.0.0",
"enabled": "no",
"readableLocation": "de"
},
"profile": {
"installed_version": "1.0.0",
"types": "",
"enabled": "yes"
},
"provisioning_api": {
"types": "prevent_group_restriction",
"enabled": "yes",
"installed_version": "1.21.0"
},
"quota_warning": {
"initialised": "yes",
"installed_version": "1.21.0",
"types": "filesystem",
"enabled": "yes"
},
"recommendations": {
"types": "",
"enabled": "yes",
"installed_version": "4.0.0"
},
"related_resources": {
"types": "",
"enabled": "yes",
"installed_version": "2.0.0"
},
"richdocuments": {
"installed_version": "8.6.4",
"types": "prevent_group_restriction",
"wopi_allowlist": "77.22.100.50,127.0.0.1\/8,192.168.0.0\/16,172.16.0.0\/12,10.0.0.0\/8,fd00::\/8,::1,95.33.213.171,95.33.210.14,95.33.193.93,95.33.212.44,188.192.189.0\/24",
"enabled": "yes",
"wopi_url": "https:\/\/office.bunker496.de",
"wopi_callback_url": "",
"public_wopi_url": "https:\/\/office.bunker496.de",
"disable_certificate_verification": "",
"external_apps": ""
},
"richdocumentscode": {
"installed_version": "24.4.1302",
"types": "",
"enabled": "yes"
},
"serverinfo": {
"types": "",
"enabled": "yes",
"installed_version": "3.0.0",
"cached_count_filecache": 13800,
"cached_count_storages": 11,
"token": "***REMOVED SENSITIVE VALUE***",
"size_appdata_storage": -1,
"cached_count_appdata_files": 12561
},
"settings": {
"types": "",
"enabled": "yes",
"installed_version": "1.14.0",
"profile_enabled_by_default": "0"
},
"sharebymail": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.21.0"
},
"sociallogin": {
"types": "",
"installed_version": "5.9.2",
"disable_registration": "",
"create_disabled_users": "1",
"allow_login_connect": "1",
"prevent_create_email_exists": "1",
"no_prune_user_groups": "",
"auto_create_groups": "1",
"restrict_users_wo_mapped_groups": "",
"restrict_users_wo_assigned_groups": "",
"disable_notify_admins": "",
"enabled": "yes",
"update_profile_on_login": "",
"custom_providers": "null",
"hide_default_login": "1",
"oauth_providers": "redacted by hand",
"button_text_wo_prefix": ""
},
"spreed": {
"turn_servers": "***REMOVED SENSITIVE VALUE***",
"stun_servers": "***REMOVED SENSITIVE VALUE***",
"types": "dav,prevent_group_restriction",
"signaling_servers": "***REMOVED SENSITIVE VALUE***",
"enabled": "no",
"installed_version": "20.1.5",
"project_access_invalidated": "1",
"signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
"signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***"
},
"support": {
"types": "session",
"enabled": "yes",
"installed_version": "3.0.0",
"SwitchUpdaterServerHasRun": "yes"
},
"survey_client": {
"types": "",
"enabled": "yes",
"installed_version": "3.0.0",
"last_sent": "1743591607",
"last_report": "{\"id\":\"oc4m7eyezz6w\",\"items\":[[\"server\",\"version\",\"30.0.4.1\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"8.2.27\"],[\"php\",\"memory_limit\",2147483648],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",214748364800],[\"database\",\"type\",\"pgsql\"],[\"database\",\"version\",\"PostgreSQL 16.6 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit\"],[\"database\",\"size\",44020195],[\"apps\",\"lookup_server_connector\",\"1.18.0\"],[\"apps\",\"oauth2\",\"1.18.1\"],[\"apps\",\"password_policy\",\"2.0.0\"],[\"apps\",\"files\",\"2.2.0\"],[\"apps\",\"activity\",\"3.0.0\"],[\"apps\",\"circles\",\"30.0.0\"],[\"apps\",\"cloud_federation_api\",\"1.13.0\"],[\"apps\",\"dav\",\"1.31.1\"],[\"apps\",\"files_trashbin\",\"1.20.1\"],[\"apps\",\"files_versions\",\"1.23.0\"],[\"apps\",\"sharebymail\",\"1.20.0\"],[\"apps\",\"workflowengine\",\"2.12.0\"],[\"apps\",\"comments\",\"1.20.1\"],[\"apps\",\"firstrunwizard\",\"3.0.0\"],[\"apps\",\"logreader\",\"3.0.0\"],[\"apps\",\"nextcloud_announcements\",\"2.0.0\"],[\"apps\",\"notifications\",\"3.0.0\"],[\"apps\",\"systemtags\",\"1.20.0\"],[\"apps\",\"theming\",\"2.5.0\"],[\"apps\",\"dashboard\",\"7.10.0\"],[\"apps\",\"federatedfilesharing\",\"1.20.0\"],[\"apps\",\"files_downloadlimit\",\"3.0.0\"],[\"apps\",\"files_pdfviewer\",\"3.0.0\"],[\"apps\",\"files_reminders\",\"1.3.0\"],[\"apps\",\"privacy\",\"2.0.0\"],[\"apps\",\"provisioning_api\",\"1.20.0\"],[\"apps\",\"recommendations\",\"3.0.0\"],[\"apps\",\"related_resources\",\"1.5.0\"],[\"apps\",\"serverinfo\",\"2.0.0\"],[\"apps\",\"settings\",\"1.13.0\"],[\"apps\",\"support\",\"2.0.0\"],[\"apps\",\"survey_client\",\"2.0.0\"],[\"apps\",\"text\",\"4.1.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.19.0\"],[\"apps\",\"user_status\",\"1.10.0\"],[\"apps\",\"viewer\",\"3.0.0\"],[\"apps\",\"weather_status\",\"disabled\"],[\"apps\",\"federation\",\"disabled\"],[\"apps\",\"photos\",\"3.0.2\"],[\"apps\",\"files_sharing\",\"1.22.0\"],[\"apps\",\"contactsinteraction\",\"1.11.0\"],[\"apps\",\"updatenotification\",\"disabled\"],[\"apps\",\"webhook_listeners\",\"1.1.0-dev\"],[\"apps\",\"bruteforcesettings\",\"3.0.0\"],[\"apps\",\"admin_audit\",\"1.20.0\"],[\"apps\",\"deck\",\"disabled\"],[\"apps\",\"twofactor_totp\",\"12.0.0-dev\"],[\"apps\",\"tasks\",\"disabled\"],[\"apps\",\"contacts\",\"disabled\"],[\"apps\",\"notes\",\"disabled\"],[\"apps\",\"fulltextsearch_elasticsearch\",\"disabled\"],[\"apps\",\"fulltextsearch\",\"disabled\"],[\"apps\",\"files_fulltextsearch\",\"disabled\"],[\"apps\",\"whiteboard\",\"disabled\"],[\"apps\",\"notify_push\",\"1.0.0\"],[\"apps\",\"spreed\",\"disabled\"],[\"apps\",\"richdocuments\",\"disabled\"],[\"apps\",\"calendar\",\"5.0.9\"],[\"apps\",\"app_api\",\"4.0.3\"],[\"apps\",\"nextcloud-aio\",\"0.7.0\"],[\"apps\",\"sociallogin\",\"5.7.0\"],[\"apps\",\"suspicious_login\",\"8.0.0\"],[\"apps\",\"twofactor_nextcloud_notification\",\"4.0.0\"],[\"apps\",\"groupfolders\",\"18.0.8\"],[\"apps\",\"group_everyone\",\"0.1.16\"],[\"apps\",\"geoblocker\",\"0.5.15\"],[\"stats\",\"num_files\",3514],[\"stats\",\"num_users\",4],[\"stats\",\"num_storages\",5],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",4],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",7],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",11],[\"files_sharing\",\"num_shares_user\",1],[\"files_sharing\",\"num_shares_groups\",2],[\"files_sharing\",\"num_shares_link\",0],[\"files_sharing\",\"num_shares_link_no_password\",0],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_2_5\",8],[\"files_sharing\",\"permissions_0_31\",1],[\"files_sharing\",\"permissions_1_5\",2],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}"
},
"suspicious_login": {
"types": "authentication",
"enabled": "yes",
"installed_version": "9.0.1"
},
"systemtags": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.21.1"
},
"tasks": {
"installed_version": "0.16.1",
"types": "",
"enabled": "no"
},
"text": {
"types": "dav",
"enabled": "yes",
"installed_version": "5.0.0"
},
"theming": {
"types": "logging",
"enabled": "yes",
"installed_version": "2.6.1",
"slogan": "***REMOVED SENSITIVE VALUE***",
"name": "Bunker496 Cloud",
"logoMime": "image\/png",
"url": "***REMOVED SENSITIVE VALUE***",
"cachebuster": "12",
"background_color": "#c4c4c4",
"primary_color": "#5b64b3",
"backgroundMime": "image\/jpeg",
"logoDimensions": "406x314"
},
"twofactor_backupcodes": {
"types": "",
"enabled": "yes",
"installed_version": "1.20.0"
},
"twofactor_nextcloud_notification": {
"types": "",
"enabled": "yes",
"installed_version": "5.0.0"
},
"twofactor_totp": {
"types": "",
"enabled": "yes",
"installed_version": "13.0.0-dev.0"
},
"updatenotification": {
"types": "",
"enabled": "yes",
"installed_version": "1.21.0",
"update_check_errors": 0
},
"user_status": {
"types": "",
"installed_version": "1.10.0",
"enabled": "no"
},
"viewer": {
"types": "",
"enabled": "yes",
"installed_version": "4.0.0"
},
"weather_status": {
"types": "",
"installed_version": "1.10.0",
"enabled": "no"
},
"webhook_listeners": {
"installed_version": "1.2.0",
"types": "filesystem",
"enabled": "yes"
},
"welcome": {
"installed_version": "1.2.1",
"types": "",
"enabled": "yes",
"filePath": "\/Welcome.md",
"userName": "functiondj",
"userId": "admin",
"supportUserId": "",
"supportUserName": ""
},
"whiteboard": {
"installed_version": "1.0.5",
"types": "",
"jwt_secret_key": "***REMOVED SENSITIVE VALUE***",
"enabled": "no",
"collabBackendUrl": "https:\/\/cloud.bunker496.de\/whiteboard"
},
"workflow_kitinerary": {
"installed_version": "1.7.1",
"types": "filesystem",
"enabled": "no"
},
"workflow_media_converter": {
"installed_version": "1.13.5",
"types": "",
"enabled": "yes"
},
"workflowengine": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.13.0"
}
}
}
Apps
The output of occ app:list
(if possible).
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- app_api: 5.0.2
- audioplayer: 3.4.1
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- dashboard: 7.11.0
- dav: 1.33.0
- external: 6.0.2
- federatedfilesharing: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_fulltextsearch: 31.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
- fulltextsearch: 31.0.0
- geoblocker: 0.5.16
- group_default_quota: 0.1.11
- group_everyone: 0.1.17
- groupfolders: 19.0.4
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- metadata: 0.22.0
- nextcloud_announcements: 3.0.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- previewgenerator: 5.8.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- quota_warning: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.6.4
- richdocumentscode: 24.4.1302
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- sociallogin: 5.9.2
- support: 3.0.0
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- viewer: 4.0.0
- webhook_listeners: 1.2.0
- welcome: 1.2.1
- workflow_media_converter: 1.13.5
- workflowengine: 2.13.0
Disabled:
- announcementcenter: 7.1.0 (installed 7.1.0)
- bruteforcesettings: 4.0.0 (installed 3.0.0)
- contactsinteraction: 1.12.0 (installed 1.11.0)
- encryption: 2.19.0
- federation: 1.21.0 (installed 1.20.0)
- files_external: 1.23.0
- fulltextsearch_elasticsearch: 31.0.0 (installed 31.0.0)
- groupfolder_tags: 1.0.0 (installed 1.0.0)
- notes: 4.11.0 (installed 4.11.0)
- privacy: 3.0.0 (installed 2.0.0)
- tasks: 0.16.1 (installed 0.16.1)
- user_ldap: 1.22.0
- user_status: 1.11.0 (installed 1.10.0)
- weather_status: 1.11.0 (installed 1.10.0)
Additional config
Docker compose.yaml
services:
app:
container_name: nextcloud
build:
context: .
dockerfile_inline: |
# inspired by https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/fpm/Dockerfile
# ffmpeg: video previews + transcoding, ghostscript: pdf previews, libmagick: HEIC image previews
FROM nextcloud:latest
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends ffmpeg ghostscript libmagickcore-6.q16-6-extra;
volumes:
- nextcloud_aio_nextcloud:/var/www/html
- /bunker-tank/nextcloud-datadir:/mnt/ncdata
environment:
- "POSTGRES_HOST=db"
- "POSTGRES_PORT=5432"
- "POSTGRES_PASSWORD=REDACTED"
- "POSTGRES_DB=nextcloud_database"
- "POSTGRES_USER=nextcloud"
- "NEXTCLOUD_ADMIN_USER=admin"
- "NEXTCLOUD_ADMIN_PASSWORD=REDACTED"
- "NEXTCLOUD_DATA_DIR=/mnt/ncdata"
- "PHP_UPLOAD_LIMIT=200G"
- "PHP_MEMORY_LIMIT=4096M"
- "REDIS_HOST=redis"
- "REDIS_HOST_PASSWORD=REDACTED"
extra_hosts:
- "office.bunker496.de:SOME_IP"
redis:
container_name: redis
image: nextcloud/aio-redis:latest
volumes:
- nextcloud_aio_redis:/data
environment:
REDIS_HOST_PASSWORD: REDACTED
db:
container_name: nextcloud_database
image: nextcloud/aio-postgresql:latest
volumes:
- nextcloud_aio_database:/var/lib/postgresql/data
- nextcloud_aio_database_dump:/mnt/data
environment:
- "POSTGRES_PASSWORD=REDACTED"
- "POSTGRES_DB=nextcloud_database"
- "TZ=Etc/UTC"
- "PGDATA=/var/lib/postgresql/data"
proxy:
container_name: nginx-proxy-manager
image: jc21/nginx-proxy-manager:latest
ports:
- 80:80
- 81:81
- 443:443
volumes:
- ./nginx-proxy-manager-data-bind:/data
- ./letsencrypt-bind:/etc/letsencrypt
volumes:
nextcloud_aio_nextcloud:
external: true
nextcloud_aio_database:
external: true
nextcloud_aio_database_dump:
external: true
nextcloud_aio_redis:
external: true
NGINX Proxy Manager configuration (GUI) for Nextcloud:
Scheme: http (NGINX Proxy Manager handles/terminates TLS, talks HTTP to Nextcloud)
Cache assets: enabled
Block common exploits: enabled
Websockets Support: enabled
No custom locations
SSL:
—Force SSL: enabled
—HTTP/2 Support: enabled
—HSTS Enabled: enabled
—HSTS Subdomains: disabled
Advanced:
client_body_buffer_size 512k;
proxy_read_timeout 86400s;
client_max_body_size 0;
proxy_connect_timeout 86400;
proxy_send_timeout 86400;
send_timeout 86400;