Some errors with docker image

hi
i have a CODE (23.05 official image) instance deployed on Kubernetes cluster and i’m using it with Moodle plugin. Everything seems ok but i have some errors on logs :

wsd-00001-00098 2023-07-29 22:38:14.794552 +0200 [ docbroker_005 ] ERR Invalid or missing JSON in WOPI::PutFile HTTP_OK response.| wsd/Storage.cpp:1484
wsd-00001-00098 2023-07-29 22:41:58.827799 +0200 [ docbroker_005 ] ERR #26: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1122 

how can i correct them ?

I also have this message,

WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/hosts] is out-of-date. Will have to copy sysTemplate to jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:524 

but I can’t execute the command coolconfig update-system-template
as root

thank you for your help :slight_smile:

we are very glad to see more accessibility with 23.05.

Hey @rimkov,

Thanks for the question.

Can you give a little more info, like:

  • What OS are you on?
  • Which exact version/s you are running?
    • In Collabora Online, in Help > About, a little copy button exists too.

Everything seems ok but i have some errors on logs :

Hmmm, I did a little search for:

  • WOPI::PutFile
  • ECONNRESET: Connection reset by peer
  • + Collabora

and it seems like most of those are errors where people are failing to load/open/create their documents.

You said it’s working fine though… so… maybe everything’s okay? :stuck_out_tongue:

The closest I could find was this issue:

where there was lots of discussion and a user also had your line:

  • Invalid or missing JSON in WOPI::PutFile HTTP_OK response.

Maybe there’s some other useful info in there.


On your warning:

WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/hosts] is out-of-date. […]

Do the instructions here help?

hi!

thank you, i’m using the official docker image 23.05.2.2.1
indeed everything works so if I can ignore them I will :wink:

Do the instructions here help?

i found these instructions, but i cannot execute this command because i’m not root due to the official docker image.

systemplate directory is owned by root

i tried to make a custom image from packages and removed USER 100 from the original Dockerfile but now i cannot run cool :

Failed to initialize COOLWSD: Do not run as root. Please run as cool user.
-00001 2023-08-22 07:41:34.630244 +0000 [ coolwsd ] FTL  Failed to initialize COOLWSD: Do not run as root. Please run as cool user.| wsd/COOLWSD.hpp:514
Do not run as root. Please run as cool user.

so how can we update systemplate ? thank you