Error message OnlyOffice in log

[details=“Support intro”]

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 Server version:
    • Nextcloud 33.0.0
  • Operating system and version:
    • #1 SMP PREEMPT Debian 1:6.12.62-1+rpt1~bookworm (2026-01-19)
  • Web server and version:
    • Server version: Apache/2.4.66 (Debian)
  • Reverse proxy and version:
    • nginx version: openresty/1.27.1.2
  • PHP version:
    • PHP 8.4.18 (cli) (built: Feb 24 2026 19:12:53) (NTS)
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • prob direct after installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • OMV Container
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • nope

Configuration

Nextcloud

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "version": "33.0.0.16",
        "loglevel": 3,
        "log_rotate_size": 262144,
        "maintenance": false,
        "maintenance_window_start": 3,
        "default_locale": "DE_CH",
        "default_phone_region": "CH",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "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
        },
        "upgrade.disable-web": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "mysql.utf8mb4": true,
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "htaccess.RewriteBase": "\/",
        "trusted_domains": [
            "srv-nas-pi.kingma:8080",
            "office.kingma.ch",
            "office.king.ma"
        ],
        "overwrite.cli.url": "https:\/\/office.kingma.ch",
        "overwriteprotocol": "https",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smpttimeout": 30,
        "installed": true,
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "app_install_overwrite": []
    }
}

Apps

Enabled:

  • activity: 6.0.0-dev.0
  • admin_audit: 1.23.0
  • bookmarks: 16.1.3
  • brewmemo: 0.6.0
  • bruteforcesettings: 6.0.0-dev.0
  • calendar: 6.2.1
  • circles: 33.0.0
  • cloud_federation_api: 1.17.0
  • comments: 1.23.0
  • contacts: 8.4.1
  • contactsinteraction: 1.14.1
  • cookbook: 0.11.6
  • dashboard: 7.13.0
  • dav: 1.36.0
  • encryption: 2.21.0
  • end_to_end_encryption: 2.0.0
  • federatedfilesharing: 1.23.0
  • federation: 1.23.0
  • files: 2.5.0
  • files_downloadlimit: 5.1.0-dev.0
  • files_external: 1.25.1
  • files_pdfviewer: 6.0.0-dev.0
  • files_reminders: 1.6.0
  • files_sharing: 1.25.2
  • files_trashbin: 1.23.0
  • files_versions: 1.26.0
  • firstrunwizard: 6.0.0-dev.0
  • fulltextsearch: 33.0.0
  • groupfolders: 21.0.6
  • logreader: 6.0.0
  • lookup_server_connector: 1.21.0
  • nextcloud_announcements: 5.0.0
  • notes: 4.13.0
  • notifications: 6.0.0
  • oauth2: 1.21.0
  • onlyoffice: 10.0.0
  • password_policy: 5.0.0-dev.0
  • photos: 6.0.0-dev.0
  • privacy: 5.0.0-dev.0
  • profile: 1.2.0
  • provisioning_api: 1.23.0
  • recommendations: 6.0.0-dev.0
  • related_resources: 4.0.0-dev.0
  • richdocuments: 10.1.0
  • serverinfo: 5.0.0-dev.0
  • settings: 1.16.0
  • sharebymail: 1.23.0
  • support: 5.0.0
  • survey_client: 5.0.0-dev.0
  • suspicious_login: 11.0.0-dev.0
  • systemtags: 1.23.0
  • text: 7.0.0-dev.3
  • theming: 2.8.0
  • twofactor_backupcodes: 1.22.0
  • twofactor_nextcloud_notification: 7.0.0
  • twofactor_totp: 15.0.0-dev.0
  • updatenotification: 1.23.0
  • user_status: 1.13.0
  • viewer: 6.0.0-dev.0
  • weather_status: 1.13.0
  • webhook_listeners: 1.5.0
  • workflowengine: 2.15.0
    Disabled:
  • app_api: 33.0.0 (installed 32.0.0)
  • camerarawpreviews: 0.8.8 (installed 0.8.8)
  • documentserver_community: 0.2.1 (installed 0.2.1)
  • keeweb: 0.6.22 (installed 0.6.22)
  • user_ldap: 1.24.0 (installed 1.22.0)

Summary of the issue you are facing:

