Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
12.2, 11.10.4
-
Ubuntu 18.04.4 LTS, Tomcat/9.0.16 , Postgres 11
-
Unknown
-
N/A
-
N/A
-
Description
[Edit]
Reproduction steps:
- Start XWiki and start an office server
- Check that you can import office page
- Switch it to german
- Check that you can import office page
Expected result:
- You can still import office documents after switching language
Obtained result:
- The UI to import office page is not available anymore
[Original description]
I moved our xwiki installation to a brand new server. i also updated to 12.2 in the process. everything works fine so far - besides the "office importer application". I read the release nodes and migrated the openoffice.serverPorts setting in the xwiki.properties to the new syntax.
the relevant config looks like this:
openoffice.autoStart=true
openoffice.homePath=/usr/lib/libreoffice
openoffice.serverType=0
openoffice.serverPorts=8100,8101
openoffice.maxTasksPerProcess=50
openoffice.taskExecutionTimeout=30000
It looks like the office server is started correctly as "verbunden" which means connected is displayed and i'm able to stop/start the server.
Whats odd is that under "serverport" there aren't the correct ports displayed.
it should read 8100,8101 as defined in the config.
On some restarts the serverport value displayed:
8100.0,8101.0 on others it just reads 8.8 as displayed in the screenshot
The document importing isn't working - the menu items are missing. in ckeditor the button to import office documents is greyed out.
my /var/log/tomcat9/catalina-{date}.out looks clean (attached).
I also tried to enable trace logging for "org.jodconverter.office". after enabling it i restarted the openoffice server with the admin gui - but no events whatsoever were logged in catalina out.
Just for testing i also tried it with only one office instance running on port 8100 using the old and new syntax - but the import still wasn't available.
The extension seems to be installed:
XWIKI is installed on Ubuntu 18.04.4 LTS with latest patches. I run two xwiki-servers connected to the same database - although currently only the first node is published in dns.
Am I missing anything or is this a bug? - I tried to read through all available documentation. Any ideas on how to troubleshoot this further?
Attachments
Issue Links
- is duplicated by
-
XWIKI-17286 OfficeImporter ist not available
- Closed
-
XWIKI-17414 Office Importer Template is not available when language is not english
- Closed
- is related to
-
XWIKI-17041 Office server states are not translated in the administration
- Closed