Help replacing empty document template in collabora online

Nextcloud version : 30.0.2
Operating system and version: Debian GNU/Linux 12 (bookworm), Linux raspberrypi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
Apache or nginx version: nginx/1.22.1
PHP version: 8.3.12

The issue you are facing:

I have added a new document.ott with the fonts, language and track changes settings I wish for in /mnt/external-drive/projects/nextcloud/data/appdata_[id]/richdocuments/empty_templates, but this is not reflected in Nextcloud. I don’t know if this is because I am using a standalone Collabora server, and the above is for the built-in, as the docs don’t make this clear to me.

Is this the first time you’ve seen this error? (Y/N):

Y

Steps to replicate it:

  1. Upload alternative document.ott to /mnt/external-drive/projects/nextcloud/data/appdata_[id]/richdocuments/empty_templates
  2. Create new document after restarting coolwsd.service.
  3. See that changes are not reflected when selecting the empty template.

The output of your Nextcloud log in Admin > Logging, empty error message with the following, happens with any document created:

{"reqId":"Qnb8NKCwYQY9f0SfAUur","level":3,"time":"2024-11-09T13:46:10+00:00","remoteAddr":"192.168.1.1","user":"DeviantEgg","app":"richdocuments","method":"GET","url":"/ocs/v2.php/apps/files/api/v1/templates","message":"","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0","version":"30.0.2.2","data":{"app":"richdocuments"},"id":"672f67b613da1"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => ''
  'passwordsalt' => ''
  'secret' => ''
  'trusted_domains' => 
  array (
    2 => 'example.com'
    1 => 'public ip here',
  ),
  'datadirectory' => '/mnt/external-drive/projects/nextcloud/data',
  'dbtype' => 'pgsql',
  'version' => '30.0.2.2',
  'overwrite.cli.url' => 'https://collabora.example.com',
  'dbname' => ''
  'dbhost' => 'localhost:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '',
  'dbpassword' => ''
  'default_phone_region' => 'DK',
  'installed' => true,
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'password' => '',
    'timeout' => 1.5,
  ),
  'maintenance_window_start' => '03:00',
  'maintenance_window_end' => '05:00',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'theme' => '',
  'loglevel' => 0,
);

The output of your Apache/nginx/system log in /var/log/nginx/collabora.error, happens with any document:

2024/11/09 14:46:27 [error] 57211#57211: *13625 open() "/usr/share/nginx/html/mnt/external-drive/projects/nextcloud/data/.ncdata" failed (2: No such file or directory), client: 192.168.1.1, server: collabora.kommunistiskungdom.dk, request: "GET /mnt/external-drive/projects/nextcloud/data/.ncdata HTTP/1.1", host: "185.105.180.210"

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.