Installation complete, but example run fails with error

Document Server version:
OnlyOffice Document Server 8.2.2

Type of installation of the Document Server:
Docker, using the following Docker Compose file:

services:
  onlyoffice-documentserver:
    image: onlyoffice/documentserver:8.2.2
    container_name: onlyoffice-documentserver
    ports:
      - '12700:80'
    environment:
      - DB_TYPE=mariadb
      - DB_HOST
      - DB_PORT
      - DB_NAME
      - DB_USER
      - DB_PWD
      - AMQP_URI
      - REDIS_SERVER_HOST
      - REDIS_SERVER_PORT
      - REDIS_SERVER_PASS
      - JWT_ENABLED=true
      - JWT_SECRET
      - JWT_HEADER=Authorization
      - JWT_IN_BODY=true
      - ALLOW_META_IP_ADDRESS=true
      - ALLOW_PRIVATE_IP_ADDRESS=true
    volumes:
      - smb_onlyoffice_logs_volume:/var/log/onlyoffice
      - smb_onlyoffice_data_volume:/var/www/onlyoffice/Data
      - smb_onlyoffice_lib_volume:/var/lib/onlyoffice
      - smb_onlyoffice_conf_volume:/etc/onlyoffice/documentserver
    stdin_open: true
    stop_grace_period: 60s
    restart: always

volumes:
  smb_onlyoffice_data_volume:
    driver: local
    driver_opts:
      type: cifs
      o: username=${SMB_USERNAME},password=${SMB_PASSWORD},uid=0,gid=0,file_mode=0777,dir_mode=0777,vers=3.0
      device: "//192.168.1.201/OnlyOffice/data"
  smb_onlyoffice_logs_volume:
    driver: local
    driver_opts:
      type: cifs
      o: username=${SMB_USERNAME},password=${SMB_PASSWORD},uid=0,gid=0,file_mode=0777,dir_mode=0777,vers=3.0
      device: "//192.168.1.201/OnlyOffice/logs"
  smb_onlyoffice_lib_volume:
    driver: local
    driver_opts:
      type: cifs
      o: username=${SMB_USERNAME},password=${SMB_PASSWORD},uid=0,gid=0,file_mode=0777,dir_mode=0777,vers=3.0
      device: "//192.168.1.201/OnlyOffice/lib"
  smb_onlyoffice_conf_volume:
    driver: local
    driver_opts:
      type: cifs
      o: username=${SMB_USERNAME},password=${SMB_PASSWORD},uid=0,gid=0,file_mode=0777,dir_mode=0777,vers=3.0
      device: "//192.168.1.201/OnlyOffice/conf"

OS:
debian 12 (LXC in PVE 8.3.2)
docker 27.4.1

Browser version:
latest Edge Chrome

Additional information:
Redis, RabbitMQ, and MariaDB are installed in a TrueNAS VM hosted on a PVE server. I’ve confirmed that OnlyOffice can successfully connect to these services. OnlyOffice Document Server is installed in a PVE LXC container using Docker.
When I completed the installation of OnlyOffice and enabled the example test, I encountered an error when trying to open a file:
“An error has occurred while opening the file.”



From the browser’s developer tools, I can see that all requests return with a status of 200 without any exceptions. However, there are issues logged in the browser console:

Server logs show the following:
nginx.error.log:


docservice.out.log:

converter.out.log:

Hello @rock
Please bear in mind that we haven’t tested installation on LXC containers, so we cannot predict possible issues. However, the error entries are related to lack of permissions and I recommend to check your LXC container settings. Just for a test, please try to use separate server (or VM) and check the result.

Also I’ll leave here useful links for our well-tested compose file and system requirements:
https://helpcenter.onlyoffice.com/installation/docs-community-docker-compose.aspx