Skip to content
English
  • There are no suggestions because the search field is empty.

New Office files creation with Collabora

Original Question or Issue:

Whenever I create a new file (Word, PowerPoint, or Excel) and assign any name to it, then press Enter to confirm, I receive an error message.


Environment:

  • Product - FileCloud Server
  • Version - Any
  • Platform - Linux

Steps to Reproduce:

New WOPI integration with Collabora.


Error or Log Message:

WOPI not configured, please contact your administrator.


Defect or Enhancement Number:

 


Cause:

Missing configuration.


Resolution or Workaround:

  • Connect via SSH to the FileCloud server.

  • Create a folder mkdir /opt/templateFiles

  • On your laptop, create new empty office documents named:   template.docx, template.pptx, template.xlxs.

  • Upload the files to the servers in the directory: /opt/templateFiles

  • Update ownership: chown -R www-data:www-data /opt/templateFiles

  • Edit the file /var/www/html/config/cloudconfig.php by adding the parameter below:

    define("WOPI_CLIENT_TEMPLATE_DIR", "/opt/templateFiles");

  • Restart the Message Queue service: systemctl restart fcorchestrator

  • Retry creating new files from User Interface.


Notes: