Internal server error after install

Hi!
I am trying to test OnlyOffice integration with Redmine. I run both of them in docker containers. Installtion went fine, I deployed a community edition and tried to edit a few documents, so far so good.

Installing a plugin went fine as well. Then I went to configure it and entered a ‘http://localhost:8081’ (tried 8082 as well) as an address of the document server because I mapped ports from OnlyOffice container like this:

   ports:
      - '8081:80'
      - '8082:8080'
      - '4433:443'

I did this simply because 80 is occupied by Redmine web interface. I also specified a JWT in my docker configuration and entered it as well. I did not enter anything in the advanced server settings section because I do not quite understand their meaning and I could not find any good explanation of those in the docs.

So, when I did all of that I tried to save the settings and got an ‘Internal error’ at the page top.

Couldn’t find anything in Redmine logs as well as in OnlyOffice logs (as far as I know about them, at least nginx error logs)

Can anyone explain what I might be doing wrong?

Document Server version: v8.0.1.6 as I can judge from ‘git log’
Installation method: docker containers
Redmine: 5.0.7
Redmine connector: 3.0.1
OS: Linux kernel 6.6.16
Browser version: FF 122.0.1

Hey @vomus :wave:
Give me a bit more information:

  1. Share your current plugin configuration with us (including the advanced server settings).
  2. To get better understanding, please provide screenshots of browser’s console-> Console tabs:
  • Open browser’s console (F12 in Chrome/Firefox/Edge) > Console
  • Reproduce the error
  1. Provide the content of your etc/onlyoffice/documentserver/local.json file.
  2. Please provide the output of the docker ps command from the server where both Redmine and Document Server are installed.

Environment:
Redmine version 5.0.7.stable
Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux-gnu]
Rails version 6.1.7.6
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Redminex_theme
SCM:
Subversion 1.13.0
Mercurial 5.3.1
Cvs 1.12.13
Bazaar 3.0.2
Git 2.43.0
Filesystem
Redmine plugins:
000_redmine_x_ux_upgrade 1.3.13
onlyoffice_redmine 3.0.1
redmine_agile 1.6.5
redmine_budgets 1.0.4
redmine_checklists 3.1.22
redmine_contacts 4.3.8
redmine_contacts_invoices 4.2.8
redmine_custom_workflows 2.1.0
redmine_drawio 1.4.8
redmine_editauthor 0.11.1
redmine_reporter 2.0.3
redmine_resources 2.0.0
redmine_webhook 0.0.5
redmine_wysiwyg_editor 0.32.0
redmine_x_agile_my_page 1.1.4
redmine_x_assets 2.1.9
redmine_x_client 1.1.0
redmine_x_gantt 2.1.8
redmine_x_lightbox2 1.0.0
redmine_x_project_templates 1.1.2
redmineup_tags 2.0.13

There is nothing there!

root@71b1d7a2d016:/etc/onlyoffice/documentserver# cat local.json
{
“services”: {
“CoAuthoring”: {
“sql”: {
“type”: “mariadb”,
“dbHost”: “10.161.1.111”,
“dbPort”: “3306”,
“dbName”: “onlyoffice”,
“dbUser”: “onlyoffice”,
“dbPass”: “onlyoffice”
},
“token”: {
“enable”: {
“request”: {
“inbox”: true,
“outbox”: true
},
“browser”: true
},
“inbox”: {
“header”: “Authorization”,
“inBody”: true
},
“outbox”: {
“header”: “Authorization”,
“inBody”: true
}
},
“secret”: {
“inbox”: {
“string”: “HBFZSQSepSbRKPy0wpijSBQwGOQ2ic9a”
},
“outbox”: {
“string”: “HBFZSQSepSbRKPy0wpijSBQwGOQ2ic9a”
},
“session”: {
“string”: “HBFZSQSepSbRKPy0wpijSBQwGOQ2ic9a”
}
}
}
},
“rabbitmq”: {
“url”: “amqp://guest:guest@onlyoffice-rabbitmq”
},
“queue”: {
“type”: “rabbitmq”
},
“storage”: {
“fs”: {
“secretString”: “7M0VsVjzCbOVfRqEv8LN”
}
}
}

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
71b1d7a2d016 docker-documentserver-onlyoffice-documentserver “/app/ds/run-documen…” 3 days ago Up About a minute 0.0.0.0:8081->80/tcp, :::8081->80/tcp, 0.0.0.0:4433->443/tcp, :::4433->443/tcp, 0.0.0.0:8082->8080/tcp, :::8082->8080/tcp onlyoffice-documentserver
9f9b23493d7a rabbitmq “docker-entrypoint.s…” 4 days ago Up About a minute 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp onlyoffice-rabbitmq
cc9be7a16094 sameersbn/redmine:5.0.7-1 “/sbin/entrypoint.sh…” 6 days ago Up 16 seconds 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp docker-redmine-1

Can you provide a screenshot of the settings for the onlyoffice_connector plugin, where you enter the data to connect to the document server?

Also, please provide a screenshot of the error message that occurs.

Please confirm the functionality of the document server running on port 8081.

Document server does run on 8081:

And I provide a screenshot with the data I enter on the next post because this interface does not allow more than one picture in a post. :slight_smile:

Here is a screenshot with the data I enter and an “internal error” message

@vomus

Let’s start by trying to specify the host IP address of the document server instead of using localhost.

http://ip:port/

This is what I see in Redmine log:

