Collabora Template

Hello,

I just did a fresh install of nextcloud and collabora. When i try to create a doc I get a pop up that ask me to select a template. I get an error after that. I can open docs I upload but can’t create new ones. On the setting page for Collabora online I have 3 templates listed under global templates names empty. I can not delete them as I get an error. I can’t find a similar issue online. Please help.

1 Like

These are the errors I am seeing:

Error PHP Undefined index: preview at /var/www/html/apps/richdocuments/templates/admin.php#81 2019-01-24T15:28:51-0800
Error PHP Undefined index: delete at /var/www/html/apps/richdocuments/templates/admin.php#84 2019-01-24T15:28:51-0800

Same error here… Seems that there is missing template documents but some db records says they should be there.

Same error here!

Error PHP Undefined index: delete at /config/www/nextcloud/apps/richdocuments/templates/admin.php#84
2019-01-26T19:12:14+0200
Error PHP Undefined index: preview at /config/www/nextcloud/apps/richdocuments/templates/admin.php#81
2019-01-26T19:12:14+0200
Error PHP Undefined index: delete at /config/www/nextcloud/apps/richdocuments/templates/admin.php#84
2019-01-26T19:12:14+0200
Error PHP Undefined index: preview at /config/www/nextcloud/apps/richdocuments/templates/admin.php#81
2019-01-26T19:12:14+0200
Error PHP Undefined index: delete at /config/www/nextcloud/apps/richdocuments/templates/admin.php#84
2019-01-26T19:12:14+0200
Error PHP Undefined index: preview at /config/www/nextcloud/apps/richdocuments/templates/admin.php#81
2019-01-26T19:12:14+0200
Error PHP Undefined index: delete at /config/www/nextcloud/apps/richdocuments/templates/admin.php#84
2019-01-26T19:12:14+0200
Error PHP Undefined index: preview at /config/www/nextcloud/apps/richdocuments/templates/admin.php#81
2019-01-26T19:12:14+0200
Error PHP Undefined index: delete at /config/www/nextcloud/apps/richdocuments/templates/admin.php#84
2019-01-26T19:12:14+0200
Error PHP Undefined index: preview at /config/www/nextcloud/apps/richdocuments/templates/admin.php#81
2019-01-26T19:12:14+0200
Error PHP Undefined index: delete at /config/www/nextcloud/apps/richdocuments/templates/admin.php#84
2019-01-26T19:12:14+0200
Error PHP Undefined index: preview at /config/www/nextcloud/apps/richdocuments/templates/admin.php#81
2019-01-26T19:12:14+0200

Same error here!
my server informations:
Client:
Version: 18.06.0-ce
CentOS Linux release 7.5.1804 (Core)

i can not create any office files. and i can not create a Templates.
please fix it. thanks.

Having the same issue.
I can open existing ones and if I create new ones I have to mark the single template (it gets a blue surrounding) and click create.
The log complains about the same missing richdocuments as mentioned.

I see to error here, one the missing templates or the wrong path expected from the plugin (in my case CODE is running as a docker).
The Second, if there is only one template, why do I need to mark it before “creating” it, this should be done automatically.

image
image

this issue is known, see here https://github.com/nextcloud/richdocuments/issues/359 for a workaround: you must manually supply templates for all users to make it work.

2 Likes

thanks for the answer.

I now have the same mistakes. The NextCloud server is completely new installed. Question: Can I completely disable this function of the templates? This totally annoys.
Thank you.