Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17194

XWIKI Office Importer options not available after server started

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.3, 11.10.5
    • 12.2, 11.10.4
    • Office
    • 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

        1. catalina.out
          7 kB
          Stefan Winkler
        2. catalina-without-autostart.out
          32 kB
          Stefan Winkler
        3. image-2020-04-08-19-37-04-403.png
          69 kB
          Stefan Winkler
        4. image-2020-04-08-19-53-35-563.png
          15 kB
          Stefan Winkler
        5. image-2020-04-09-17-11-14-717.png
          40 kB
          Stefan Winkler
        6. image-2020-04-10-17-31-16-039.png
          14 kB
          Stefan Winkler
        7. image-2020-04-10-17-39-50-413.png
          34 kB
          Stefan Winkler
        8. image-2020-04-16-16-55-45-249.png
          44 kB
          Stefan Winkler
        9. image-2020-04-16-16-59-04-653.png
          38 kB
          Stefan Winkler
        10. image-2020-04-16-17-04-00-224.png
          25 kB
          Stefan Winkler
        11. image-2020-04-16-17-06-04-064.png
          32 kB
          Stefan Winkler
        12. image-2020-04-16-17-08-25-477.png
          9 kB
          Stefan Winkler
        13. image-2020-04-16-17-25-57-223.png
          19 kB
          Stefan Winkler
        14. image-2020-04-16-18-39-20-403.png
          33 kB
          Stefan Winkler
        15. image-2020-04-20-19-02-38-247.png
          20 kB
          SigWiki
        16. image-2020-04-20-19-02-57-404.png
          12 kB
          SigWiki
        17. image-2020-04-20-19-03-32-563.png
          19 kB
          SigWiki

        Issue Links

          Activity

            People

              surli Simon Urli
              swinkler Stefan Winkler
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: