Page 1 of 1

Docker Community Image / Image Preview dont work

PostPosted:Tue May 19, 2020 8:16 am
by ibaxx
Hi,

I have set up a docker Community image on my Synology NAS.
It works well and i am working on a structure for my private files.

ahve tried many files and ocr works well.
Only one big issue:
when i preview image files, i got the error:
There was a problem with the conversion generation.

PDFs working well.

Now i am confused. looking aroud in the forum brings trouble with libreoffice service, imagemagick bugs and also linking libreoffeice container to the docker...

what should i check?

Regards
Ingo

Re: Docker Community Image / Image Preview dont work

PostPosted:Tue May 19, 2020 8:18 am
by ibaxx
word preview is working

Re: Docker Community Image / Image Preview dont work

PostPosted:Tue May 19, 2020 6:06 pm
by jllort
Did you download the official release of OpenKM in docker? You should use this one https://hub.docker.com/r/openkm/openkm-ce this is officially maintained by us.

Re: Docker Community Image / Image Preview dont work

PostPosted:Tue May 19, 2020 8:10 pm
by ibaxx
Sure! I am using the official image

Re: Docker Community Image / Image Preview dont work

PostPosted:Tue May 26, 2020 3:57 am
by pavila
I don't have a Synology NAS to test, so I can't reproduce the same environment but I've tested on my computer and works fine. I would rather recommend you to test in a regular computer, so you can verify it's working properly and maybe it's an issue related to the NAS.

Or attach a couple of documents so I can test them.

Regards.

Re: Docker Community Image / Image Preview dont work

PostPosted:Tue May 26, 2020 1:05 pm
by ibaxx
Hi, I figuered out, it is a problem with this official image.

I wrote a dockerfile to setup an own tomcat based installation... there the preview works great on all files.
now i have only some db issues... openkm writing okmdb.log and other files with sql statements to the repository folder...
but nothing to my mariadb...

where can i check the logs?

Re: Docker Community Image / Image Preview dont work

PostPosted:Tue May 26, 2020 3:01 pm
by pavila
Well, I'm not sure this is a problem related to the image because I have verified it works and I have no seen any other user with this problem.

Re: Docker Community Image / Image Preview dont work

PostPosted:Mon Aug 17, 2020 1:07 pm
by HugoHiasl
Same issue here.

Docker Desktop for Windows running the container.

Seems to be an authorization issue.

OpenKM.log shows the attached error:
log file entry when trying to preview .jpg file.
log file entry when trying to preview .jpg file.
2020-08-17 15_02_47-192.168.10.60 - Remotedesktopverbindung.png (348.93 KiB) Viewed 8185 times
Maybe this helps you to track down the issue.

Thanks.

Re: Docker Community Image / Image Preview dont work

PostPosted:Mon Aug 17, 2020 2:31 pm
by HugoHiasl
I checked further.

Just change policy.xml in /etc/ImageMagic6.

Replcace rights="none" with rights="read|write" for some entries regarding to:
https://stackoverflow.com/questions/429 ... dimage-453

2020-08-17 16_29_34-192.168.10.60 - Remotedesktopverbindung.png
2020-08-17 16_29_34-192.168.10.60 - Remotedesktopverbindung.png (29.07 KiB) Viewed 8183 times

Re: Docker Community Image / Image Preview dont work

PostPosted:Wed Aug 19, 2020 4:14 pm
by jllort
The issue is commented in our documentation https://docs.openkm.com/kcenter/view/ok ... ge412.html

Re: Docker Community Image / Image Preview dont work

PostPosted:Fri Aug 21, 2020 8:28 am
by pavila
This issue should be present in latest Docker image. Which version are you using?

Re: Docker Community Image / Image Preview dont work

PostPosted:Fri Aug 21, 2020 11:38 am
by HugoHiasl
Thats possible. I checked and saw that the image was downloaded in March already.

I will try to delete the image and get the newest to have all enhancements included.
Thanks for your response.
2020-08-21 13_35_18-Portainer.png
2020-08-21 13_35_18-Portainer.png (15.34 KiB) Viewed 8140 times

Re: Docker Community Image / Image Preview dont work

PostPosted:Sat Aug 22, 2020 6:03 pm
by pavila
Great. Keep me informed.