richdocuments
richdocuments copied to clipboard
Unable to create new file from template
Describe the bug
When i create a file from a template (either user or system template) I get an error: Unable to create new file from template
File is actually created (with a timestamp that seems to be the date of the deployment of the nextcloud instance) but it does not open in collabora, can only be downloaded. When I re-upload it, it can be opened in collabora.
Server details
Nextcloud version: 21.0.9, 22.2.6, 23.0.3
Version of the richdocuments app 4.2.5 Version of Collabora Online 21.11.4.1
Logs
Nextcloud log (data/nextcloud.log)
No errors log
Browser log
[ERROR] files: Error while creating the new file from template
Object { app: "files", uid: "admin" }
[ConsoleLogger.js:54:18](webpack:///node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
value ConsoleLogger.js:54
value ConsoleLogger.js:80
t TemplatePicker.vue:233
l runtime.js:63
_invoke runtime.js:293
b runtime.js:118
V main.js:1
a main.js:1
(Async: promise callback)
V main.js:1
a main.js:1
(Async: promise callback)
V main.js:1
a main.js:1
Z main.js:1
Z main.js:1
onSubmit TemplatePicker.vue:197
submit TemplatePicker.vue:1
TypeError: OCA.Files.fileActions.getDefaultFileAction(...) is undefined
t TemplatePicker.vue:222
l runtime.js:63
_invoke runtime.js:293
b runtime.js:118
V main.js:1
a main.js:1
promise callback*V main.js:1
a main.js:1
promise callback*V main.js:1
a main.js:1
Z main.js:1
Z main.js:1
onSubmit TemplatePicker.vue:197
submit TemplatePicker.vue:1
I tried different versions of richdocuments app, it seems to be fixed from version 5.0.2. I could not find the commit that fixed it though... @juliushaertl if you have an idea on what fixed it in the latest releases, I could have a try to backport it ( i'm not ready to update to nextcloud 23 just yet). Thanks
Same here. See #26672
I seem to be running into the same issue with Nextcloud on Kubrenetes, container image 24.0.5-apache
, installed with nc helm chart version 3.1.2
Try to click the "Nextcloud Office" again to let it reset the server.