PDF Export Broken (Creates 0 byte files)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

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 :heart:

Nextcloud version (eg, 20.0.5): 25.0.6
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.2 LTS
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0 (Ubuntu)
PHP version (eg, 7.4): PHP 8.1.18 (FPM)

The issue you are facing:

Exporting a document in Collabora creates an empty (zero bytes) file.

Collabora Online - Built-in CODE Server: 22.5.1301

Nextcloud Office: 7.1.3

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Create a new document.
  2. Add some text.
  3. Click File > Download As > PDF Document

The output of your Nextcloud log in Admin > Logging:

No output

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "**REMOVED SENSITIVE VALUE***",
            "**REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "tempdirectory": "\/mnt\/ncdata\/__temp",
        "skeletondirectory": "\/mnt\/ncdata\/__skeleton",
        "templatedirectory": "\/mnt\/ncdata\/__templates",
        "dbtype": "pgsql",
        "version": "25.0.6.1",
        "overwrite.cli.url": "https:\/\/**REMOVED SENSITIVE VALUE***\/",
        "htaccess.RewriteBase": "\/",
        "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***",
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "loglevel": 2,
        "logtimezone": "Australia\/Melbourne",
        "mail_smtpmode": "smtp",
        "remember_login_cookie_lifetime": 0,
        "log_rotate_size": "10485760",
        "trashbin_retention_obligation": "auto, 14",
        "versions_retention_obligation": "auto, 365",
        "simpleSignUpLink.shown": false,
        "login_form_autocomplete": true,
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "6379",
            "dbindex": "0",
            "timeout": "1.5"
        },
        "maintenance": false,
        "default_phone_region": "AU",
        "default_locale": "en_AU",
        "force_locale": "en_AU",
        "default_language": "en",
        "force_language": "en",
        "defaultapp": "activity,files",
        "activity_expire_days": 180,
        "session_lifetime": 14400,
        "session_keepalive": false,
        "auth.webauthn.enabled": false,
        "overwriteprotocol": "https",
        "app_install_overwrite": [
            "activitylog",
            "files_readmemd",
            "files_texteditor",
            "integration_whiteboard",
            "extract",
            "impersonate"
        ],
        "updater.release.channel": "stable",
        "theme": "",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_CF_CONNECTING_IP"
        ],
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
    },
    "apps": {
        "activity": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.17.0",
            "notify_notification_group_settings": "1",
            "notify_email_favorite": "0",
            "notify_stream_file_changed": "1",
            "notify_email_file_changed": "0",
            "notify_stream_file_created": "1",
            "notify_stream_favorite": "1",
            "notify_email_file_created": "0",
            "notify_stream_file_deleted": "1",
            "notify_email_file_deleted": "0",
            "notify_stream_file_favorite": "0",
            "notify_stream_file_restored": "1",
            "notify_email_file_restored": "0",
            "notify_email_announcementcenter": "1",
            "notify_stream_comments": "1",
            "notify_email_comments": "0",
            "notify_stream_file_downloaded": "1",
            "notify_email_file_downloaded": "0",
            "notify_notification_security": "1",
            "notify_notification_favorite": "0",
            "notify_notification_file_changed": "0",
            "notify_stream_shared": "1",
            "notify_email_shared": "0",
            "notify_stream_remote_share": "1",
            "notify_email_remote_share": "0",
            "notify_stream_public_links": "1",
            "notify_email_public_links": "0",
            "notify_stream_calendar": "1",
            "notify_email_calendar": "0",
            "notify_stream_calendar_event": "1",
            "notify_email_calendar_event": "0",
            "notify_stream_calendar_todo": "1",
            "notify_email_calendar_todo": "0",
            "notify_stream_spreed": "1",
            "notify_email_spreed": "1",
            "notify_stream_systemtags": "1",
            "notify_email_systemtags": "0",
            "notify_setting_selfemail": "0",
            "notify_setting_batchtime": "0",
            "notify_notification_calendar_event": "0",
            "notify_notification_file_favorite_changed": "1",
            "notify_email_file_favorite_changed": "0",
            "notify_notification_calendar": "0",
            "notify_notification_calendar_todo": "0",
            "notify_notification_file_downloaded": "0",
            "notify_notification_shared": "1",
            "notify_notification_remote_share": "0",
            "notify_notification_public_links": "0",
            "notify_notification_systemtags": "0",
            "notify_setting_self": "0",
            "notify_notification_comments": "1",
            "notify_notification_announcementcenter": "1",
            "notify_notification_personal_settings": "1"
        },
        "activitylog": {
            "installed_version": "0.0.1",
            "types": "",
            "enabled": "no"
        },
        "admin_audit": {
            "logfile": "\/var\/log\/nextcloud\/audit.log",
            "installed_version": "1.15.0",
            "types": "logging",
            "enabled": "yes"
        },
        "afterlogic": {
            "installed_version": "1.2.3",
            "types": "",
            "afterlogic-url": "https:\/\/lite.afterlogic.com\/",
            "afterlogic-path": "https:\/\/lite.afterlogic.com\/",
            "enabled": "no"
        },
        "announcementcenter": {
            "admin_groups": "[\"admin\",\"Office Admin\"]",
            "types": "logging",
            "enabled": "yes",
            "installed_version": "6.5.1"
        },
        "apporder": {
            "force": "true",
            "types": "",
            "enabled": "no",
            "installed_version": "0.15.0",
            "hidden": "[]",
            "order": "[\"\/apps\/activity\/\",\"\/apps\/files\/\",\"\/apps\/calendar\/\",\"\/apps\/deck\/\",\"\/apps\/tasks\/\",\"\/apps\/notes\/\",\"\/apps\/forms\/\",\"\/apps\/polls\/\",\"\/apps\/photos\/\",\"\/apps\/external\/18\",\"\/apps\/external\/2\",\"\/apps\/external\/17\",\"https:\/\/**REMOVED SENSITIVE VALUE***\",\"https:\/\/**REMOVED SENSITIVE VALUE***\/webmail\/\",\"https:\/\/**REMOVED SENSITIVE VALUE***\/cfg-login\",\"\/apps\/passwords\/\",\"\/apps\/announcementcenter\/\"]"
        },
        "backgroundjob": {
            "lastjob": "1277"
        },
        "bookmarks": {
            "enabled": "no",
            "installed_version": "2.3.4",
            "types": "",
            "privacy.enableScraping": "true",
            "performance.maxBookmarksperAccount": "100",
            "previews.screenly.url": "http:\/\/screeenly.com\/api\/v1",
            "previews.screenly.token": "**REMOVED SENSITIVE VALUE***"
        },
        "bruteforcesettings": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.5.0"
        },
        "calendar": {
            "enabled": "yes",
            "types": "",
            "installed_version": "4.3.3"
        },
        "camerarawpreviews": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "0.8.1"
        },
        "checksum": {
            "installed_version": "0.4.4",
            "types": "filesystem",
            "enabled": "no"
        },
        "circles": {
            "loopback_tmp_scheme": "https",
            "loopback_tmp_path": "\/",
            "maintenance_run": "0",
            "maintenance_update": "{\"maximum\":3,\"3\":1633333210,\"2\":1633334413,\"1\":1633334710,\"4\":1633312817,\"5\":1633316403}",
            "installed_version": "22.1.1",
            "types": "filesystem,dav",
            "enabled": "no"
        },
        "cloud_federation_api": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.8.0"
        },
        "cms_pico": {
            "limit_groups": "[\"admin\"]",
            "installed_version": "1.0.21",
            "types": "filesystem",
            "enabled": "yes",
            "link_mode": "2",
            "system_templates": "{\"empty\":{\"name\":\"empty\",\"type\":1,\"compat\":true},\"sample_pico\":{\"name\":\"sample_pico\",\"type\":1,\"compat\":true}}",
            "themes_etag": "f8MtlBwmhQ",
            "system_themes": "{\"default\":{\"name\":\"default\",\"type\":1,\"compat\":true}}",
            "custom_themes": "{\"**REMOVED SENSITIVE VALUE***\":{\"name\":\"**REMOVED SENSITIVE VALUE***\",\"type\":2,\"compat\":true}}",
            "plugins_etag": "eCMwfSgSGE",
            "system_plugins": "{\"PicoDeprecated\":{\"name\":\"PicoDeprecated\",\"type\":1,\"compat\":true}}"
        },
        "comments": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "contacts": {
            "types": "dav",
            "enabled": "no",
            "installed_version": "4.0.2"
        },
        "contactsinteraction": {
            "enabled": "no",
            "installed_version": "1.0.0",
            "types": "dav"
        },
        "core": {
            "installedat": "1581302459.9011",
            "vendor": "nextcloud",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "public_files": "files_sharing\/public.php",
            "oc.integritycheck.checker": "[]",
            "updater.secret.created": "1682779332",
            "backgroundjobs_mode": "cron",
            "shareapi_default_internal_expire_date": "no",
            "enterpriseLogoChecked": "yes",
            "shareapi_enable_link_password_by_default": "yes",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "theming.variables": "a882332af583f61646900bb00490e0b9",
            "lastupdatedat": "1683575562",
            "shareapi_public_link_disclaimertext": "**REMOVED SENSITIVE VALUE***",
            "lastupdateResult": "{\"version\":\"26.0.1.1\",\"versionstring\":\"Nextcloud 26.0.1\",\"url\":\"https:\\\/\\\/download.nextcloud.com\\\/server\\\/releases\\\/nextcloud-26.0.1.zip\",\"web\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/26\\\/admin_manual\\\/maintenance\\\/upgrade.html\",\"changes\":\"https:\\\/\\\/updates.nextcloud.com\\\/changelog_server\\\/?version=26.0.1\",\"autoupdater\":\"1\",\"eol\":\"0\"}",
            "lastcron": "1683576005"
        },
        "dashboard": {
            "installed_version": "7.0.0",
            "types": "",
            "enabled": "no"
        },
        "dav": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.24.0",
            "generateBirthdayCalendar": "no",
            "chunks_migrated": "1",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes",
            "sendEventRemindersPush": "yes"
        },
        "deck": {
            "installed_version": "1.8.3",
            "types": "dav",
            "enabled": "yes"
        },
        "drawio": {
            "installed_version": "2.1.1",
            "enabled": "yes",
            "types": "filesystem",
            "DrawioUrl": "https:\/\/draw.**REMOVED SENSITIVE VALUE***",
            "DrawioTheme": "atlas",
            "DrawioOffline": "yes",
            "DrawioXml": "no",
            "DrawioLang": "auto",
            "DrawioAutosave": "yes"
        },
        "drop_account": {
            "installed_version": "0.1.0",
            "types": "",
            "enabled": "no"
        },
        "event_update_notification": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": "logging,dav"
        },
        "external": {
            "enabled": "yes",
            "types": "",
            "installed_version": "5.0.2",
            "max_site": "21",
            "sites": "***REMOVED SENSITIVE VALUE***",
            "jwt_token_privkey_es256": "**REMOVED SENSITIVE VALUE***"
        },
        "extract": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.3.5"
        },
        "federatedfilesharing": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "federation": {
            "installed_version": "1.8.0",
            "types": "authentication",
            "enabled": "no"
        },
        "files": {
            "types": "filesystem",
            "enabled": "yes",
            "cronjob_scan_files": "500",
            "installed_version": "1.20.1",
            "default_quota": "2 GB",
            "max_chunk_size": "12582912",
            "watermark_shareAll": "no",
            "watermark_shareRead": "no",
            "watermark_linkSecure": "no",
            "watermark_linkRead": "no",
            "watermark_linkAll": "no",
            "watermark_linkTags": "no",
            "watermark_linkTagsList": "",
            "watermark_allGroups": "no",
            "watermark_allGroupsList": "",
            "watermark_allTags": "no",
            "watermark_allTagsList": "",
            "watermark_text": "",
            "watermark_enabled": "no"
        },
        "files_accesscontrol": {
            "types": "filesystem",
            "installed_version": "1.10.2",
            "enabled": "no"
        },
        "files_automatedtagging": {
            "types": "filesystem",
            "installed_version": "1.10.1",
            "enabled": "no"
        },
        "files_downloadactivity": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.16.0"
        },
        "files_external": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": "filesystem"
        },
        "files_fulltextsearch": {
            "installed_version": "1.4.1",
            "types": "filesystem",
            "enabled": "no",
            "files_local": "1",
            "files_external": "2",
            "files_group_folders": "0",
            "files_encrypted": "0",
            "files_federated": "0",
            "files_size": "20",
            "files_pdf": "1",
            "files_office": "1",
            "files_image": "0",
            "files_audio": "0"
        },
        "files_fulltextsearch_tesseract": {
            "installed_version": "1.4.0",
            "types": "",
            "tesseract_enabled": "1",
            "tesseract_psm": "4",
            "tesseract_lang": "eng",
            "tesseract_pdf": "0",
            "enabled": "no"
        },
        "files_linkeditor": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.1.14"
        },
        "files_pdfviewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.6.0"
        },
        "files_readmemd": {
            "installed_version": "2.0.0",
            "disable_workspace": "true",
            "types": "filesystem",
            "show_asciidoc": "false",
            "show_html": "false",
            "show_title": "true",
            "auto_refresh": "false",
            "fileslist_header": "[\"HEADER\"]",
            "fileslist_footer": "[\"README\"]",
            "yellow_back": "false",
            "enabled": "yes"
        },
        "files_rightclick": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.4.0"
        },
        "files_sharing": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.17.0",
            "outgoing_server2server_share_enabled": "no",
            "incoming_server2server_share_enabled": "no",
            "lookupServerEnabled": "no",
            "lookupServerUploadEnabled": "no"
        },
        "files_texteditor": {
            "installed_version": "2.15.0",
            "enabled": "yes",
            "types": ""
        },
        "files_trackdownloads": {
            "installed_version": "1.9.0",
            "types": "filesystem",
            "enabled": "no"
        },
        "files_trashbin": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "files_versions": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.18.0"
        },
        "firstrunwizard": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.14.0"
        },
        "forms": {
            "types": "",
            "enabled": "yes",
            "installed_version": "3.2.0"
        },
        "fulltextsearch": {
            "installed_version": "1.4.1",
            "types": "",
            "search_platform": "",
            "app_navigation": "1",
            "enabled": "no"
        },
        "fulltextsearch_elasticsearch": {
            "installed_version": "1.5.0",
            "types": "",
            "enabled": "no"
        },
        "group_everyone": {
            "installed_version": "0.1.4",
            "types": "authentication",
            "enabled": "no"
        },
        "groupfolders": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "13.1.3"
        },
        "impersonate": {
            "enabled": "yes",
            "types": "",
            "installed_version": "1.12.0"
        },
        "integration_whiteboard": {
            "installed_version": "0.0.14",
            "types": "",
            "enabled": "yes"
        },
        "issuetemplate": {
            "installed_version": "0.6.0",
            "types": "",
            "enabled": "no"
        },
        "jitsi": {
            "jitsi_server_url": "**REMOVED SENSITIVE VALUE***",
            "jwt_issuer": "",
            "jwt_secret": "",
            "jwt_app_id": "",
            "help_link": "",
            "installed_version": "0.13.0",
            "display_join_using_the_jitsi_app": "1",
            "enabled": "no",
            "types": "",
            "jwt_audience": ""
        },
        "ldap_write_support": {
            "installed_version": "1.2.1",
            "types": "",
            "enabled": "no"
        },
        "libresign": {
            "installed_version": "2.4.5",
            "enabled": "no",
            "types": ""
        },
        "logreader": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.10.0",
            "levels": "00011"
        },
        "lookup_server_connector": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.13.0"
        },
        "mail": {
            "types": "",
            "installed_version": "1.11.6",
            "enabled": "no"
        },
        "maps": {
            "types": "filesystem",
            "enabled": "no",
            "installed_version": "0.1.9"
        },
        "metadata": {
            "installed_version": "0.18.0",
            "types": "",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "installed_version": "1.7.0",
            "types": "logging",
            "enabled": "no",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
        },
        "notes": {
            "types": "",
            "enabled": "yes",
            "installed_version": "4.7.2"
        },
        "notifications": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.13.1"
        },
        "oauth2": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.13.0"
        },
        "ocr": {
            "types": "",
            "installed_version": "6.0.23",
            "enabled": "no"
        },
        "onlyoffice": {
            "enabled": "no",
            "DocumentServerInternalUrl": "",
            "jwt_secret": "",
            "StorageUrl": "",
            "sameTab": "false",
            "groups": "[]",
            "customizationChat": "true",
            "customizationCompactHeader": "true",
            "customizationFeedback": "true",
            "customizationHelp": "true",
            "DocumentServerUrl": "https:\/\/**REMOVED SENSITIVE VALUE***\/",
            "editFormats": "{\"csv\":\"true\",\"odp\":\"true\",\"ods\":\"true\",\"odt\":\"true\",\"rtf\":\"true\",\"txt\":\"false\"}",
            "customizationToolbarNoTabs": "false",
            "defFormats": "{\"csv\":\"true\",\"doc\":\"true\",\"docm\":\"true\",\"docx\":\"true\",\"dotx\":\"true\",\"epub\":\"false\",\"html\":\"false\",\"odp\":\"true\",\"ods\":\"true\",\"odt\":\"true\",\"pdf\":\"false\",\"potm\":\"false\",\"potx\":\"true\",\"ppsm\":\"true\",\"ppsx\":\"true\",\"ppt\":\"true\",\"pptm\":\"true\",\"pptx\":\"true\",\"rtf\":\"true\",\"txt\":\"false\",\"xls\":\"true\",\"xlsm\":\"true\",\"xlsx\":\"true\",\"xltm\":\"true\",\"xltx\":\"true\"}",
            "customizationReviewDisplay": "markup",
            "demo": "{\"available\":false,\"enabled\":false,\"start\":{\"date\":\"2020-02-10 04:00:18.586456\",\"timezone_type\":3,\"timezone\":\"UTC\"}}",
            "settings_error": "",
            "installed_version": "7.5.4",
            "verify_peer_off": "false",
            "types": "prevent_group_restriction"
        },
        "password_policy": {
            "enabled": "yes",
            "types": "authentication",
            "enforceUpperLowerCase": "1",
            "enforceNumericCharacters": "1",
            "enforceSpecialCharacters": "1",
            "enforceHaveIBeenPwned": "1",
            "maximumLoginAttempts": "4",
            "minLength": "12",
            "expiration": "365",
            "historySize": "0",
            "installed_version": "1.15.0"
        },
        "passwords": {
            "settings\/mail\/shares": "1",
            "backup\/update\/restored": "0",
            "survey\/server\/notification": "1630863004",
            "migration\/customFields": "2020.12.2",
            "types": "",
            "passwords\/localdb\/type": "hibp",
            "enabled": "[\"Office Admin\",\"admin\"]",
            "installed_version": "2023.5.30",
            "service\/favicon\/bi\/counter": "36:1:0",
            "service\/favicon": "local",
            "service\/preview": "screeenly",
            "settings\/password\/security\/hash": "30",
            "cron\/php\/version\/id": "80118",
            "cron\/php\/version\/string": "8.1.18",
            "web\/php\/version\/id": "80118",
            "web\/php\/version\/string": "8.1.18",
            "SSEv1ServerKey": "**REMOVED SENSITIVE VALUE***",
            "survey\/server\/mode": "0",
            "service\/preview\/screeenly\/key": "**REMOVED SENSITIVE VALUE***",
            "survey\/server\/week": "35",
            "legacy_api_checkpoint": "1635248522",
            "entity\/purge\/timeout": "0",
            "service\/words": "local"
        },
        "phonetrack": {
            "installed_version": "0.6.2",
            "types": "",
            "enabled": "no"
        },
        "photos": {
            "enabled": "yes",
            "types": "dav,authentication",
            "installed_version": "2.0.1"
        },
        "polls": {
            "installed_version": "5.0.5",
            "enabled": "yes",
            "types": ""
        },
        "previewgenerator": {
            "enabled": "no",
            "types": "filesystem",
            "installed_version": "3.1.1"
        },
        "privacy": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.0",
            "readableLocation": "au",
            "fullDiskEncryptionEnabled": "1"
        },
        "provisioning_api": {
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "quota_warning": {
            "enabled": "yes",
            "types": "filesystem",
            "installed_version": "1.16.0",
            "info_email": "yes",
            "warning_email": "yes",
            "alert_email": "yes"
        },
        "rainloop": {
            "rainloop-autologin-with-email": "",
            "enabled": "no",
            "installed_version": "6.1.0",
            "types": "",
            "rainloop-autologin": ""
        },
        "ransomware_protection": {
            "types": "logging",
            "installed_version": "1.14.0",
            "enabled": "yes",
            "notes_include_biased": "yes"
        },
        "recommendations": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.4.0"
        },
        "related_resources": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.0.4"
        },
        "richdocuments": {
            "doc_format": "ooxml",
            "installed_version": "7.1.3",
            "enabled": "yes",
            "types": "prevent_group_restriction",
            "public_wopi_url": "https:\/\/**REMOVED SENSITIVE VALUE***\/apps\/richdocumentscode\/proxy.php?req=",
            "external_apps": "Public Access:**REMOVED SENSITIVE VALUE***,",
            "canonical_webroot": "",
            "wopi_url": "https:\/\/**REMOVED SENSITIVE VALUE***\/apps\/richdocumentscode\/proxy.php?req=",
            "disable_certificate_verification": "yes"
        },
        "richdocumentscode": {
            "types": "",
            "enabled": "yes",
            "installed_version": "22.5.1301"
        },
        "serverinfo": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.15.0",
            "cached_count_storages": "24",
            "cached_count_filecache": "147042"
        },
        "settings": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.7.0"
        },
        "sharebymail": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.15.0",
            "enforcePasswordProtection": "yes"
        },
        "socialsharing_email": {
            "enabled": "no",
            "installed_version": "2.0.0",
            "types": ""
        },
        "spreed": {
            "types": "prevent_group_restriction",
            "installed_version": "8.0.8",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "enabled": "no",
            "conversations_files_public_shares": "0",
            "project_access_invalidated": "1",
            "allowed_groups": "[\"Everyone\"]",
            "signaling_servers": "***REMOVED SENSITIVE VALUE***",
            "turn_servers": "***REMOVED SENSITIVE VALUE***",
            "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***",
            "conversations_files": "0"
        },
        "support": {
            "installed_version": "1.1.0",
            "types": "session",
            "enabled": "no"
        },
        "survey_client": {
            "installed_version": "1.6.0",
            "types": "",
            "enabled": "no"
        },
        "suspicious_login": {
            "types": "authentication",
            "installed_version": "3.2.1",
            "enabled": "no"
        },
        "systemtags": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "tasks": {
            "installed_version": "0.14.5",
            "types": "",
            "enabled": "yes"
        },
        "telephoneprovider": {
            "installed_version": "1.0.3",
            "types": "",
            "enabled": "no"
        },
        "terms_of_service": {
            "installed_version": "1.5.0",
            "types": "filesystem",
            "enabled": "no"
        },
        "text": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "3.6.0"
        },
        "theming": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.0.1",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "faviconMime": "image\/png",
            "logoMime": "image\/svg+xml",
            "color": "#C5309F",
            "cachebuster": "63",
            "name": "**REMOVED SENSITIVE VALUE***",
            "backgroundMime": "image\/jpeg",
            "url": "***REMOVED SENSITIVE VALUE***",
            "logoheaderMime": "image\/svg+xml"
        },
        "timetracker": {
            "types": "",
            "installed_version": "0.0.53",
            "enabled": "no"
        },
        "twofactor_backupcodes": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.14.0"
        },
        "updatenotification": {
            "richdocuments": "7.1.3",
            "types": "",
            "enabled": "yes",
            "forms": "3.2.0",
            "installed_version": "1.15.0",
            "bruteforcesettings": "2.4.0",
            "ransomware_protection": "1.14.0",
            "previewgenerator": "2.3.0",
            "polls": "5.0.5",
            "user_usage_report": "1.3.1",
            "update_check_errors": "0",
            "impersonate": "1.12.0",
            "files_downloadactivity": "1.16.0",
            "apporder": "0.15.0",
            "uploaddetails": "0.1.3",
            "mail": "1.9.1",
            "contacts": "3.2.0",
            "ocr": "6.0.23",
            "spreed": "8.0.5",
            "files_linkeditor": "1.1.14",
            "files_accesscontrol": "1.9.1",
            "tasks": "0.14.5",
            "notes": "4.7.2",
            "files_readmemd": "2.0.0",
            "user_retention": "1.1.3",
            "files_automatedtagging": "1.8.3",
            "extract": "1.3.5",
            "passwords": "2023.5.30",
            "groupfolders": "13.1.3",
            "cms_pico": "1.0.20",
            "timetracker": "0.0.51",
            "drawio": "2.1.1",
            "deck": "1.7.3",
            "metadata": "0.18.0",
            "calendar": "4.3.2",
            "suspicious_login": "3.2.1",
            "camerarawpreviews": "0.8.1",
            "event_update_notification": "2.1.0",
            "announcementcenter": "6.5.1",
            "richdocumentscode": "22.5.1301",
            "external": "5.0.2",
            "core": "26.0.1.1",
            "quota_warning": "1.16.0",
            "onlyoffice": "7.4.4",
            "files_texteditor": "2.15.0"
        },
        "uploaddetails": {
            "types": "",
            "enabled": "no",
            "installed_version": "0.1.3"
        },
        "user_retention": {
            "enabled": "no",
            "types": "prevent_group_restriction",
            "installed_version": "1.4.0",
            "excluded_groups": "[]",
            "user_days": "0"
        },
        "user_status": {
            "installed_version": "1.0.1",
            "types": "",
            "enabled": "no"
        },
        "user_usage_report": {
            "installed_version": "1.3.2",
            "types": "filesystem",
            "enabled": "no"
        },
        "video_converter": {
            "enabled": "no",
            "installed_version": "0.1.3",
            "types": ""
        },
        "viewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "weather_status": {
            "installed_version": "1.0.0",
            "types": "",
            "enabled": "no"
        },
        "whiteboard": {
            "installed_version": "0.0.3",
            "types": "",
            "enabled": "no"
        },
        "workflowengine": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.7.0"
        }
    }
}

The output of your Apache/nginx/system log in /var/log/____:

cat /var/log/nginx/error.log
[empty]

I just add my few points here - this issue is as old as the Collabora on Nextcloud - can’t export PDFs nor print. Tried to install fonts, install MS fonts repo, no fun.
My installation is clean, no Docker - NC 27.1.1, NC Office 8.2.0, PHP 8.1.2, PGSQL 14.9