redmine_preview_office icon indicating copy to clipboard operation
redmine_preview_office copied to clipboard

Not working with a Bitnami stack

Open ghost opened this issue 6 years ago • 7 comments

I have a Redmine 3.4.5 Bitnami stack, where the plugin is installed correctly. However I have installed LibreOffice, but the redmine application cannot see it. In info it is coming not available.

What scenario will we need to test for LibreOffice first?

To add - I am using the stack on Ubuntu Server 16.04 LTS.

ghost avatar Aug 23 '18 07:08 ghost

I solved the problem.

I set the Windows path to run soffice.bin in the Libre Office.

damduck01 avatar Aug 24 '18 01:08 damduck01

@damduck01 could you please tell me how do this?

Andrey77711 avatar Aug 27 '18 05:08 Andrey77711

To add - I am using the stack on Ubuntu Server 16.04 LTS.

ghost avatar Aug 27 '18 06:08 ghost

@Andrey77711 I don't speak English well. I recommend you to look at the link below. https://www.computerhope.com/issues/ch000549.htm

damduck01 avatar Aug 29 '18 04:08 damduck01

@damduck01 thanks. i will try. by the way anybody tried to configure incoming emails to issues on bitnami , installed on windows x64?

Andrey77711 avatar Aug 31 '18 12:08 Andrey77711

I'm also using bitnami stack on Ubuntu and expeirenced the same issue. Seems we have at least 2 points:

  1. Bitnami rails runtime knows nothing about /usr/bin
  2. soffice (libreoffice tool, used in plugin) fails to run under daemon user

What about (1) - i managed to make a workaround: created script in /opt/bitnami/common/bin to run soffice headless and with bitnami environment With (2) i stacked - i get

[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed! 
Warning: failed to read path from javaldx

executing with "daemon" user, while all is fine with "bitnami" user

danaivehr avatar Sep 13 '18 14:09 danaivehr

Win 7 (x64) Environment: Redmine version 3.4.6.stable Ruby version 2.3.3-p222 (2016-11-21) [i386-mingw32] Rails version 4.2.8 Environment production Database adapter Mysql2

redmine_preview_office 1.0.3

LibreOffice 6.1.2.1 (x64)

Works!

Thanks for advice damduck01

Set the Windows path to run soffice.bin in the Libre Office.

ryurik avatar Oct 23 '18 10:10 ryurik