Trouble to download via "download as" from File menu

Document Server version: Document server 7.
Type of installation of the Document Server (docker, deb/rpm, exe): Docker
OS: CentOS7
Browser version: Firefox 115.4.0esr (64 bits)

I have integrated OnlyOffice with my ECM (Electronic Content Management) application (using the WOPI protocol).

when I try to download the document (docx) via “download as” from File menu, any error logged and any downloaded document exists in my download directory !
is there any addittional configuration on DocumentServer allowing to download document in download directory ?

— logs

[2024-02-20T11:13:23.030] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - Start downloadAs: {"c":"save","id":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userid":"ahassain","tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIzYjlmMjE2OS00MmQyLTQ2MjQtYjk1NS1jZTM1MWE5NzhkYjBfMTcwODQyNzU3NDEyMyIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzA4NDI3NTc2MTA5fSwiaWF0IjoxNzA4NDI3NTc2LCJleHAiOjE3MTEwMTk1NzZ9.h3z4qAGdkKLg_tSp8NYHDK5mhZj8a2YvsQMpEaNHXTE","outputformat":65,"title":"GED_Mocator_ Note de cadrage.docx","nobase64":true,"savetype":3,"saveindex":1,"userconnectionid":"ahassain2"}
[2024-02-20T11:13:23.031] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - checkJwt success: decoded = {"document":{"key":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","permissions":{"edit":true,"copy":true,"print":false}},"editorConfig":{"user":{"id":"ahassain","name":"Ahassain","index":2},"ds_view":false,"ds_isCloseCoAuthoring":false,"ds_sessionTimeConnect":1708427576109},"iat":1708427576,"exp":1711019576}
[2024-02-20T11:13:23.041] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - End downloadAs: {"type":"save","status":"ok","data":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967"}
[2024-02-20T11:13:23.246] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - receiveTask start: {"ctx":{"logger":{"category":"nodeJS","context":{"TENANT":"localhost","DOCID":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","USERID":"userId"},"callStackSkipIndex":0},"tenant":"localhost","docId":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userId":"userId"},"cmd":{"c":"save","id":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userid":"ahassain","userindex":2,"tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIzYjlmMjE2OS00MmQyLTQ2MjQtYjk1NS1jZTM1MWE5NzhkYjBfMTcwODQyNzU3NDEyMyIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzA4NDI3NTc2MTA5fSwiaWF0IjoxNzA4NDI3NTc2LCJleHAiOjE3MTEwMTk1NzZ9.h3z4qAGdkKLg_tSp8NYHDK5mhZj8a2YvsQMpEaNHXTE","data":null,"title":"GED_Mocator_ Note de cadrage.docx","outputformat":65,"outputpath":"output.docx","savetype":3,"saveindex":1,"status_info":0,"savekey":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967","userconnectionid":"ahassain2","nobase64":true}}
[2024-02-20T11:13:23.252] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - receiveTask publish: {"type":"save","status":"ok"}
[2024-02-20T11:13:23.252] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - receiveTask end
[2024-02-20T11:13:23.253] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - pubsub message start:{"type":7,"ctx":{"logger":{"category":"nodeJS","context":{"TENANT":"localhost","DOCID":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","USERID":"userId"},"callStackSkipIndex":0},"tenant":"localhost","docId":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userId":"userId"},"cmd":{"c":"save","id":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userid":"ahassain","userindex":2,"tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIzYjlmMjE2OS00MmQyLTQ2MjQtYjk1NS1jZTM1MWE5NzhkYjBfMTcwODQyNzU3NDEyMyIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzA4NDI3NTc2MTA5fSwiaWF0IjoxNzA4NDI3NTc2LCJleHAiOjE3MTEwMTk1NzZ9.h3z4qAGdkKLg_tSp8NYHDK5mhZj8a2YvsQMpEaNHXTE","data":null,"title":"GED_Mocator_ Note de cadrage.docx","outputformat":65,"outputpath":"output.docx","savetype":3,"saveindex":1,"status_info":0,"savekey":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967","userconnectionid":"ahassain2","nobase64":true},"output":{"type":"documentOpen","data":{"type":"save","status":"ok"}},"needUrlKey":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967/output.docx","needUrlMethod":2,"needUrlType":1}
[2024-02-20T11:13:23.254] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - sendData: type = documentOpen
[2024-02-20T11:15:02.044] [DEBUG] [localhost] [docId] [userId] nodeJS - expireDoc connections.length = 1
[2024-02-20T11:15:02.044] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire start
[2024-02-20T11:15:02.044] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire end: startSaveCount = 0, removedCount = 0
[2024-02-20T11:15:49.713] [INFO] [localhost] [docId] [userId] nodeJS - refreshWopiLock start
[2024-02-20T11:15:49.729] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - getCallbackByUserIndex: userIndex = undefined callbacks = {"userIndex":1,"callback":"{\"lockId\":\"JpXD9w694OaABuVzbz64yw==\",\"fileInfo\":{\"BaseFileName\":\"GED_Mocator_ Note de cadrage.docx\",\"OwnerId\":\"ahassain\",\"Size\":243286,\"UserId\":\"ahassain\",\"Version\":\"0\",\"SupportsExtendedLockLength\":true,\"SupportsGetLock\":true,\"SupportsLocks\":true,\"SupportsUpdate\":true,\"SupportsUserInfo\":true,\"UserFriendlyName\":\"Ahassain\",\"ReadOnly\":false,\"UserCanNotWriteRelative\":true,\"UserCanWrite\":true,\"HostEditUrl\":\"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"BreadcrumbBrandName\":\"Any - Office Online\",\"DisablePrint\":true}}"}{"userIndex":2,"callback":"{\"wopiSrc\":\"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"access_token\":\"f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"access_token_ttl\":1708607574782,\"hostSessionId\":\"\",\"userSessionId\":\"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"mode\":\"edit\"}"}
[2024-02-20T11:15:49.729] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - getCallbackByUserIndex: userIndex = 1 callbacks = {"userIndex":1,"callback":"{\"lockId\":\"JpXD9w694OaABuVzbz64yw==\",\"fileInfo\":{\"BaseFileName\":\"GED_Mocator_ Note de cadrage.docx\",\"OwnerId\":\"ahassain\",\"Size\":243286,\"UserId\":\"ahassain\",\"Version\":\"0\",\"SupportsExtendedLockLength\":true,\"SupportsGetLock\":true,\"SupportsLocks\":true,\"SupportsUpdate\":true,\"SupportsUserInfo\":true,\"UserFriendlyName\":\"Ahassain\",\"ReadOnly\":false,\"UserCanNotWriteRelative\":true,\"UserCanWrite\":true,\"HostEditUrl\":\"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"BreadcrumbBrandName\":\"Any - Office Online\",\"DisablePrint\":true}}"}{"userIndex":2,"callback":"{\"wopiSrc\":\"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"access_token\":\"f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"access_token_ttl\":1708607574782,\"hostSessionId\":\"\",\"userSessionId\":\"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"mode\":\"edit\"}"}
[2024-02-20T11:15:49.729] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - parseWopiCallback wopiParams:{"commonInfo":{"lockId":"JpXD9w694OaABuVzbz64yw==","fileInfo":{"BaseFileName":"GED_Mocator_ Note de cadrage.docx","OwnerId":"ahassain","Size":243286,"UserId":"ahassain","Version":"0","SupportsExtendedLockLength":true,"SupportsGetLock":true,"SupportsLocks":true,"SupportsUpdate":true,"SupportsUserInfo":true,"UserFriendlyName":"Ahassain","ReadOnly":false,"UserCanNotWriteRelative":true,"UserCanWrite":true,"HostEditUrl":"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=f3764b78-9ab9-4de6-94de-9cfc7b1a4821","BreadcrumbBrandName":"Any - Office Online","DisablePrint":true}},"userAuth":{"wopiSrc":"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","access_token":"f3764b78-9ab9-4de6-94de-9cfc7b1a4821","access_token_ttl":1708607574782,"hostSessionId":"","userSessionId":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","mode":"edit"}}
[2024-02-20T11:15:49.729] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK start
[2024-02-20T11:15:49.733] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK request uri=https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123?access_token=f3764b78-9ab9-4de6-94de-9cfc7b1a4821 headers={"X-WOPI-Override":"REFRESH_LOCK","X-WOPI-Lock":"JpXD9w694OaABuVzbz64yw==","X-WOPI-Proof":"p2jHagS54zDZ+7OYYe/d0ZYWc3KUFe/bR7GdUXljOvN9Ht+Hie/ai+mwoApcvQ/n4in43CuNR1NSe7sCEsU5lWdw7dnifk8l8jLBvepIWJ7wxpyG30j1WfM/XhUlwhWmH3t9vj94XuPDiVH3H7mjol7aKObaBSbQXnfqzqbTVNlt8QnJTOia0oaJmy3EZIS0O8chAAnYAzoQAVjOqefgV0uE/6qw9Gzgs4WZPxtodhK7eIcl3PGEWFZjlX+X4SkubP/msSctQmk3Bh2A83f5eicMa8D1JInSo6n50xtWvuJRPXOZOXtNmvA2QQijy8SQl3pnXGip94NmVLVIwPf3VA==","X-WOPI-ProofOld":"p2jHagS54zDZ+7OYYe/d0ZYWc3KUFe/bR7GdUXljOvN9Ht+Hie/ai+mwoApcvQ/n4in43CuNR1NSe7sCEsU5lWdw7dnifk8l8jLBvepIWJ7wxpyG30j1WfM/XhUlwhWmH3t9vj94XuPDiVH3H7mjol7aKObaBSbQXnfqzqbTVNlt8QnJTOia0oaJmy3EZIS0O8chAAnYAzoQAVjOqefgV0uE/6qw9Gzgs4WZPxtodhK7eIcl3PGEWFZjlX+X4SkubP/msSctQmk3Bh2A83f5eicMa8D1JInSo6n50xtWvuJRPXOZOXtNmvA2QQijy8SQl3pnXGip94NmVLVIwPf3VA==","X-WOPI-TimeStamp":"638440245497300000","X-WOPI-ClientVersion":"7.3.2.8","Authorization":"Bearer f3764b78-9ab9-4de6-94de-9cfc7b1a4821"}
[2024-02-20T11:15:49.745] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK response headers={"x-frame-options":"sameorigin","referrer-policy":"no-referrer","strict-transport-security":"max-age=63072000","x-content-type-options":"nosniff","content-security-policy":"frame-ancestors 'self' https:;","feature-policy":"fullscreen 'self';","x-xss-protection":"1; mode=block","access-control-allow-origin":"*","access-control-allow-methods":"POST, PUT, GET, DELETE, OPTIONS","access-control-max-age":"3600","access-control-allow-headers":"Content-Type,Authorization,Authorization-Assume,Accept,X-Requested-With,X-Access-Token","cache-control":"no-cache,no-store,must-revalidate","pragma":"no-cache","expires":"0","vary":"Accept-Encoding","x-wopi-itemversion":"0","x-wopi-lock":"JpXD9w694OaABuVzbz64yw==","content-length":"0","date":"Tue, 20 Feb 2024 11:15:49 GMT","keep-alive":"timeout=60","connection":"keep-alive"}
[2024-02-20T11:15:49.746] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK end
[2024-02-20T11:15:49.746] [INFO] [localhost] [docId] [userId] nodeJS - refreshWopiLock end
[2024-02-20T11:15:53.311] [INFO] [localhost] [docId] [userId] nodeJS - forceSaveTimeout start
[2024-02-20T11:15:53.311] [INFO] [localhost] [docId] [userId] nodeJS - forceSaveTimeout end
[2024-02-20T11:17:02.045] [DEBUG] [localhost] [docId] [userId] nodeJS - expireDoc connections.length = 1
[2024-02-20T11:17:02.046] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire start
[2024-02-20T11:17:02.046] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire end: startSaveCount = 0, removedCount = 0

Hello @ahassain

I am not quite following this description, please clarify it. What do you mean by “any error logged” and “any downloaded document exist in my download directory”?
Do you receive any error pop when attempting to save the document via Download As button?

The “download as” button has no effect. No error pop, no error in logs file and no document downloaded

Thanks for providing the details.

First of all, please note that there is newer version of Document Server is available. Please update your instance to the actual version and check the situation again.

Dear all,
First post on this forum :slight_smile:
I’m new to OnlyOffice, so please bear with me.
I’m working with @ahassain on this issue.
I couldn’t find any errors in the logs either.
Several bugs have been fixed that could be related to our issue, #55043 for instance.

I guess an update is in order.
Best regards,
Samuel

Hello @sviscapi

Not every issue is mentioned in change log. Essentially update is required to make sure that the latest version also has this issue.