Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail.
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem.
DocSpace version: 8.1.3-4
Type of installation of the DocSpace (docker, deb/rpm, exe, please point us to the installation guide that you used as well): docker
OS: Ubuntu
Browser version: Firefox 130
Additional information:Nextcloud + Onlyoffice
Nextcloud log
{
"reqId": "9YOJRBY1q3xKdseLsLLu",
"level": 0,
"time": "2024-09-16T14:55:22+00:00",
"remoteAddr": "192.168.90.254",
"user": "admin",
"app": "onlyoffice",
"method": "GET",
"url": "/apps/onlyoffice/205?filePath=%2Ftest.docx",
"message": "Open: 205 /test.docx ",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0",
"version": "29.0.7.1",
"data": {
"app": "onlyoffice"
},
"id": "66e846dd1f9ab"
}
DS log
Temporary Redirect
at Request._callback (/snapshot/server/Common/sources/utils.js)
at Request.self.callback (/snapshot/server/Common/node_modules/request/request.js:185:22)
at Request.emit (node:events:527:28)
at Request.<anonymous> (/snapshot/server/Common/node_modules/request/request.js:1161:10)
at Request.emit (node:events:527:28)
at IncomingMessage.<anonymous> (/snapshot/server/Common/node_modules/request/request.js:1083:12)
at Object.onceWrapper (node:events:641:28)
at IncomingMessage.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2024-09-16T15:32:41.401] [WARN] [localhost] [2174247031] [ocp3cgvshvh1_admin6] nodeJS - storeForgotten
[2024-09-17T01:01:47.235] [WARN] [localhost] [2174247031] [ocp3cgvshvh1_admin] nodeJS - error description: errorId = Other error
tail: /var/log/onlyoffice/documentserver/converter/out.log: file truncated
tail: /var/log/onlyoffice/documentserver/docservice/out.log: file truncated
[2024-09-17T06:57:34.217] [ERROR] [localhost] [2174247031] [ocp3cgvshvh1_admin] nodeJS - postData error: url = http://nc.mscsrv.ru/apps/onlyoffice/track?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJhZG1pbiIsIm93bmVySWQiOiJhZG1pbiIsImZpbGVJZCI6MjA1LCJmaWxlUGF0aCI6Ii90ZXN0LmRvY3giLCJzaGFyZVRva2VuIjpudWxsLCJhY3Rpb24iOiJ0cmFjayJ9.KWppx5f5xzwYJhpfMwM5e9g1OqbK0hULvIeblqG0BA4;data = {"key":"2174247031","status":1,"users":["ocp3cgvshvh1_admin"],"actions":[{"type":1,"userid":"ocp3cgvshvh1_admin"}],"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIyMTc0MjQ3MDMxIiwic3RhdHVzIjoxLCJ1c2VycyI6WyJvY3AzY2d2c2h2aDFfYWRtaW4iXSwiYWN0aW9ucyI6W3sidHlwZSI6MSwidXNlcmlkIjoib2NwM2NndnNodmgxX2FkbWluIn1dLCJpYXQiOjE3MjY1NTYyNTQsImV4cCI6MTcyNjU1NjU1NH0.cTubwgB2haH655jbj9lmnz9DUSa80hwTfiN-biZUBTw"} Error: Error response: statusCode:307; headers:{"location":"https://nc.mscsrv.ru/apps/onlyoffice/track?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJhZG1pbiIsIm93bmVySWQiOiJhZG1pbiIsImZpbGVJZCI6MjA1LCJmaWxlUGF0aCI6Ii90ZXN0LmRvY3giLCJzaGFyZVRva2VuIjpudWxsLCJhY3Rpb24iOiJ0cmFjayJ9.KWppx5f5xzwYJhpfMwM5e9g1OqbK0hULvIeblqG0BA4","date":"Tue, 17 Sep 2024 06:57:34 GMT","content-length":"18","content-type":"text/plain; charset=utf-8"}; body:
Temporary Redirect
at Request._callback (/snapshot/server/Common/sources/utils.js)
at Request.self.callback (/snapshot/server/Common/node_modules/request/request.js:185:22)
at Request.emit (node:events:527:28)
at Request.<anonymous> (/snapshot/server/Common/node_modules/request/request.js:1161:10)
at Request.emit (node:events:527:28)
at IncomingMessage.<anonymous> (/snapshot/server/Common/node_modules/request/request.js:1083:12)
at Object.onceWrapper (node:events:641:28)
at IncomingMessage.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
docker compose section
#OnlyOffice Server
onlyoffice:
container_name: onlyoffice
depends_on:
- mariadb
- onlyoffice-rabbitmq
environment:
- DB_TYPE=mysql
- DB_HOST=mariadb
- DB_PORT=3306
- DB_NAME=onlyoffice
- DB_USER=onlyoffice
- DB_PWD=$ONLY_OFFICE_MYSQL
- AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
- JWT_ENABLED=true
- JWT_SECRET=$JWT_SECRET
- JWT_HEADER=Authorization
- JWT_IN_BODY=true
image: onlyoffice/documentserver:latest
networks:
- t2_proxy
stdin_open: true
tty: true
restart: always
labels:
- "traefik.enable=true"
- "traefik.docker.network=t2_proxy"
## HTTP Routers
- "traefik.http.routers.onlyoffice-rtr.entrypoints=https"
- "traefik.http.routers.onlyoffice-rtr.rule=Host(`onlyoffice.$DOMAINNAME_CLOUD_SERVER`)"
- "traefik.http.routers.onlyoffice-rtr.tls=true"
- "traefik.http.routers.onlyoffice-rtr.middlewares=onlyoffice-headers"
- "traefik.http.middlewares.onlyoffice-headers.headers.customrequestheaders.X-Forwarded-Proto=https"
- "traefik.http.middlewares.onlyoffice-headers.headers.accesscontrolalloworiginlist=*"
## HTTP Services
- "traefik.http.routers.onlyoffice-rtr.service=onlyoffice-svc"
- "traefik.http.services.onlyoffice-svc.loadbalancer.server.port=80"
volumes:
- $DOCKERDIR/appdata/onlyoffice/document_data:/var/www/onlyoffice/Data
- $DOCKERDIR/appdata/onlyoffice/document_log:/var/log/onlyoffice
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq
networks:
- t2_proxy
restart: always
expose:
- '5672'
root@17e009c5e365:/var/log/onlyoffice/documentserver/docservice# cat out.log
[ERROR] [localhost] [2174247031] [ocp3cgvshvh1_admin] nodeJS - postData error: url = http://nc.mscsrv.ru/apps/onlyoffice/track?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJhZG1pbiIsIm93bmVySWQiOiJhZG1pbiIsImZpbGVJZCI6MjA1LCJmaWxlUGF0aCI6Ii90ZXN0LmRvY3giLCJzaGFyZVRva2VuIjpudWxsLCJhY3Rpb24iOiJ0cmFjayJ9.KWppx5f5xzwYJhpfMwM5e9g1OqbK0hULvIeblqG0BA4;data = {"key":"2174247031","status":1,"users":["ocp3cgvshvh1_admin"],"actions":[{"type":1,"userid":"ocp3cgvshvh1_admin"}],"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIyMTc0MjQ3MDMxIiwic3RhdHVzIjoxLCJ1c2VycyI6WyJvY3AzY2d2c2h2aDFfYWRtaW4iXSwiYWN0aW9ucyI6W3sidHlwZSI6MSwidXNlcmlkIjoib2NwM2NndnNodmgxX2FkbWluIn1dLCJpYXQiOjE3MjY1NTYyNTQsImV4cCI6MTcyNjU1NjU1NH0.cTubwgB2haH655jbj9lmnz9DUSa80hwTfiN-biZUBTw"} Error: Error response: statusCode:307; headers:{"location":"https://nc.mscsrv.ru/apps/onlyoffice/track?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJhZG1pbiIsIm93bmVySWQiOiJhZG1pbiIsImZpbGVJZCI6MjA1LCJmaWxlUGF0aCI6Ii90ZXN0LmRvY3giLCJzaGFyZVRva2VuIjpudWxsLCJhY3Rpb24iOiJ0cmFjayJ9.KWppx5f5xzwYJhpfMwM5e9g1OqbK0hULvIeblqG0BA4","date":"Tue, 17 Sep 2024 06:57:34 GMT","content-length":"18","content-type":"text/plain; charset=utf-8"}; body:
Temporary Redirect
at Request._callback (/snapshot/server/Common/sources/utils.js)
at Request.self.callback (/snapshot/server/Common/node_modules/request/request.js:185:22)
at Request.emit (node:events:527:28)
at Request.<anonymous> (/snapshot/server/Common/node_modules/request/request.js:1161:10)
at Request.emit (node:events:527:28)
at IncomingMessage.<anonymous> (/snapshot/server/Common/node_modules/request/request.js:1083:12)
at Object.onceWrapper (node:events:641:28)
at IncomingMessage.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)