This bug doesn’t belong with the Database of Nextcloud,
I also created it with UTF-8 Character Set.
It belongs with Docker config or Collabora image who have a problem with character set.
My Nextcloud tables are all using UTF8 also, so it cannot be related.
Looking at the error message I think it is related on how special chars are encoded in the URI retrieved by collabora. It is somewhat not encoded properly, or not decoded properly before processing it:
Failed to load: file:///user/docs/391/test**%C3%A9**.ods
On the docker side the character set is on POSIX so ANSCII.
I’ve made an apt-get update and apt-get install locale
i can made a dpkg-reconfigure locales and chose 191 en_US.UTF8
but i cannot change the default LANG etc to en_US.UTF8…
I’m still on the search if some could help at the same time…
I had the same error and solved the problem by adding an environment setting to the initial docker run command: “sudo docker run… -e LANG=C.UTF-8 collabora/code”
Here is my starter line :
docker run -t -d -p 127.0.0.1:9980:9980 -e LANG=C.UTF8 -e “domain=nextcloud.mydomain.com” --restart always --cap-add MKNOD collabora/code
I enter into docker with bash : docker exec -i -t CONTAINER ID /bin/bash
and ask locale : i got everything in C.UTF8
I start to edit a file called : éssai.ods and i got the same error :
Failed to load: file:///user/docs/33/%C3%A9ssai.ods, error: Unsupported URL <file:///user/docs/33/%C3%A9ssai.ods>: “type detection failed”
I made both.
First i used docker on my VPS at OVH
Then i wanted to compile loolwsd and loleaflet but for that i had to compile libreoffice too (1GB just the files from git)
I started to compile LO and then no space left have to stop (5GB used just for LO compile). I only have 10GB on my VPS so i gave up.
Then they said me that i can make docker cp CONTENER_ID:/pathorigin/ /pathdestination/ to have LOOL working without docker.
So i lunch myself in the oddysee and wrote my problems on this topic.
Finally it’s quite handy because it’s just files to copy and loolwsd.xml to edit. No need of apache proxy mod. You use the same certs as your nextcloud server. You don’t wait 20 sec. per files. You don’t use docker. Great