Skip to content

ONLYOFFICE Integration with OpenCloud v.6.2.0 #2753

@sherbettt

Description

@sherbettt

Describe the problem

I'm trying to integrate ONLYOFFICE with OpenCloud (version 6.2.0, rolling, from official release binary).
I need the "Open in OnlyOffice" button for office files (xlsx, docx, pptx).

I have already:

  • Added DNS A records for office.runtel.ru and wopi.runtel.ru pointing to the same IP as oc.runtel.ru.
  • Configured Nginx to proxy:
    • office.runtel.ruhttp://127.0.0.1:8000 (ONLYOFFICE Document Server)
    • wopi.runtel.ruhttp://127.0.0.1:9300 (OpenCloud collaboration server)
  • Added the external_apps section to /home/opencloud/.opencloud/config/opencloud.yaml (see below).
  • collaboration service is running and listens on ports 8081 (gRPC) and 8082 (debug). No HTTP port 8080.
  • opencloud.service works fine, users can log in.

Problem:

  • The web UI never shows the "Open in OnlyOffice" menu item for xlsx files.
  • curl https://oc.runtel.ru/api/v0/apps returns the SPA HTML page, not a JSON list of apps.
  • No errors in logs regarding external_apps.

Configuration (snippet):

collaboration:
  wopi:
    secret: "<secret>"
  app:
    product: "OnlyOffice"
    address: "https://office.runtel.ru"
    insecure: true

external_apps:
  - id: onlyoffice
    name: OnlyOffice
    description: "Collaborate on office documents"
    icon: "image-edit"
    url: "https://office.runtel.ru"
    mime_types:
      - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
      - "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
      - "application/vnd.openxmlformats-officedocument.presentationml.presentation"
    extensions:
      - "xlsx"
      - "docx"
      - "pptx"

Question:
Does OpenCloud 6.2.0 rolling still support external_apps?
If yes, what is the correct way to make the frontend recognise it?
If not, what is the recommended method to integrate external applications like ONLYOFFICE?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions