Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-12640

Unable to start/stop/retrieve status of libreoffice using alfresco.sh

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.0, 4.2.N, 5.0.N
    • Fix Version/s: 4.2.5
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Alfresco OOTB (4.2.4 (r89244-b655) schema 6,067) on RHEl 6.5.

      Description

      alfresco.sh script which is shipped within a linux package is incorrect. Trying to start/stop/retrive status of libreoffice instance doesn't produce any result.
      Steps to reproduce:
      1. Install alfresco OOTB on linux box.
      2. Start alfresco (alfresco.sh start).
      3. Try to get libreoffice status:

      $ ./alfresco.sh status libreoffice
      

      => Output is empty.
      Expected:
      'libreoffice already running'
      4. Same problem with start and stop: nothing happens and nothing is displayed.

      The reason is that alfresco.sh expects libreoffice control script to be in

      LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/ctl.sh
      

      but the script located at

      LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/libreoffice_ctl.sh

      Changing this line in alfresco.sh solves an issue.

      It's hard to say if this is a regression because we have no such a test case (so it never been tested).

      Pavel Kazlenka

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                alfrescoqa Alfresco QA Team (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 30 minutes
                  7h 30m

                    Structure Helper Panel