I, [2024-03-06T19:29:57.180121 #277]  INFO -- : [678e9a3b-1cac-4f9e-978e-451654391fc2] Started POST "/onlyoffice/settings" for 172.18.1.1 at 2024-03-06 19:29:57 +0300
I, [2024-03-06T19:29:57.180735 #277]  INFO -- : [678e9a3b-1cac-4f9e-978e-451654391fc2] Processing by OnlyOfficeSettingsController#update as HTML
I, [2024-03-06T19:29:57.180794 #277]  INFO -- : [678e9a3b-1cac-4f9e-978e-451654391fc2]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"F428VdNpGz4pMhlD6t4MBFKoSubADJ0vxR47FJAvUb7on45X9hCX1d65YIrLh+PrwFyqIIaqD3hCGY7z7XlgAQ==", "onlyoffice"=>{"document_server_url"=>"http://10.161.1.111:8081", "document_server_internal_url"=>"", "plugin_internal_url"=>"", "jwt_secret"=>"HBFZSQSepSbRKPy0wpijSBQwGOQ2ic9a", "jwt_http_header"=>"Authorization", "editor_chat_enabled"=>"1", "editor_feedback_enabled"=>"1", "editor_help_enabled"=>"1", "formats_editable"=>["csv", "epub", "fb2", "html", "odp", "ods", "odt", "otp", "ots", "ott", "rtf", "txt"]}, "commit"=>"Apply"}
I, [2024-03-06T19:29:57.183735 #277]  INFO -- : [678e9a3b-1cac-4f9e-978e-451654391fc2] Settings cache cleared.
I, [2024-03-06T19:29:57.184655 #277]  INFO -- : [678e9a3b-1cac-4f9e-978e-451654391fc2]   Current user: naumovs (id=5)
I, [2024-03-06T19:29:57.187004 #277]  INFO -- onlyoffice-redmine: [678e9a3b-1cac-4f9e-978e-451654391fc2] Starting the process of saving settings
I, [2024-03-06T19:29:57.187292 #277]  INFO -- onlyoffice-redmine: [678e9a3b-1cac-4f9e-978e-451654391fc2] Current settings: {"conversion"=>{"timeout"=>120000}, "editor"=>{"chat_enabled"=>true, "compact_header_enabled"=>false, "feedback_enabled"=>true, "force_save_enabled"=>false, "help_enabled"=>true, "toolbar_tabs_disabled"=>false}, "formats"=>{"editable"=>["csv", "docxf", "epub", "fb2", "html", "odp", "ods", "odt", "otp", "ots", "ott", "pdfa", "rtf", "txt"]}, "ssl"=>{"verify_mode"=>1}, "jwt"=>{"enabled"=>false, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}, "document_server"=>{"url"=>"http://localhost/", "internal_url"=>""}, "plugin"=>{"enabled"=>true, "url"=>"", "internal_url"=>""}, "trial"=>{"enabled"=>false, "enabled_at"=>"", "period"=>2592000}, "fallback_jwt"=>{"enabled"=>true, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}}
I, [2024-03-06T19:29:57.187608 #277]  INFO -- onlyoffice-redmine: [678e9a3b-1cac-4f9e-978e-451654391fc2] Patched settings: {"conversion"=>{"timeout"=>120000}, "editor"=>{"chat_enabled"=>true, "compact_header_enabled"=>false, "feedback_enabled"=>true, "force_save_enabled"=>false, "help_enabled"=>true, "toolbar_tabs_disabled"=>false}, "formats"=>{"editable"=>["csv", "epub", "fb2", "html", "odp", "ods", "odt", "otp", "ots", "ott", "rtf", "txt"]}, "ssl"=>{"verify_mode"=>1}, "jwt"=>{"enabled"=>true, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}, "document_server"=>{"url"=>"http://10.161.1.111:8081/", "internal_url"=>""}, "plugin"=>{"enabled"=>true, "url"=>"http://localhost/", "internal_url"=>""}, "trial"=>{"enabled"=>false, "enabled_at"=>"", "period"=>2592000}, "fallback_jwt"=>{"enabled"=>true, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}}
I, [2024-03-06T19:29:57.191585 #277]  INFO -- onlyoffice: [678e9a3b-1cac-4f9e-978e-451654391fc2] Starting GET http://10.161.1.111:8081/healthcheck {"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["application/json"], "user-agent"=>["Ruby"], "host"=>["10.161.1.111:8081"]} 
I, [2024-03-06T19:29:57.195561 #277]  INFO -- onlyoffice: [678e9a3b-1cac-4f9e-978e-451654391fc2] 200 OK {"server"=>["nginx"], "date"=>["Wed, 06 Mar 2024 16:29:57 GMT"], "content-type"=>["text/plain; charset=utf-8"], "content-length"=>["4"], "connection"=>["close"], "etag"=>["W/\"4-X/5TO4MPCKAyY0ipFgr6/IraRNs\""]} true
I, [2024-03-06T19:29:57.195916 #277]  INFO -- onlyoffice: [678e9a3b-1cac-4f9e-978e-451654391fc2] Starting POST http://10.161.1.111:8081/coauthoring/CommandService.ashx {"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["application/json"], "user-agent"=>["Ruby"], "host"=>["10.161.1.111:8081"], "content-type"=>["application/json"]} {"c":"version"}
I, [2024-03-06T19:29:57.198847 #277]  INFO -- onlyoffice: [678e9a3b-1cac-4f9e-978e-451654391fc2] 200 OK {"server"=>["nginx"], "date"=>["Wed, 06 Mar 2024 16:29:57 GMT"], "content-type"=>["application/json"], "transfer-encoding"=>["chunked"], "connection"=>["close"], "vary"=>["Accept-Encoding"], "etag"=>["W/\"20-sqFUhS5qXkrPSFl04J3+cHltf4g\""]} {"error":0,"version":"8.0.0.99"}
I, [2024-03-06T19:29:57.199528 #277]  INFO -- onlyoffice: [678e9a3b-1cac-4f9e-978e-451654391fc2] Starting POST http://10.161.1.111:8081/ConvertService.ashx {"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["application/json"], "user-agent"=>["Ruby"], "host"=>["10.161.1.111:8081"], "content-type"=>["application/json"]} {"filetype":"txt","key":"1709742597","outputtype":"docx","url":"http://localhost/onlyoffice/ping?token=eyJhbGdvcml0aG0iOiJIUzI1NiIsImFsZyI6IkhTMjU2In0.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0L29ubHlvZmZpY2UvcGluZyJ9.vBXL4hFonqGQj8QrRNKpFNifadymI0JR3LabQseKgyQ"}
I, [2024-03-06T19:30:01.230204 #277]  INFO -- onlyoffice: [678e9a3b-1cac-4f9e-978e-451654391fc2] 200 OK {"server"=>["nginx"], "date"=>["Wed, 06 Mar 2024 16:30:01 GMT"], "content-type"=>["application/json; charset=UTF-8"], "content-length"=>["12"], "connection"=>["close"], "etag"=>["W/\"c-5lC/GNXd6iIppom73lLvBY0S2ZI\""]} {"error":-4}
E, [2024-03-06T19:30:01.230336 #277] ERROR -- onlyoffice-redmine: [678e9a3b-1cac-4f9e-978e-451654391fc2] Error while downloading the document file to be converted (200 OK)
I, [2024-03-06T19:30:01.238074 #277]  INFO -- : [678e9a3b-1cac-4f9e-978e-451654391fc2] Redirected to http://localhost/settings/plugin/onlyoffice_redmine
I, [2024-03-06T19:30:01.238207 #277]  INFO -- : [678e9a3b-1cac-4f9e-978e-451654391fc2] Completed 302 Found in 4057ms (ActiveRecord: 6.1ms | Allocations: 9525)
I, [2024-03-06T19:30:01.248911 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0] Started GET "/settings/plugin/onlyoffice_redmine" for 172.18.1.1 at 2024-03-06 19:30:01 +0300
I, [2024-03-06T19:30:01.249797 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0] Processing by SettingsController#plugin as HTML
I, [2024-03-06T19:30:01.249856 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0]   Parameters: {"id"=>"onlyoffice_redmine"}
I, [2024-03-06T19:30:01.254384 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0] Settings cache cleared.
I, [2024-03-06T19:30:01.255498 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0]   Current user: naumovs (id=5)
I, [2024-03-06T19:30:01.261603 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0]   Rendered plugins/000_redmine_x_ux_upgrade/app/views/settings/plugin.html.erb within layouts/admin (Duration: 3.4ms | Allocations: 4844)
I, [2024-03-06T19:30:01.273367 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0]   Rendered inline template (Duration: 0.7ms | Allocations: 161)
I, [2024-03-06T19:30:01.315136 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0]   Rendered plugins/000_redmine_x_ux_upgrade/app/views/layouts/base.html.erb (Duration: 51.1ms | Allocations: 33335)
I, [2024-03-06T19:30:01.315261 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0]   Rendered layout layouts/admin.html.erb (Duration: 57.1ms | Allocations: 40935)
I, [2024-03-06T19:30:01.315487 #277]  INFO -- : [94565f2e-6290-45bf-90c8-2b550272a7b0] Completed 200 OK in 66ms (Views: 49.3ms | ActiveRecord: 10.3ms | Allocations: 43301)

I also found this in /var/log/onlyoffice/documentserver/converter/out.log:

[2024-03-06T16:29:57.210] [ERROR] [localhost] [conv_1709742597_docx] [userId] nodeJS - error downloadFile:url=http://localhost/onlyoffice/ping?token=eyJhbGdvcml0aG0iOiJIUzI1NiIsImFsZyI6IkhTMjU2In0.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0L29ubHlvZmZpY2UvcGluZyJ9.vBXL4hFonqGQj8QrRNKpFNifadymI0JR3LabQseKgyQ;attempt=1;code:null;connect:null Error: Error response: statusCode:404; headers:{"server":"nginx","date":"Wed, 06 Mar 2024 16:29:57 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-encoding":"gzip"};
    at Request.fResponse (/snapshot/server/Common/sources/utils.js)
    at Request.emit (node:events:527:28)
    at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
    at ClientRequest.emit (node:events:527:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at Socket.socketOnData (node:_http_client:494:22)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
[2024-03-06T16:29:58.217] [ERROR] [localhost] [conv_1709742597_docx] [userId] nodeJS - error downloadFile:url=http://localhost/onlyoffice/ping?token=eyJhbGdvcml0aG0iOiJIUzI1NiIsImFsZyI6IkhTMjU2In0.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0L29ubHlvZmZpY2UvcGluZyJ9.vBXL4hFonqGQj8QrRNKpFNifadymI0JR3LabQseKgyQ;attempt=2;code:null;connect:null Error: Error response: statusCode:404; headers:{"server":"nginx","date":"Wed, 06 Mar 2024 16:29:58 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-encoding":"gzip"};
    at Request.fResponse (/snapshot/server/Common/sources/utils.js)
    at Request.emit (node:events:527:28)
    at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
    at ClientRequest.emit (node:events:527:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at Socket.socketOnData (node:_http_client:494:22)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
[2024-03-06T16:29:59.223] [ERROR] [localhost] [conv_1709742597_docx] [userId] nodeJS - error downloadFile:url=http://localhost/onlyoffice/ping?token=eyJhbGdvcml0aG0iOiJIUzI1NiIsImFsZyI6IkhTMjU2In0.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0L29ubHlvZmZpY2UvcGluZyJ9.vBXL4hFonqGQj8QrRNKpFNifadymI0JR3LabQseKgyQ;attempt=3;code:null;connect:null Error: Error response: statusCode:404; headers:{"server":"nginx","date":"Wed, 06 Mar 2024 16:29:59 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-encoding":"gzip"};
    at Request.fResponse (/snapshot/server/Common/sources/utils.js)
    at Request.emit (node:events:527:28)
    at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
    at ClientRequest.emit (node:events:527:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at Socket.socketOnData (node:_http_client:494:22)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

@vomus

, [2024-03-06T19:29:57.180121 #277] INFO – : [678e9a3b-1cac-4f9e-978e-451654391fc2] Started POST “/onlyoffice/settings” for 172.18.1.1 at 2024-03-06 19:29:57 +0300

[2024-03-06T16:29:57.210] [ERROR] [localhost] [conv_1709742597_docx] [userId] nodeJS - error downloadFile:url=http://localhost/onlyoffice/ping?

The document server requires an external IP address. Using ‘localhost’ or the container’s IP address won’t work because the document server cannot access the container’s IP address from an external client.

Hi!
I unerstand… So, I put them on the same network and entered http://172.18.6.4:8081, it still does not work. Do I get the right address?

        "Containers": {
            "7cc37128e28d7e2d74dcaf51d908f3b74508534078f0d56203baacd9dc1746ad": {
                "Name": "onlyoffice-rabbitmq",
                "EndpointID": "c5e7e42d14f59bd6696de16d42a34eb1da4038c96fba925e13d62d2606effdb0",
                "MacAddress": "02:42:ac:12:06:03",
                "IPv4Address": "172.18.6.3/24",
                "IPv6Address": ""
            },
            "97a6f73812163802eb63a9192da5826a8e88a929f13b0c1837fc3f6aea66d3f8": {
                "Name": "redmine507",
                "EndpointID": "ee190e593499e7f5a38232f6b6adb5a171db8acaaefcfa5afe503481a59fc9a9",
                "MacAddress": "02:42:ac:12:06:02",
                "IPv4Address": "172.18.6.2/24",
                "IPv6Address": ""
            },
            "f26923e1212b0f7126dfd8239404de38c15e3a3bdc09a7d52027a181f3046bb3": {
                "Name": "onlyoffice-documentserver",
                "EndpointID": "1a177085de981c48afde8068d8d1654e3dd1ca2746bcf9a182e6dfeddd1ae885",
                "MacAddress": "02:42:ac:12:06:04",
                "IPv4Address": "172.18.6.4/24",
                "IPv6Address": ""
            }
        },
1 Like

Let me demonstrate what I am doing…

[serge@veles redmine]$ docker network create vomus
bb64af07bc3be915660dc0f3191488dc17946f373a389ffaea0daeb6f46cfd5d
[serge@veles redmine]$ docker network ls
NETWORK ID     NAME                     DRIVER    SCOPE
4c8baa8ba5a2   bridge                   bridge    local
46fdff2d436d   docker-redmine_default   bridge    local
82fe1284f705   host                     host      local
417079ea5952   none                     null      local
bb64af07bc3b   vomus                    bridge    local
[serge@veles docker-redmine]$ docker ps
CONTAINER ID   IMAGE                       COMMAND                  CREATED      STATUS          PORTS                                                                      NAMES
3a0b1c84efe5   sameersbn/redmine:5.0.7-1   "/sbin/entrypoint.sh…"   2 days ago   Up 17 seconds   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   redmine507
[serge@veles docker-redmine]$ docker network connect vomus 3a0b1c84efe5
[serge@veles Docker-DocumentServer]$ docker compose up -d
[+] Running 2/3
 ⠇ Network docker-documentserver_default  Created                                                                                                                                                               3.8s 
 ✔ Container onlyoffice-rabbitmq          Started                                                                                                                                                               3.6s 
 ✔ Container onlyoffice-documentserver    Started                                                                                                                                                               3.7s 
[serge@veles Docker-DocumentServer]$ docker ps 
CONTAINER ID   IMAGE                                             COMMAND                  CREATED          STATUS              PORTS                                                                                                                       NAMES
299a09f0c40d   docker-documentserver-onlyoffice-documentserver   "/app/ds/run-documen…"   22 seconds ago   Up 18 seconds       0.0.0.0:8081->80/tcp, :::8081->80/tcp, 0.0.0.0:4433->443/tcp, :::4433->443/tcp, 0.0.0.0:8082->8080/tcp, :::8082->8080/tcp   onlyoffice-documentserver
5fb398efef35   rabbitmq                                          "docker-entrypoint.s…"   23 seconds ago   Up 19 seconds       4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp                                                                         onlyoffice-rabbitmq
3a0b1c84efe5   sameersbn/redmine:5.0.7-1                         "/sbin/entrypoint.sh…"   2 days ago       Up About a minute   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp                                                    redmine507
[serge@veles Docker-DocumentServer]$ docker network connect vomus 299a09f0c40d
[serge@veles Docker-DocumentServer]$ docker network inspect vomus
[
    {
        "Name": "vomus",
        "Id": "bb64af07bc3be915660dc0f3191488dc17946f373a389ffaea0daeb6f46cfd5d",
        "Created": "2024-03-18T21:30:18.105688295+03:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": {},
            "Config": [
                {
                    "Subnet": "172.18.0.0/24",
                    "Gateway": "172.18.0.1"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {
            "299a09f0c40d4c681f658594dd1c13e040ef19a0f5b06c1a7897c33d93f4956f": {
                "Name": "onlyoffice-documentserver",
                "EndpointID": "7eb3a0a04e0b9dce0d1f11e085b5148a99039c3fcc73327ecc969fe5f219a702",
                "MacAddress": "02:42:ac:12:00:03",
                "IPv4Address": "172.18.0.3/24",
                "IPv6Address": ""
            },
            "3a0b1c84efe51c40380b9b93d8d296af5e7e35d110756fad47d9668912fdbca7": {
                "Name": "redmine507",
                "EndpointID": "024f1cfe871ae6fc5220f997bf79f5ce043238c9f13066c6f423cca845a57ddf",
                "MacAddress": "02:42:ac:12:00:02",
                "IPv4Address": "172.18.0.2/24",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {}
    }
]

So, we see that Documentserver has an IP of 172.18.0.3. Let us check the connection. The redmine container does not seem to have ping in it, so I am trying to ssh just to check the IP is reachable.

[serge@veles Docker-DocumentServer]$ docker exec -it 3a0b1c84efe5 /bin/bash
root@3a0b1c84efe5:/home/redmine/redmine# ssh 172.18.0.3
ssh: connect to host 172.18.0.3 port 22: Connection refused

Now, log in to Redmine and supply http://172.18.0.3:8081 and see the error…

@vomus
I messaged you privately a couple of days ago.

Could you please tell me which IP address you set in the Redmine plugin settings?

You need to set your external IP address, which should be accessible from your browser.

Hm… I haven’t seen a private message. Speaking of the external address… Ok, I also tried this one. The external address of both redmine instance and onlyoffice server is 10.161.1.111:

I, [2024-03-25T22:33:09.282927 #274]  INFO -- : [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Started POST "/onlyoffice/settings" for 172.18.1.1 at 2024-03-25 22:33:09 +0300
I, [2024-03-25T22:33:09.283777 #274]  INFO -- : [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Processing by OnlyOfficeSettingsController#update as HTML
I, [2024-03-25T22:33:09.283852 #274]  INFO -- : [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"dtiOzErD38i7wFivq+dEu/2gatQO3kK2+FqnCBxjaun2gPJxwylrl0dBs56o9H3O0cA2MOsiF/Ht8ZM0pmR6Cw==", "onlyoffice"=>{"document_server_url"=>"http://10.161.1.111:8081/", "document_server_internal_url"=>"", "plugin_internal_url"=>"", "jwt_secret"=>"HBFZSQSepSbRKPy0wpijSBQwGOQ2ic9a", "jwt_http_header"=>"Authorization", "editor_chat_enabled"=>"1", "editor_feedback_enabled"=>"1", "editor_help_enabled"=>"1", "formats_editable"=>["csv", "epub", "fb2", "html", "odp", "ods", "odt", "otp", "ots", "ott", "rtf", "txt"]}, "commit"=>"Apply"}
I, [2024-03-25T22:33:09.288653 #274]  INFO -- : [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Settings cache cleared.
I, [2024-03-25T22:33:09.290062 #274]  INFO -- : [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204]   Current user: naumovs (id=5)
I, [2024-03-25T22:33:09.293120 #274]  INFO -- onlyoffice-redmine: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Starting the process of saving settings
I, [2024-03-25T22:33:09.293556 #274]  INFO -- onlyoffice-redmine: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Current settings: {"conversion"=>{"timeout"=>120000}, "editor"=>{"chat_enabled"=>true, "compact_header_enabled"=>false, "feedback_enabled"=>true, "force_save_enabled"=>false, "help_enabled"=>true, "toolbar_tabs_disabled"=>false}, "formats"=>{"editable"=>["csv", "docxf", "epub", "fb2", "html", "odp", "ods", "odt", "otp", "ots", "ott", "pdfa", "rtf", "txt"]}, "ssl"=>{"verify_mode"=>1}, "jwt"=>{"enabled"=>false, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}, "document_server"=>{"url"=>"http://localhost/", "internal_url"=>""}, "plugin"=>{"enabled"=>true, "url"=>"", "internal_url"=>""}, "trial"=>{"enabled"=>false, "enabled_at"=>"", "period"=>2592000}, "fallback_jwt"=>{"enabled"=>true, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}}
I, [2024-03-25T22:33:09.294013 #274]  INFO -- onlyoffice-redmine: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Patched settings: {"conversion"=>{"timeout"=>120000}, "editor"=>{"chat_enabled"=>true, "compact_header_enabled"=>false, "feedback_enabled"=>true, "force_save_enabled"=>false, "help_enabled"=>true, "toolbar_tabs_disabled"=>false}, "formats"=>{"editable"=>["csv", "epub", "fb2", "html", "odp", "ods", "odt", "otp", "ots", "ott", "rtf", "txt"]}, "ssl"=>{"verify_mode"=>1}, "jwt"=>{"enabled"=>true, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}, "document_server"=>{"url"=>"http://10.161.1.111:8081/", "internal_url"=>""}, "plugin"=>{"enabled"=>true, "url"=>"http://localhost/", "internal_url"=>""}, "trial"=>{"enabled"=>false, "enabled_at"=>"", "period"=>2592000}, "fallback_jwt"=>{"enabled"=>true, "secret"=>"***", "algorithm"=>"HS256", "http_header"=>"Authorization"}}
I, [2024-03-25T22:33:09.298182 #274]  INFO -- onlyoffice: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Starting GET http://10.161.1.111:8081/healthcheck {"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["application/json"], "user-agent"=>["Ruby"], "host"=>["10.161.1.111:8081"]} 
I, [2024-03-25T22:33:09.302849 #274]  INFO -- onlyoffice: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] 200 OK {"server"=>["nginx"], "date"=>["Mon, 25 Mar 2024 19:33:09 GMT"], "content-type"=>["text/plain; charset=utf-8"], "content-length"=>["4"], "connection"=>["close"], "etag"=>["W/\"4-X/5TO4MPCKAyY0ipFgr6/IraRNs\""]} true
I, [2024-03-25T22:33:09.303238 #274]  INFO -- onlyoffice: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Starting POST http://10.161.1.111:8081/coauthoring/CommandService.ashx {"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["application/json"], "user-agent"=>["Ruby"], "host"=>["10.161.1.111:8081"], "content-type"=>["application/json"]} {"c":"version"}
I, [2024-03-25T22:33:09.306284 #274]  INFO -- onlyoffice: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] 200 OK {"server"=>["nginx"], "date"=>["Mon, 25 Mar 2024 19:33:09 GMT"], "content-type"=>["application/json"], "transfer-encoding"=>["chunked"], "connection"=>["close"], "vary"=>["Accept-Encoding"], "etag"=>["W/\"20-sqFUhS5qXkrPSFl04J3+cHltf4g\""]} {"error":0,"version":"8.0.0.99"}
I, [2024-03-25T22:33:09.306944 #274]  INFO -- onlyoffice: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Starting POST http://10.161.1.111:8081/ConvertService.ashx {"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["application/json"], "user-agent"=>["Ruby"], "host"=>["10.161.1.111:8081"], "content-type"=>["application/json"]} {"filetype":"txt","key":"1711395189","outputtype":"docx","url":"http://localhost/onlyoffice/ping?token=eyJhbGdvcml0aG0iOiJIUzI1NiIsImFsZyI6IkhTMjU2In0.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0L29ubHlvZmZpY2UvcGluZyJ9.-bdjlGz4FpBqkAbp3JGtLct1_PXcE0kDOw3BxDscSoU"}
I, [2024-03-25T22:33:13.322250 #274]  INFO -- onlyoffice: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] 200 OK {"server"=>["nginx"], "date"=>["Mon, 25 Mar 2024 19:33:13 GMT"], "content-type"=>["application/json; charset=UTF-8"], "content-length"=>["12"], "connection"=>["close"], "etag"=>["W/\"c-5lC/GNXd6iIppom73lLvBY0S2ZI\""]} {"error":-4}
E, [2024-03-25T22:33:13.322375 #274] ERROR -- onlyoffice-redmine: [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Error while downloading the document file to be converted (200 OK)
I, [2024-03-25T22:33:13.328920 #274]  INFO -- : [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Redirected to http://localhost/settings/plugin/onlyoffice_redmine
I, [2024-03-25T22:33:13.329057 #274]  INFO -- : [1ff21aa0-a4ed-4b1d-8059-ede63f0ee204] Completed 302 Found in 4045ms (ActiveRecord: 5.8ms | Allocations: 9457)
I, [2024-03-25T22:33:13.333646 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db] Started GET "/settings/plugin/onlyoffice_redmine" for 172.18.1.1 at 2024-03-25 22:33:13 +0300
I, [2024-03-25T22:33:13.334295 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db] Processing by SettingsController#plugin as HTML
I, [2024-03-25T22:33:13.334340 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db]   Parameters: {"id"=>"onlyoffice_redmine"}
I, [2024-03-25T22:33:13.338911 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db] Settings cache cleared.
I, [2024-03-25T22:33:13.340037 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db]   Current user: naumovs (id=5)
I, [2024-03-25T22:33:13.358683 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db]   Rendered plugins/000_redmine_x_ux_upgrade/app/views/settings/plugin.html.erb within layouts/admin (Duration: 13.3ms | Allocations: 17102)
I, [2024-03-25T22:33:13.371369 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db]   Rendered inline template (Duration: 0.5ms | Allocations: 161)
I, [2024-03-25T22:33:13.372626 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db]   Rendered inline template (Duration: 0.3ms | Allocations: 161)
I, [2024-03-25T22:33:13.415522 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db]   Rendered plugins/000_redmine_x_ux_upgrade/app/views/layouts/base.html.erb (Duration: 53.4ms | Allocations: 34274)
I, [2024-03-25T22:33:13.415634 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db]   Rendered layout layouts/admin.html.erb (Duration: 70.3ms | Allocations: 54307)
I, [2024-03-25T22:33:13.415855 #274]  INFO -- : [bb30e15f-6a0e-405c-b196-9eebcc9d79db] Completed 200 OK in 81ms (Views: 61.9ms | ActiveRecord: 11.2ms | Allocations: 59423)

@vomus

Please provide the following information:

  1. A screenshot displaying the connection from DS in the connector to Redmine.
  2. The entire log folder from the document server.
  3. The diagram of your computer network.

Hi. Have you solved the problem? please tell us the solution, I have the same error…

Can you help me?
I am trying to test OnlyOffice integration with Redmine.
VirtualBox Ubuntu 22.04, redmine 5.1.2, ruby 3.1.2, rails 6.1.7.7, onlyoffice_redmine 3.1.0
One virtual machine. redmine 192.168.1.97:9292

Installed onlyoffice server docs by this commands:

wget http://download.onlyoffice.com/docs/docs-install.sh
bash docs-install.sh

To begin with, I’m trying to use a onlyoffice demo server
when I tried to save the settings and got an ‘Internal error’ at the page top.

production.log:

I, [2024-04-19T13:07:13.222101 #762]  INFO -- onlyoffice-redmine: [af569fc3-ea4a-44be-8fb9-85744da2bca0] Starting the process of saving settings
I, [2024-04-19T13:07:13.222503 #762]  INFO -- onlyoffice-redmine: [af569fc3-ea4a-44be-8fb9-85744da2bca0] Current settings: {"conversion"=>{"timeout"=>120000}, "editor"=>{"chat_enabled"=>true, "compact_header_en>
I, [2024-04-19T13:07:13.223076 #762]  INFO -- onlyoffice-redmine: [af569fc3-ea4a-44be-8fb9-85744da2bca0] Patched settings: {"conversion"=>{"timeout"=>120000}, "editor"=>{"chat_enabled"=>true, "compact_header_en>
I, [2024-04-19T13:07:13.223140 #762]  INFO -- onlyoffice-redmine: [af569fc3-ea4a-44be-8fb9-85744da2bca0] Starting trial
I, [2024-04-19T13:07:13.223183 #762]  INFO -- onlyoffice-redmine: [af569fc3-ea4a-44be-8fb9-85744da2bca0] Saving with trial
I, [2024-04-19T13:07:13.233544 #762]  INFO -- onlyoffice: [af569fc3-ea4a-44be-8fb9-85744da2bca0] Starting GET https://onlinedocs.onlyoffice.com/healthcheck {"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identit>
I, [2024-04-19T13:07:14.622267 #762]  INFO -- onlyoffice: [af569fc3-ea4a-44be-8fb9-85744da2bca0] 200 OK {"server"=>["nginx"], "date"=>["Fri, 19 Apr 2024 13:07:14 GMT"], "content-type"=>["text/plain; charset=utf>
I, [2024-04-19T13:07:14.623014 #762]  INFO -- onlyoffice: [af569fc3-ea4a-44be-8fb9-85744da2bca0] Starting POST https://onlinedocs.onlyoffice.com/coauthoring/CommandService.ashx {"accept-encoding"=>["gzip;q=1.0,>
I, [2024-04-19T13:07:14.892716 #762]  INFO -- : [af569fc3-ea4a-44be-8fb9-85744da2bca0] Redirected to http://192.168.1.97:9292/settings/plugin/onlyoffice_redmine
I, [2024-04-19T13:07:14.892893 #762]  INFO -- : [af569fc3-ea4a-44be-8fb9-85744da2bca0] Completed 302 Found in 1676ms (ActiveRecord: 11.3ms | Allocations: 7551)
I, [2024-04-19T13:07:14.898314 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3] Started GET "/settings/plugin/onlyoffice_redmine" for 192.168.1.245 at 2024-04-19 13:07:14 +0000
I, [2024-04-19T13:07:14.899578 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3] Processing by SettingsController#plugin as HTML
I, [2024-04-19T13:07:14.899715 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3]   Parameters: {"id"=>"onlyoffice_redmine"}
I, [2024-04-19T13:07:14.903708 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3] Settings cache cleared.
I, [2024-04-19T13:07:14.905360 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3]   Current user: admin (id=1)
I, [2024-04-19T13:07:14.916865 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3]   Rendered settings/plugin.html.erb within layouts/admin (Duration: 5.7ms | Allocations: 4477)
I, [2024-04-19T13:07:14.943652 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3]   Rendered layouts/base.html.erb (Duration: 24.3ms | Allocations: 9836)
I, [2024-04-19T13:07:14.943755 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3]   Rendered layout layouts/admin.html.erb (Duration: 32.6ms | Allocations: 16158)
I, [2024-04-19T13:07:14.944008 #762]  INFO -- : [ff1f8d8a-92a8-414f-9cf5-986418f4d1c3] Completed 200 OK in 44ms (Views: 28.8ms | ActiveRecord: 7.0ms | Allocations: 18133)
I, [2024-04-19T13:07:14.975391 #762]  INFO -- : [f744ca80-c3b9-42bf-a1f0-038d40347c79] Started GET "/settings/plugin/onlyoffice_redmine" for 192.168.1.245 at 2024-04-19 13:07:14 +0000
I, [2024-04-19T13:07:14.976184 #762]  INFO -- : [f744ca80-c3b9-42bf-a1f0-038d40347c79] Processing by SettingsController#plugin as */*
I, [2024-04-19T13:07:14.976248 #762]  INFO -- : [f744ca80-c3b9-42bf-a1f0-038d40347c79]   Parameters: {"id"=>"onlyoffice_redmine"}
I, [2024-04-19T13:07:14.985793 #762]  INFO -- : [f744ca80-c3b9-42bf-a1f0-038d40347c79]   Current user: admin (id=1)
I, [2024-04-19T13:07:14.995332 #762]  INFO -- : [f744ca80-c3b9-42b

/var/log/onlyoffice/documentserver/docservice/out.log

[2024-04-19T11:45:45.918] [WARN] [localhost] [docId] [userId] nodeJS - Express server starting...
[2024-04-19T11:45:45.920] [WARN] [localhost] [docId] [userId] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability
[2024-04-19T11:45:46.116] [WARN] [localhost] [docId] [userId] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 8.0.1. Build: 31

/etc/onlyoffice/documentserver/local.json

{
  "services": {
    "CoAuthoring": {
      "token": {
        "enable": {
          "request": {
            "inbox": true,
            "outbox": true
          },
          "browser": true
        }
      },
      "secret": {
        "inbox": {
          "string": "jW8xz2Z1kwT1tC4tc5ZO3XLLCF59uF0o"
        },
        "outbox": {
          "string": "jW8xz2Z1kwT1tC4tc5ZO3XLLCF59uF0o"
        },
        "session": {
          "string": "jW8xz2Z1kwT1tC4tc5ZO3XLLCF59uF0o"
        }
      }
    }
  }
}

/etc/onlyoffice/documentserver/default.json

{
	"statsd": {
		"useMetrics": false,
		"host": "localhost",
		"port": "8125",
		"prefix": "ds."
	},
	"log": {
		"filePath": "",
		"options": {
			"replaceConsole": true
		}
	},
	"queue": {
		"type": "rabbitmq",
		"visibilityTimeout": 300,
		"retentionPeriod": 900
	},
	"storage": {
		"name": "storage-fs",
		"fs": {
			"folderPath": "",
			"urlExpires": 900,
			"secretString": "verysecretstring"
		},
		"region": "",
		"endpoint": "http://localhost/s3",
		"bucketName": "cache",
		"storageFolderName": "files",
		"cacheFolderName": "data",
		"urlExpires": 604800,
		"accessKeyId": "AKID",
		"secretAccessKey": "SECRET",
		"sslEnabled": false,
		"s3ForcePathStyle": true,
		"externalHost": ""
	},
	"rabbitmq": {
		"url": "amqp://guest:guest@localhost:5672",
		"socketOptions": {},
		"exchangepubsub": "ds.pubsub",
		"queueconverttask": "ds.converttask",
		"queueconvertresponse": "ds.convertresponse",
		"exchangeconvertdead": "ds.exchangeconvertdead",
		"queueconvertdead": "ds.convertdead",
		"queuedelayed": "ds.delayed"
	},
	"activemq": {
		"connectOptions": {
			"port": 5672,
			"host": "localhost",
			"reconnect": false
		},
		"queueconverttask": "ds.converttask",
		"queueconvertresponse": "ds.convertresponse",
		"queueconvertdead": "ActiveMQ.DLQ",
		"queuedelayed": "ds.delayed",
		"topicpubsub": "ds.pubsub"
	},
	"dnscache": {
		"enable" : true,
		"ttl" : 300,
		"cachesize" : 1000
	},
	"openpgpjs": {
		"config": {
		},
		"encrypt": {
			"passwords": ["verysecretstring"]
		},
		"decrypt": {
			"passwords": ["verysecretstring"]
		}
	},
	"bottleneck": {
		"getChanges": {
		}
	},
	"wopi": {
		"enable": false,
		"host" : "",
		"htmlTemplate" : "../../web-apps/apps/api/wopi",
		"wopiZone" : "external-http",
		"favIconUrlWord" : "/web-apps/apps/documenteditor/main/resources/img/favicon.ico",
		"favIconUrlCell" : "/web-apps/apps/spreadsheeteditor/main/resources/img/favicon.ico",
		"favIconUrlSlide" : "/web-apps/apps/presentationeditor/main/resources/img/favicon.ico",
		"fileInfoBlockList" : ["FileUrl"],
		"pdfView": ["pdf", "djvu", "xps", "oxps"],
		"wordView": ["doc", "dotx", "dotm", "dot", "fodt", "ott", "rtf", "mht", "mhtml", "html", "htm", "xml", "epub", "fb2", "sxw", "stw", "wps", "wpt"],
		"wordEdit": ["docx", "docm", "docxf", "oform", "odt", "txt"],
		"cellView": ["xls", "xlsb", "xltx", "xltm", "xlt", "fods", "ots", "sxc", "xml", "et", "ett"],
		"cellEdit": ["xlsx", "xlsm", "ods", "csv"],
		"slideView": ["ppt", "ppsx", "ppsm", "pps", "potx", "potm", "pot", "fodp", "otp", "sxi", "dps", "dpt"],
		"slideEdit": ["pptx", "pptm", "odp"],
		"publicKey": "BgIAAACkAABSU0ExAAgAAAEAAQD/NVqekFNi8X3p6Bvdlaxm0GGuggW5kKfVEQzPGuOkGVrz6DrOMNR+k7Pq8tONY+1NHgS6Z+v3959em78qclVDuQX77Tkml0xMHAQHN4sAHF9iQJS8gOBUKSVKaHD7Z8YXch6F212YSUSc8QphpDSHWVShU7rcUeLQsd/0pkflh5+um4YKEZhm4Mou3vstp5p12NeffyK1WFZF7q4jB7jclAslYKQsP82YY3DcRwu5Tl/+W0ifVcXze0mI7v1reJ12pKn8ifRiq+0q5oJST3TRSrvmjLg9Gt3ozhVIt2HUi3La7Qh40YOAUXm0g/hUq2BepeOp1C7WSvaOFHXe6Hqq",
		"modulus": "qnro3nUUjvZK1i7UqeOlXmCrVPiDtHlRgIPReAjt2nKL1GG3SBXO6N0aPbiM5rtK0XRPUoLmKu2rYvSJ/Kmkdp14a/3uiEl788VVn0hb/l9OuQtH3HBjmM0/LKRgJQuU3LgHI67uRVZYtSJ/n9fYdZqnLfveLsrgZpgRCoabrp+H5Uem9N+x0OJR3LpToVRZhzSkYQrxnERJmF3bhR5yF8Zn+3BoSiUpVOCAvJRAYl8cAIs3BwQcTEyX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rL3eYBkhNEcaMQzxBLvOGpg8kaDX5SaArHfl9+U9yzRqss4ARECanp9HuHfjMQo7iejao0ngDjL7BNMSaH74QlSsPOY2iOm8Qvx8/zb7g4h9r1zLjFZb3mpSA4snRZvvdiZ9ugbuVPmhXnDzRRMg45MibJeeOTJNylofRAoGBAMHfF/WutqKDoX25qZo9m74W4bttOj6oIDk1N4/c6M1Z1v/aptYSE06bkWngj9P46kqjaay4hgMtzyGruc5aojPx5MHHf5bo14+Jv4NzYtR2llrUxO+UJX7aCfUYXI7RC93GUmhpeQ414j7SNAXec58d7e+ETw+6cHiAWO4uOSTPAoGATPq5qDLR4Zi4FUNdn8LZPyKfNqHF6YmupT5hIgd8kZO1jKiaYNPL8jBjkIRmjBBcaXcYD5p85nImvumf2J9jNxPpZOpwyC/Fo5xlVROp97qu1eY7DTmodntXJ6/2SXAlnZQhHmHsrPtyG752f+HtyJJbbgiem8cKWDu+DfHybfECgYBbSLo1WiBwgN4nHqZ3E48jgA6le5azLeKOTTpuKKwNFMIhEkj//t7MYn+jhLL0Mf3PSwZU50Vidc1To1IHkbFSGBGIFHFFEzl8QnXEZS4hr/y3o/teezj0c6HAn8nlDRUzRVBEDXWMdV6kCcGpCccTIrqHzpqTY0vV0UkOTQFnDQKBgAxSEhm/gtCYJIMCBe+KBJT9uECV5xDQopTTjsGOkd4306EN2dyPOIlAfwM6K/0qWisa0Ei5i8TbRRuBeTTdLEYLqXCJ7fj5tdD1begBdSVtHQ2WHqzPJSuImTkFi9NXxd1XUyZFM3y6YQvlssSuL7QSxUIEtZHnrJTt3QDd10dj",
		"refreshLockInterval": "10m",
		"dummy" : {
			"enable": true,
			"sampleFilePath": ""
		}
	},
	"tenants": {
		"baseDir": "",
		"baseDomain": "",
		"filenameConfig": "config.json",
		"filenameSecret": "secret.key",
		"filenameLicense": "license.lic",
		"defaultTenant": "localhost",
		"cache" : {
			"stdTTL": 300,
			"checkperiod": 60,
			"useClones": false
		}
	},
	"services": {
		"CoAuthoring": {
			"server": {
				"port": 8000,
				"workerpercpu": 1,
				"mode": "development",
				"limits_tempfile_upload": 104857600,
				"limits_image_size": 26214400,
				"limits_image_download_timeout": {
					"connectionAndInactivity": "2m",
					"wholeCycle": "2m"
				},
				"callbackRequestTimeout": {
					"connectionAndInactivity": "10m",
					"wholeCycle": "10m"
				},
				"healthcheckfilepath": "../public/healthcheck.docx",
				"savetimeoutdelay": 5000,
				"edit_singleton": false,
				"forgottenfiles": "forgotten",
				"forgottenfilesname": "output",
				"maxRequestChanges": 20000,
				"openProtectedFile": true,
				"isAnonymousSupport": true,
				"editorDataStorage": "editorDataMemory",
				"assemblyFormatAsOrigin": true,
				"newFileTemplate" : "../../document-templates/new",
				"downloadFileAllowExt": ["pdf", "xlsx"],
				"tokenRequiredParams": true,
				"allowPrivateIPAddressForSignedRequests": true
			},
			"requestDefaults": {
				"headers": {
					"User-Agent": "Node.js/6.13",
					"Connection": "Keep-Alive"
				},
				"gzip": true,
				"rejectUnauthorized": false
			},
			"autoAssembly": {
				"enable": false,
				"interval": "5m",
				"step": "1m"
			},
			"utils": {
				"utils_common_fontdir": "null",
				"utils_fonts_search_patterns": "*.ttf;*.ttc;*.otf",
				"limits_image_types_upload": "jpg;jpeg;jpe;png;gif;bmp;svg"
			},
			"sql": {
				"type": "postgres",
				"tableChanges": "doc_changes",
				"tableResult": "task_result",
				"dbHost": "localhost",
				"dbPort": 5432,
				"dbName": "onlyoffice",
				"dbUser": "onlyoffice",
				"dbPass": "onlyoffice",
				"charset": "utf8",
				"connectionlimit": 10,
				"max_allowed_packet": 1048575,
				"pgPoolExtraOptions": {},
				"damengExtraOptions": {},
				"oracleExtraOptions": {},
				"msSqlExtraOptions": {
					"options": {
						"encrypt": false,
						"trustServerCertificate": true
					}
				}
			},
			"redis": {
				"name": "redis",
				"prefix": "ds:",
				"host": "127.0.0.1",
				"port": 6379,
				"options": {},
				"optionsCluster": {},
				"iooptions": {},
				"iooptionsClusterNodes": [
				],
				"iooptionsClusterOptions": {}
			},
			"pubsub": {
				"maxChanges": 1000
			},
			"expire": {
				"saveLock": 60,
				"presence": 300,
				"locks": 604800,
				"changeindex": 86400,
				"lockDoc": 30,
				"message": 86400,
				"lastsave": 604800,
				"forcesave": 604800,
				"forcesaveLock": 5000,
				"saved": 3600,
				"documentsCron": "0 */2 * * * *",
				"files": 86400,
				"filesCron": "00 00 */1 * * *",
				"filesremovedatonce": 100,
				"sessionidle": "1h",
				"sessionabsolute": "30d",
				"sessionclosecommand": "2m",
				"pemStdTTL": "1h",
				"pemCheckPeriod": "10m",
				"updateVersionStatus": "5m",
				"monthUniqueUsers": "1y"
			},
			"ipfilter": {
				"rules": [{"address": "*", "allowed": true}],
				"useforrequest": false,
				"errorcode": 403
			},
			"request-filtering-agent" : {
				"allowPrivateIPAddress": true,
				"allowMetaIPAddress": true
			},
			"secret": {
				"browser": {"string": "secret", "file": ""},
				"inbox": {"string": "secret", "file": ""},
				"outbox": {"string": "secret", "file": ""},
				"session": {"string": "secret", "file": ""}
			},
			"token": {
				"enable": {
					"browser": false,
					"request": {
						"inbox": false,
						"outbox": false
					}
				},
				"browser": {
					"secretFromInbox": true
				},
				"inbox": {
					"header": "Authorization",
					"prefix": "Bearer ",
					"inBody": false
				},
				"outbox": {
					"header": "Authorization",
					"prefix": "Bearer ",
					"algorithm": "HS256",
					"expires": "5m",
					"inBody": false,
					"urlExclusionRegex": ""
				},
				"session": {
					"algorithm": "HS256",
					"expires": "30d"
				},
				"verifyOptions": {
					"clockTolerance": 60
				}
			},
			"plugins": {
				"uri": "/sdkjs-plugins",
				"autostart": []
			},
			"themes": {
				"uri": "/web-apps/apps/common/main/resources/themes"
			},
			"editor":{
				"spellcheckerUrl": "",
				"reconnection":{
					"attempts": 50,
					"delay": "2s"
				},
				"binaryChanges": false,
				"websocketMaxPayloadSize": "1.5MB",
				"maxChangesSize": "0mb"
			},
			"sockjs": {
				"sockjs_url": "",
				"disable_cors": true,
				"websocket": true
			},
			"socketio": {
				"connection": {
					"path": "/doc/",
					"serveClient": false,
					"pingTimeout": 20000,
					"pingInterval": 25000,
					"maxHttpBufferSize": 1e8
				}
			},
			"callbackBackoffOptions": {
				"retries": 0,
				"timeout":{
					"factor": 2,
					"minTimeout": 1000,
					"maxTimeout": 2147483647,
					"randomize": false
				},
				"httpStatus": "429,500-599"
			}
		}
	},
	"license" : {
		"license_file": "",
		"warning_limit_percents": 70,
		"packageType": 0
	},
	"FileConverter": {
		"converter": {
			"maxDownloadBytes": 104857600,
			"downloadTimeout": {
				"connectionAndInactivity": "2m",
				"wholeCycle": "2m"
			},
			"downloadAttemptMaxCount": 3,
			"downloadAttemptDelay": 1000,
			"maxprocesscount": 1,
			"fontDir": "null",
			"presentationThemesDir": "null",
			"x2tPath": "null",
			"docbuilderPath": "null",
			"args": "",
			"spawnOptions": {},
			"errorfiles": "",
			"streamWriterBufferSize": 8388608,
			"maxRedeliveredCount": 2,
			"inputLimits": [
				{
				"type": "docx;dotx;docm;dotm",
				"zip": {
					"uncompressed": "50MB",
					"template": "*.xml"
				}
				},
				{
				"type": "xlsx;xltx;xlsm;xltm",
				"zip": {
					"uncompressed": "300MB",
					"template": "*.xml"
				}
				},
				{
				"type": "pptx;ppsx;potx;pptm;ppsm;potm",
				"zip": {
					"uncompressed": "50MB",
					"template": "*.xml"
				}
				}
			]
		}
	}
}

After internal error checkboxes demo server and check sertificate were unchecked while updating page

No, I haven’t. Everything seems to be fine with the redmine and onlyoffice installation but they do not get together.

Hello, @mnt

It seems that you have successfully installed the document server.

What is the IP address of the machine with ONLYOFFICE Docs installed?
Are Redmine and ONLYOFFICE Docs installed on the same machine?

I noticed that you didn’t specify the IP address of the document server machine.

If you installed ONLYOFFICE Docs using Docker, you can find the JWT secret and JWT header using the following command:

docker exec onlyoffice-document-server sudo documentserver-jwt-status.sh

Yes, the document server is installed and working well. Both docker containers are at the same physical machine and I think that I did write an IP. It is 10.161.1.111.

In fact, this was ther first thing I tried to tell Redmine where to get the plugin. The JWT is taken from the docker YAML file, I simply configured the document server to use this particular JWT. In fact, this is what I did - I took the randomly created JWT that the document server made up and inserted it in the docker-compose.yml, it is now supposed to run with it. Isn’t it?

Then I tried to give Redmine an internal address of a container that runs documentserver. I actually created a separate docker network and plugged both containers to it. So, this one did not work either…