Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-2165

Ambari server upgrade fails when upgrading second time

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.4
    • 1.2.4
    • None
    • None

    Description

      Running upgrade second time.
      Error in PREUN scriptlet in rpm package ambari-server
      Cleanup : ambari-log4j-1.2.2.5-1.noarch 3/4
      mv: cannot move `/etc/ambari-server/conf' to `/etc/ambari-server/conf.save/conf': Directory not empty
      error: %preun(ambari-server-1.2.2.5-1.noarch) scriptlet failed, exit status 1

      This happens when the a prior upgrade left conf.save which in turn has a conf folder due to a second upgrade. So the third attempt fails.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sumitmohanty Sumit Mohanty
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment