redmine_preview_office
redmine_preview_office copied to clipboard
Not working with a Bitnami stack
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.
I solved the problem.
I set the Windows path to run soffice.bin in the Libre Office.
@damduck01 could you please tell me how do this?
To add - I am using the stack on Ubuntu Server 16.04 LTS.
@Andrey77711 I don't speak English well. I recommend you to look at the link below. https://www.computerhope.com/issues/ch000549.htm
@damduck01 thanks. i will try. by the way anybody tried to configure incoming emails to issues on bitnami , installed on windows x64?
I'm also using bitnami stack on Ubuntu and expeirenced the same issue. Seems we have at least 2 points:
- Bitnami rails runtime knows nothing about /usr/bin
- 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
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.