Unable to edit files (docx, pdf, etc) in office

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 34.0.0
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian GNU/Linux 13.5 (trixie) x86_64
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • traefik 3.7.5
  • PHP version (e.g, 8.3):
    • 8.3.31
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Since Nextcloud 34
  • 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:

Everytime I try to open a file in ONLYOFFICE or EuroOffice I get “Download failed”

Logs

(EuroOffice)

image

image

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": true,
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
      "host": "***REMOVED SENSITIVE VALUE***",
      "password": "***REMOVED SENSITIVE VALUE***",
      "port": 6379,
      "timeout": 3,
      "read_timeout": 10
    },
    "overwritehost": "<redacted>",
    "overwriteprotocol": "https",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
      "localhost",
      "<redacted>"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "pgsql",
    "version": "34.0.1.2",
    "overwrite.cli.url": "https:\/\/<redacted>\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "updatechecker": true,
    "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": {
      "0": "OC\\Preview\\Imaginary",
      "1": "OC\\Preview\\MarkDown",
      "2": "OC\\Preview\\MP3",
      "3": "OC\\Preview\\TXT",
      "4": "OC\\Preview\\OpenDocument",
      "5": "OC\\Preview\\Movie",
      "6": "OC\\Preview\\Krita",
      "7": "OC\\Preview\\ImaginaryPDF",
      "8": "OC\\Preview\\HEIC",
      "9": "OC\\Preview\\TIFF",
      "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***",
    "facerecognition.external_model_url": "nextcloud-aio-facerecognition:5000",
    "facerecognition.external_model_api_key": "<redacted>",
    "enabledFaceRecognitionMimetype": [
      "image\/jpeg",
      "image\/png",
      "image\/heic",
      "image\/tiff",
      "image\/webp"
    ],
    "memories.db.triggers.fcu": true,
    "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",
    "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
    "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
    "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
    "memories.vod.external": true,
    "memories.vod.connect": "nextcloud-aio-memories:47788",
    "memories.exiftool_no_local": true,
    "memories.gis_type": 2,
    "onlyoffice": {
      "editors_check_interval": 0,
      "jwt_secret": "***REMOVED SENSITIVE VALUE***",
      "jwt_header": "AuthorizationJwt"
    },
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***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"
    ],
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "updater.release.channel": "stable",
    "serverid": 445,
    "log_type_audit": "file",
    "logfile_audit": "\/var\/www\/html\/data\/audit.log",
    "app_install_overwrite": {
      "0": "metadata",
      "1": "maps",
      "3": "facerecognition",
      "4": "files_archive"
    },
    "update_channel": "stable",
    "eurooffice": {
      "editors_check_interval": 0,
      "jwt_secret": "<redacted>",
      "jwt_header": "AuthorizationJwt"
    },
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "ssl",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauth": true,
    "mail_smtpport": "465",
    "mail_smtpstreamoptions": {
      "ssl": {
        "allow_self_signed": false,
        "verify_peer": true,
        "verify_peer_name": true
      }
    },
    "DOMAIN": "<redacted>",
    "AIO_VERSION": "v13.2.1"
  }
}

Apps