Quite a view errors in log regarding OnlyOffice see below

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":"ARLgVZnktNQL4QHZOeKH","level":3,"time":"2026-03-12T19:05:53+00:00","remoteAddr":"83.97.85.45","user":"johannes","app":"onlyoffice","method":"GET","url":"/core/preview?fileId=184876&x=250&y=250","scriptName":"/index.php","message":"getConvertedUri: from xlsx to jpeg","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","exception":{"Exception":"GuzzleHttp\\Exception\\ClientException","Message":"Client error: `POST https://collab.kingma.ch/converter?shardKey=thumb_3413690998` resulted in a `400 Bad Request` response","Code":400,"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":"{closure:{closure:{closure:GuzzleHttp\\Middleware::httpErrors():60}:61}:67}","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":"{closure:GuzzleHttp\\Promise\\Promise::settle():156}","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":290,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["post","*** sensitive parameters replaced ***",{"0":"And 3 more entries, set log level to debug to see all entries","verify":"/var/www/html/resources/config/ca-bundle.crt","timeout":"120","version":"2.0","curl":{"84":4},"headers":{"Content-type":"application/json","User-Agent":"Nextcloud-Server-Crawler/33.0.0","Accept-Encoding":"gzip"}}]},{"file":"/var/www/html/custom_apps/onlyoffice/lib/DocumentService.php","line":408,"function":"post","class":"OC\\Http\\Client\\Client","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/onlyoffice/lib/DocumentService.php","line":213,"function":"request","class":"OCA\\Onlyoffice\\DocumentService","type":"->","args":["*** sensitive parameters replaced ***","post","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/onlyoffice/lib/DocumentService.php","line":101,"function":"sendRequestToConvertService","class":"OCA\\Onlyoffice\\DocumentService","type":"->","args":["https://office.kingma.ch/apps/onlyoffice/download?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJkb3dubG9hZCIsImZpbGVJZCI6MTg0ODc2LCJ1c2VySWQiOiJqb2hhbm5lcyJ9.KMXC0uubQVsjk6jXQRjuvPDMieoC2JI4q3eIDQ7MfyI","xlsx","jpeg","thumb_3413690998",false,"*** sensitive parameters replaced ***",false]},{"file":"/var/www/html/custom_apps/onlyoffice/lib/Preview.php","line":266,"function":"getConvertedUri","class":"OCA\\Onlyoffice\\DocumentService","type":"->","args":["https://office.kingma.ch/apps/onlyoffice/download?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJkb3dubG9hZCIsImZpbGVJZCI6MTg0ODc2LCJ1c2VySWQiOiJqb2hhbm5lcyJ9.KMXC0uubQVsjk6jXQRjuvPDMieoC2JI4q3eIDQ7MfyI","xlsx","jpeg","thumb_3413690998"]},{"file":"/var/www/html/lib/private/Preview/GeneratorHelper.php","line":25,"function":"getThumbnail","class":"OCA\\Onlyoffice\\Preview","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":381,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[{"__class__":"OCA\\Onlyoffice\\Preview"},{"__class__":"OC\\Files\\Node\\File"},4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":335,"function":"generateProviderPreview","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},4096,4096,false,true,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":126,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":["*** sensitive parameters replaced ***",{"__class__":"OC\\Files\\Node\\File"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":94,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},[{"width":250,"height":250,"crop":true,"mode":"fill"}],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",true]},{"file":"/var/www/html/lib/private/PreviewManager.php","line":166,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},250,250,true,"fill","*** sensitive parameters replaced ***",true]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":166,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},250,250,true,"fill"]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":128,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},250,250,false,true,"fill",false]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":205,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[184876,250,250,false,true,"fill",false]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\PreviewController"},"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\PreviewController"},"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\PreviewController","getPreviewByFileId",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.preview.getpreviewbyfileid"}]},{"file":"/var/www/html/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/core/preview"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":111,"message":"getConvertedUri: from xlsx to jpeg","exception":"{\"class\":\"GuzzleHttp\\Exception\\ClientException\",\"message\":\"Client error: `POST https://collab.kingma.ch/converter?shardKey=thumb_3413690998` resulted in a `400 Bad Request` response\",\"code\":400,\"file\":\"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php:111\",\"trace\":\"#0 /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\\Exception\\RequestException::create(Object(GuzzleHttp\\Psr7\\Request), Object(GuzzleHttp\\Psr7\\Response), NULL, Array, NULL)\\n#1 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\\Middleware::{closure:{closure:{closure:GuzzleHttp\\Middleware::httpErrors():60}:61}:67}(Object(GuzzleHttp\\Psr7\\Response))\\n#2 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\\Promise\\Promise::callHandler(1, Object(GuzzleHttp\\Psr7\\Response), NULL)\\n#3 /var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\\Promise\\Promise::{closure:GuzzleHttp\\Promise\\Promise::settle():156}()\\n#4 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\\Promise\\TaskQueue->run(true)\\n#5 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\\Promise\\Promise->invokeWaitFn()\\n#6 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\\Promise\\Promise->waitIfPending()\\n#7 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\\Promise\\Promise->invokeWaitList()\\n#8 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\\Promise\\Promise->waitIfPending()\\n#9 /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\\Promise\\Promise->wait()\\n#10 /var/www/html/lib/private/Http/Client/Client.php(290): GuzzleHttp\\Client->request('post', 'https://collab....', Array)\\n#11 /var/www/html/custom_apps/onlyoffice/lib/DocumentService.php(408): OC\\Http\\Client\\Client->post('https://collab....', Array)\\n#12 /var/www/html/custom_apps/onlyoffice/lib/DocumentService.php(213): OCA\\Onlyoffice\\DocumentService->request('https://collab....', 'post', Array)\\n#13 /var/www/html/custom_apps/onlyoffice/lib/DocumentService.php(101): OCA\\Onlyoffice\\DocumentService->sendRequestToConvertService('https://office....', 'xlsx', 'jpeg', 'thumb_341369099...', false, NULL, false)\\n#14 /var/www/html/custom_apps/onlyoffice/lib/Preview.php(266): OCA\\Onlyoffice\\DocumentService->getConvertedUri('https://office....', 'xlsx', 'jpeg', 'thumb_341369099...')\\n#15 /var/www/html/lib/private/Preview/GeneratorHelper.php(25): OCA\\Onlyoffice\\Preview->getThumbnail(Object(OC\\Files\\Node\\File), 4096, 4096)\\n#16 /var/www/html/lib/private/Preview/Generator.php(381): OC\\Preview\\GeneratorHelper->getThumbnail(Object(OCA\\Onlyoffice\\Preview), Object(OC\\Files\\Node\\File), 4096, 4096)\\n#17 /var/www/html/lib/private/Preview/Generator.php(335): OC\\Preview\\Generator->generateProviderPreview(Object(OC\\Files\\Node\\File), 4096, 4096, false, true, 'application/vnd...', NULL)\\n#18 /var/www/html/lib/private/Preview/Generator.php(126): OC\\Preview\\Generator->getMaxPreview(Array, Object(OC\\Files\\Node\\File), 'application/vnd...', NULL)\\n#19 /var/www/html/lib/private/Preview/Generator.php(94): OC\\Preview\\Generator->generatePreviews(Object(OC\\Files\\Node\\File), Array, 'application/vnd...', true)\\n#20 /var/www/html/lib/private/PreviewManager.php(166): OC\\Preview\\Generator->getPreview(Object(OC\\Files\\Node\\File), 250, 250, true, 'fill', NULL, true)\\n#21 /var/www/html/core/Controller/PreviewController.php(166): OC\\PreviewManager->getPreview(Object(OC\\Files\\Node\\File), 250, 250, true, 'fill')\\n#22 /var/www/html/core/Controller/PreviewController.php(128): OC\\Core\\Controller\\PreviewController->fetchPreview(Object(OC\\Files\\Node\\File), 250, 250, false, true, 'fill', false)\\n#23 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(205): OC\\Core\\Controller\\PreviewController->getPreviewByFileId(184876, 250, 250, false, true, 'fill', false)\\n#24 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Core\\Controller\\PreviewController), 'getPreviewByFil...')\\n#25 /var/www/html/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Core\\Controller\\PreviewController), 'getPreviewByFil...')\\n#26 /var/www/html/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main('OC\\\\Core\\\\Control...', 'getPreviewByFil...', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\\n#27 /var/www/html/lib/base.php(1155): OC\\Route\\Router->match('/core/preview')\\n#28 /var/www/html/index.php(25): OC::handleRequest()\\n#29 {main}\"}","CustomMessage":"getConvertedUri: from xlsx to jpeg"},"id":"69b30ea2f04d6"}

Seem to have been gone since the latest update. Please close.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.