Enabled:
  - activity: 7.0.0
  - admin_audit: 1.24.0
  - admincockpit: 1.3.1
  - announcementbanner: 2.4.2
  - announcementcenter: 7.4.1
  - app_api: 34.0.0
  - appointments: 2.7.4
  - approval: 3.3.0
  - appstore: 1.0.0
  - assistant: 3.4.3
  - bookmarks: 16.2.2
  - brewmemo: 0.7.0
  - bruteforcesettings: 7.0.0
  - calendar: 6.5.0
  - call_summary_bot: 3.4.0
  - camerarawpreviews: 1.1.1
  - checksum: 2.1.2
  - circles: 34.0.0
  - cloud_federation_api: 1.18.0
  - codeinjector: 1.1.3
  - command_bot: 1.2.0
  - comments: 1.24.0
  - contacts: 8.7.2
  - contactsinteraction: 1.15.0
  - context_chat: 5.4.0
  - cookbook: 0.11.7
  - countdown: 1.2.11
  - csp_editor: 2.0.0
  - dashboard: 7.14.0
  - dav: 1.39.0
  - deck: 1.18.2
  - drawio: 4.2.4
  - drop_account: 3.0.0
  - eurooffice: 11.0.0
  - external: 9.0.1
  - federatedfilesharing: 1.24.0
  - federation: 1.24.0
  - files: 2.6.0
  - files_accesscontrol: 5.0.0
  - files_antivirus: 6.3.0
  - files_archive: 1.2.8
  - files_automatedtagging: 5.0.0
  - files_downloadlimit: 5.2.0-dev.0
  - files_external: 1.26.0
  - files_lock: 34.0.0
  - files_pdfviewer: 7.0.0-dev.0
  - files_reminders: 1.7.0
  - files_retention: 5.0.0
  - files_scripts: 5.0.1
  - files_sharing: 1.26.0
  - files_trashbin: 1.24.0
  - files_versions: 1.27.0
  - files_vrmviewer: 1.0.0
  - files_zip: 3.0.0
  - firstrunwizard: 7.0.0-dev.0
  - forms: 5.3.2
  - groupfolders: 22.0.1
  - htmlviewer: 34.0.0
  - integration_giphy: 2.2.1
  - integration_mastodon: 5.1.0
  - integration_onedrive: 3.5.1
  - integration_zimbra: 1.0.17
  - jsloader: 2.1.0
  - libresign: 14.0.1
  - linkboard: 1.6.12
  - logcleaner: 1.5.5
  - login_notes: 1.8.1
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - mail: 5.10.3
  - maps: 1.7.1
  - markdownreadme: 1.0.2
  - metadata: 0.24.0
  - music: 3.1.0
  - news: 28.6.0
  - nextcloud-aio: 0.8.0
  - nextcloud_announcements: 6.0.0
  - notes: 6.0.1
  - notifications: 7.0.0-dev.1
  - notify_push: 1.3.3
  - oauth2: 1.22.0
  - office: 1.0.0
  - pantry: 0.18.1
  - password_policy: 6.0.0-dev.0
  - passwords: 2026.6.10
  - passwords_handbook: 2026.6.20
  - permissions_overwrite: 0.1.17
  - phonetrack: 1.2.0
  - photos: 7.0.0
  - polls: 9.1.4
  - privacy: 6.0.0-dev.1
  - profile: 1.3.0
  - profile_fields: 4.0.0
  - provisioning_api: 1.24.0
  - qownnotesapi: 26.5.0
  - quota_warning: 1.24.0
  - recognize: 12.0.0
  - recommendations: 7.0.0
  - related_resources: 5.0.0-dev.0
  - root_cache_cleaner: 0.1.11
  - serverinfo: 6.0.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - spreed: 24.0.1
  - support: 6.0.0
  - survey_client: 6.0.0-dev.0
  - suspicious_login: 12.0.0-dev.0
  - systemtags: 1.24.0
  - tables: 2.2.0
  - talk_matterbridge: 1.34.1026000
  - tasks: 0.18.0
  - teamhub: 3.82.0
  - text: 8.0.0
  - theming: 2.9.0
  - threedviewer: 3.3.0
  - twofactor_backupcodes: 1.23.0
  - twofactor_nextcloud_notification: 8.0.0
  - twofactor_totp: 16.0.0
  - twofactor_webauthn: 2.7.0
  - updatenotification: 1.24.0
  - uppush: 2.5.0
  - user_ldap: 1.25.0
  - user_oidc: 8.10.1
  - user_status: 1.14.0
  - user_usage_report: 5.0.0
  - viewer: 7.0.0-dev.0
  - weather_status: 1.14.0
  - webhook_listeners: 1.6.0
  - whiteboard: 1.5.9
  - workflowengine: 2.16.0
Disabled:
  - agenda_bot: 1.6.1 (installed 1.6.1)
  - caniupdate: 0.2.0 (installed 0.2.0)
  - collectives: 4.4.2 (installed 4.4.2)
  - encryption: 2.22.0
  - epubviewer: 1.9.2 (installed 1.9.2)
  - externalportal: 2.1.0 (installed 2.1.0)
  - facerecognition: 0.9.70
  - files_bpm: 1.8.2 (installed 1.8.2)
  - files_emailviewer: 0.1.6 (installed 0.1.6)
  - fileslibreofficeedit: 2.0.1 (installed 2.0.1)
  - gpxpod: 8.2.1 (installed 8.2.1)
  - intros: 1.2.1 (installed 1.2.1)
  - memories: 8.0.1 (installed 8.0.1)
  - mydash: 1.0.10
  - previewgenerator: 5.13.0 (installed 5.13.0)
  - side_menu: 5.3.0 (installed 5.3.0)
  - terms_of_service: 4.7.0 (installed 4.7.0)
  - theming_customcss: 1.20.0 (installed 1.20.0)
  - workflow_ocr: 1.34.0 (installed 1.34.0)

Latest update seem to have repaired Office.