Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-47806

7.0 Windows installer always rollbacks during install

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0.0
    • Neo, 7.0.2
    • installer
    • Untriaged
    • Windows 64-bit
    • 1
    • Unknown
    • Build Team 2021 Sprint 16, Build Team 2021 Sprint 17

    Description

      Summary

      At least, on my machine.

      I've downloaded 7.0 enterprise from the website (https://packages.couchbase.com/releases/7.0.0/couchbase-server-enterprise_7.0.0-windows_amd64.msi).  Installing it starts copying the files, but then hits an error and rollsback.  I tried a machine restart.  I made sure to uninstall the old Couchbase Server first, and then removed the c:\Program Files\Couchbase directory as well.  Neither helped.

      Workaround

      (Via Ming)

      • Right-click cmd.exe and choose "run as administrator"
      • Launch couchbase installer via "call couchbase-server-enterprise_7.0.0-windows_amd64.msi"

      Details

      I followed these directions to enable installer logging.  While I'm not keen on uploading as it's a huge file with seems to contain lots of details of my personal (non-work) machine, I can C&P what seems to be the relevant snippet, which looks to be that something goes wrong with the Python install:

       

      MSI (s) (08:28) [12:19:11:871]: Executing op: CustomActionSchedule(Action=RollbackInstallCbpy,ActionType=1345,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c "rmdir /s /q "C:\Program Files\Couchbase\Server\lib\python\runtime"")
      MSI (s) (08:28) [12:19:11:872]: Executing op: ActionStart(Name=InstallCbpy,Description=Installing Python 3,)
      Action 12:19:11: InstallCbpy. Installing Python 3
      MSI (s) (08:28) [12:19:11:873]: Executing op: CustomActionSchedule(Action=InstallCbpy,ActionType=1025,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime")
      MSI (s) (08:28) [12:19:11:894]: Creating MSIHANDLE (85) of type 790536 for thread 21800
      MSI (s) (08:4C) [12:19:11:894]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI313C.tmp, Entrypoint: WixQuietExec64
      MSI (s) (08!A0) [12:19:11:982]: Creating MSIHANDLE (86) of type 790531 for thread 3232
      WixQuietExec64:  Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI313C.tmp, version 3.11.4516.0
      MSI (s) (08!A0) [12:19:11:982]: Closing MSIHANDLE (86) of type 790531 for thread 3232
      MSI (s) (08!A0) [12:19:11:983]: Creating MSIHANDLE (87) of type 790531 for thread 3232
      WixQuietExec64:  "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime"
      MSI (s) (08!A0) [12:19:11:983]: Closing MSIHANDLE (87) of type 790531 for thread 3232
      MSI (s) (08:4C) [12:19:12:205]: Closing MSIHANDLE (85) of type 790536 for thread 21800
      MSI (s) (08:28) [12:19:12:206]: Executing op: ActionStart(Name=FixConfig,,)
      Action 12:19:12: FixConfig. 
      MSI (s) (08:28) [12:19:12:207]: Executing op: CustomActionSchedule(Action=FixConfig,ActionType=3073,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths")
      MSI (s) (08:28) [12:19:12:208]: Creating MSIHANDLE (88) of type 790536 for thread 21800
      MSI (s) (08:F0) [12:19:12:208]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI3295.tmp, Entrypoint: WixQuietExec64
      MSI (s) (08:E0) [12:19:12:208]: Generating random cookie.
      MSI (s) (08:E0) [12:19:12:209]: Created Custom Action Server with PID 4380 (0x111C).
      MSI (s) (08:C8) [12:19:12:226]: Running as a service.
      MSI (s) (08:C8) [12:19:12:228]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
      MSI (s) (08!B4) [12:19:12:241]: Creating MSIHANDLE (89) of type 790531 for thread 9140
      WixQuietExec64:  Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI3295.tmp, version 3.11.4516.0
      MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (89) of type 790531 for thread 9140
      MSI (s) (08!B4) [12:19:12:242]: Creating MSIHANDLE (90) of type 790531 for thread 9140
      WixQuietExec64:  "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths"
      MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (90) of type 790531 for thread 9140
      MSI (s) (08!B4) [12:19:12:275]: Creating MSIHANDLE (91) of type 790531 for thread 9140
      WixQuietExec64:  C:\Program Files\Couchbase\Server\bin\..\lib\python\runtime\python.exe does not exist!
      MSI (s) (08!B4) [12:19:12:276]: Closing MSIHANDLE (91) of type 790531 for thread 9140
      MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (92) of type 790531 for thread 9140
      WixQuietExec64:  Error 0x80070001: Command line returned an error.
      MSI (s) (08!B4) [12:19:12:277]: Closing MSIHANDLE (92) of type 790531 for thread 9140
      MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (93) of type 790531 for thread 9140
      WixQuietExec64:  Error 0x80070001: QuietExec64 Failed
      MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (93) of type 790531 for thread 9140
      MSI (s) (08!B4) [12:19:12:278]: Creating MSIHANDLE (94) of type 790531 for thread 9140
      WixQuietExec64:  Error 0x80070001: Failed in ExecCommon method
      MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (94) of type 790531 for thread 9140
      CustomAction FixConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
      MSI (s) (08:F0) [12:19:12:279]: Closing MSIHANDLE (88) of type 790536 for thread 21800
      Action ended 12:19:12: InstallFinalize. Return value 3.
      MSI (s) (08:28) [12:19:12:295]: Note: 1: 2265 2:  3: -2147287035 
      MSI (s) (08:28) [12:19:12:296]: User policy value 'DisableRollback' is 0
      MSI (s) (08:28) [12:19:12:296]: Machine policy value 'DisableRollback' is 0
      MSI (s) (08:28) [12:19:12:297]: Note: 1: 2318 2:  
      MSI (s) (08:28) [12:19:12:301]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1393123936,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
      MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=0,Argument=1033)
      MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=1,Argument=Couchbase Server 7.0.0-5302 Enterprise Edition)
      MSI (s) (08:28) [12:19:12:302]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
      Action 12:19:12: Rollback. Rolling back action:
      Rollback: FixConfig
       

      I have some older builds, I've just tried to install

      couchbase-server-enterprise_7.0.0-4907-windows_amd64-unsigned.msi - failed, briefly flashed something about Python before rolling back so likely same issue

      couchbase-server-enterprise_7.0.0-3638-windows_amd64.msi - succeeds

      couchbase-server-enterprise_6.6.0-7862-windows_amd64.msi - succeeds

      I have about 20 7.0 builds downloaded.  It willl take a while but I could binary search through them to narrow down where the possible regression happened.  Let me know.

      I'm on Windows 10.  Please let me know if there's other diagnostic info I can provide.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-47806
          # Subject Branch Project Status CR V

          Activity

            graham.pople Graham Pople created issue -
            raju Raju Suravarjjala made changes -
            Field Original Value New Value
            Affects Version/s 7.0.0 [ 17233 ]
            raju Raju Suravarjjala made changes -
            Fix Version/s 7.0.2 [ 18012 ]
            ceej Chris Hillery made changes -
            Assignee Couchbase Build Team [ build-team ] Chris Hillery [ ceej ]
            ceej Chris Hillery made changes -
            Sprint Build Team 2021 Sprint 16 [ 1704 ]
            ceej Chris Hillery made changes -
            Rank Ranked lower
            ceej Chris Hillery made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ceej Chris Hillery made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 22853 ]
            drigby Dave Rigby made changes -
            Description At least, on my machine.

            I've downloaded 7.0 enterprise from the website (https://packages.couchbase.com/releases/7.0.0/couchbase-server-enterprise_7.0.0-windows_amd64.msi).  Installing it starts copying the files, but then hits an error and rollsback.  I tried a machine restart.  I made sure to uninstall the old Couchbase Server first, and then removed the c:\Program Files\Couchbase directory as well.  Neither helped.

            I followed [these directions|https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/enable-windows-installer-logging] to enable installer logging.  While I'm not keen on uploading as it's a huge file with seems to contain lots of details of my personal (non-work) machine, I can C&P what seems to be the relevant snippet, which looks to be that something goes wrong with the Python install:

             
            {noformat}
            MSI (s) (08:28) [12:19:11:871]: Executing op: CustomActionSchedule(Action=RollbackInstallCbpy,ActionType=1345,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c "rmdir /s /q "C:\Program Files\Couchbase\Server\lib\python\runtime"")
            MSI (s) (08:28) [12:19:11:872]: Executing op: ActionStart(Name=InstallCbpy,Description=Installing Python 3,)
            Action 12:19:11: InstallCbpy. Installing Python 3
            MSI (s) (08:28) [12:19:11:873]: Executing op: CustomActionSchedule(Action=InstallCbpy,ActionType=1025,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime")
            MSI (s) (08:28) [12:19:11:894]: Creating MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:4C) [12:19:11:894]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI313C.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08!A0) [12:19:11:982]: Creating MSIHANDLE (86) of type 790531 for thread 3232
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI313C.tmp, version 3.11.4516.0
            MSI (s) (08!A0) [12:19:11:982]: Closing MSIHANDLE (86) of type 790531 for thread 3232
            MSI (s) (08!A0) [12:19:11:983]: Creating MSIHANDLE (87) of type 790531 for thread 3232
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime"
            MSI (s) (08!A0) [12:19:11:983]: Closing MSIHANDLE (87) of type 790531 for thread 3232
            MSI (s) (08:4C) [12:19:12:205]: Closing MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:28) [12:19:12:206]: Executing op: ActionStart(Name=FixConfig,,)
            Action 12:19:12: FixConfig.
            MSI (s) (08:28) [12:19:12:207]: Executing op: CustomActionSchedule(Action=FixConfig,ActionType=3073,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths")
            MSI (s) (08:28) [12:19:12:208]: Creating MSIHANDLE (88) of type 790536 for thread 21800
            MSI (s) (08:F0) [12:19:12:208]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI3295.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08:E0) [12:19:12:208]: Generating random cookie.
            MSI (s) (08:E0) [12:19:12:209]: Created Custom Action Server with PID 4380 (0x111C).
            MSI (s) (08:C8) [12:19:12:226]: Running as a service.
            MSI (s) (08:C8) [12:19:12:228]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
            MSI (s) (08!B4) [12:19:12:241]: Creating MSIHANDLE (89) of type 790531 for thread 9140
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI3295.tmp, version 3.11.4516.0
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (89) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:242]: Creating MSIHANDLE (90) of type 790531 for thread 9140
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths"
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (90) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:275]: Creating MSIHANDLE (91) of type 790531 for thread 9140
            WixQuietExec64: C:\Program Files\Couchbase\Server\bin\..\lib\python\runtime\python.exe does not exist!
            MSI (s) (08!B4) [12:19:12:276]: Closing MSIHANDLE (91) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (92) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Command line returned an error.
            MSI (s) (08!B4) [12:19:12:277]: Closing MSIHANDLE (92) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (93) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: QuietExec64 Failed
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (93) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:278]: Creating MSIHANDLE (94) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Failed in ExecCommon method
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (94) of type 790531 for thread 9140
            CustomAction FixConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
            MSI (s) (08:F0) [12:19:12:279]: Closing MSIHANDLE (88) of type 790536 for thread 21800
            Action ended 12:19:12: InstallFinalize. Return value 3.
            MSI (s) (08:28) [12:19:12:295]: Note: 1: 2265 2: 3: -2147287035
            MSI (s) (08:28) [12:19:12:296]: User policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:296]: Machine policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:297]: Note: 1: 2318 2:
            MSI (s) (08:28) [12:19:12:301]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1393123936,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=0,Argument=1033)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=1,Argument=Couchbase Server 7.0.0-5302 Enterprise Edition)
            MSI (s) (08:28) [12:19:12:302]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
            Action 12:19:12: Rollback. Rolling back action:
            Rollback: FixConfig
             {noformat}
            I have some older builds, I've just tried to install

            couchbase-server-enterprise_7.0.0-4907-windows_amd64-unsigned.msi - failed, briefly flashed something about Python before rolling back so likely same issue

            couchbase-server-enterprise_7.0.0-3638-windows_amd64.msi - succeeds

            couchbase-server-enterprise_6.6.0-7862-windows_amd64.msi - succeeds

            I have about 20 7.0 builds downloaded.  It willl take a while but I could binary search through them to narrow down where the possible regression happened.  Let me know.

            I'm on Windows 10.  Please let me know if there's other diagnostic info I can provide.
            At least, on my machine.

            I've downloaded 7.0 enterprise from the website (https://packages.couchbase.com/releases/7.0.0/couchbase-server-enterprise_7.0.0-windows_amd64.msi).  Installing it starts copying the files, but then hits an error and rollsback.  I tried a machine restart.  I made sure to uninstall the old Couchbase Server first, and then removed the c:\Program Files\Couchbase directory as well.  Neither helped.

            I followed [these directions|https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/enable-windows-installer-logging] to enable installer logging.  While I'm not keen on uploading as it's a huge file with seems to contain lots of details of my personal (non-work) machine, I can C&P what seems to be the relevant snippet, which looks to be that something goes wrong with the Python install:

             
            {noformat}
            MSI (s) (08:28) [12:19:11:871]: Executing op: CustomActionSchedule(Action=RollbackInstallCbpy,ActionType=1345,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c "rmdir /s /q "C:\Program Files\Couchbase\Server\lib\python\runtime"")
            MSI (s) (08:28) [12:19:11:872]: Executing op: ActionStart(Name=InstallCbpy,Description=Installing Python 3,)
            Action 12:19:11: InstallCbpy. Installing Python 3
            MSI (s) (08:28) [12:19:11:873]: Executing op: CustomActionSchedule(Action=InstallCbpy,ActionType=1025,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime")
            MSI (s) (08:28) [12:19:11:894]: Creating MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:4C) [12:19:11:894]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI313C.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08!A0) [12:19:11:982]: Creating MSIHANDLE (86) of type 790531 for thread 3232
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI313C.tmp, version 3.11.4516.0
            MSI (s) (08!A0) [12:19:11:982]: Closing MSIHANDLE (86) of type 790531 for thread 3232
            MSI (s) (08!A0) [12:19:11:983]: Creating MSIHANDLE (87) of type 790531 for thread 3232
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime"
            MSI (s) (08!A0) [12:19:11:983]: Closing MSIHANDLE (87) of type 790531 for thread 3232
            MSI (s) (08:4C) [12:19:12:205]: Closing MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:28) [12:19:12:206]: Executing op: ActionStart(Name=FixConfig,,)
            Action 12:19:12: FixConfig.
            MSI (s) (08:28) [12:19:12:207]: Executing op: CustomActionSchedule(Action=FixConfig,ActionType=3073,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths")
            MSI (s) (08:28) [12:19:12:208]: Creating MSIHANDLE (88) of type 790536 for thread 21800
            MSI (s) (08:F0) [12:19:12:208]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI3295.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08:E0) [12:19:12:208]: Generating random cookie.
            MSI (s) (08:E0) [12:19:12:209]: Created Custom Action Server with PID 4380 (0x111C).
            MSI (s) (08:C8) [12:19:12:226]: Running as a service.
            MSI (s) (08:C8) [12:19:12:228]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
            MSI (s) (08!B4) [12:19:12:241]: Creating MSIHANDLE (89) of type 790531 for thread 9140
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI3295.tmp, version 3.11.4516.0
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (89) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:242]: Creating MSIHANDLE (90) of type 790531 for thread 9140
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths"
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (90) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:275]: Creating MSIHANDLE (91) of type 790531 for thread 9140
            WixQuietExec64: C:\Program Files\Couchbase\Server\bin\..\lib\python\runtime\python.exe does not exist!
            MSI (s) (08!B4) [12:19:12:276]: Closing MSIHANDLE (91) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (92) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Command line returned an error.
            MSI (s) (08!B4) [12:19:12:277]: Closing MSIHANDLE (92) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (93) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: QuietExec64 Failed
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (93) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:278]: Creating MSIHANDLE (94) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Failed in ExecCommon method
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (94) of type 790531 for thread 9140
            CustomAction FixConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
            MSI (s) (08:F0) [12:19:12:279]: Closing MSIHANDLE (88) of type 790536 for thread 21800
            Action ended 12:19:12: InstallFinalize. Return value 3.
            MSI (s) (08:28) [12:19:12:295]: Note: 1: 2265 2: 3: -2147287035
            MSI (s) (08:28) [12:19:12:296]: User policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:296]: Machine policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:297]: Note: 1: 2318 2:
            MSI (s) (08:28) [12:19:12:301]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1393123936,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=0,Argument=1033)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=1,Argument=Couchbase Server 7.0.0-5302 Enterprise Edition)
            MSI (s) (08:28) [12:19:12:302]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
            Action 12:19:12: Rollback. Rolling back action:
            Rollback: FixConfig
             {noformat}
            I have some older builds, I've just tried to install

            couchbase-server-enterprise_7.0.0-4907-windows_amd64-unsigned.msi - failed, briefly flashed something about Python before rolling back so likely same issue

            couchbase-server-enterprise_7.0.0-3638-windows_amd64.msi - succeeds

            couchbase-server-enterprise_6.6.0-7862-windows_amd64.msi - succeeds

            I have about 20 7.0 builds downloaded.  It willl take a while but I could binary search through them to narrow down where the possible regression happened.  Let me know.

            I'm on Windows 10.  Please let me know if there's other diagnostic info I can provide.


            h3. Workaround

            * Right-click cmd.exe and choose "run as administrator"
            * Launch couchbase installer via "call couchbase-server-enterprise_7.0.0-windows_amd64.msi"
            drigby Dave Rigby made changes -
            Description At least, on my machine.

            I've downloaded 7.0 enterprise from the website (https://packages.couchbase.com/releases/7.0.0/couchbase-server-enterprise_7.0.0-windows_amd64.msi).  Installing it starts copying the files, but then hits an error and rollsback.  I tried a machine restart.  I made sure to uninstall the old Couchbase Server first, and then removed the c:\Program Files\Couchbase directory as well.  Neither helped.

            I followed [these directions|https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/enable-windows-installer-logging] to enable installer logging.  While I'm not keen on uploading as it's a huge file with seems to contain lots of details of my personal (non-work) machine, I can C&P what seems to be the relevant snippet, which looks to be that something goes wrong with the Python install:

             
            {noformat}
            MSI (s) (08:28) [12:19:11:871]: Executing op: CustomActionSchedule(Action=RollbackInstallCbpy,ActionType=1345,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c "rmdir /s /q "C:\Program Files\Couchbase\Server\lib\python\runtime"")
            MSI (s) (08:28) [12:19:11:872]: Executing op: ActionStart(Name=InstallCbpy,Description=Installing Python 3,)
            Action 12:19:11: InstallCbpy. Installing Python 3
            MSI (s) (08:28) [12:19:11:873]: Executing op: CustomActionSchedule(Action=InstallCbpy,ActionType=1025,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime")
            MSI (s) (08:28) [12:19:11:894]: Creating MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:4C) [12:19:11:894]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI313C.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08!A0) [12:19:11:982]: Creating MSIHANDLE (86) of type 790531 for thread 3232
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI313C.tmp, version 3.11.4516.0
            MSI (s) (08!A0) [12:19:11:982]: Closing MSIHANDLE (86) of type 790531 for thread 3232
            MSI (s) (08!A0) [12:19:11:983]: Creating MSIHANDLE (87) of type 790531 for thread 3232
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime"
            MSI (s) (08!A0) [12:19:11:983]: Closing MSIHANDLE (87) of type 790531 for thread 3232
            MSI (s) (08:4C) [12:19:12:205]: Closing MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:28) [12:19:12:206]: Executing op: ActionStart(Name=FixConfig,,)
            Action 12:19:12: FixConfig.
            MSI (s) (08:28) [12:19:12:207]: Executing op: CustomActionSchedule(Action=FixConfig,ActionType=3073,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths")
            MSI (s) (08:28) [12:19:12:208]: Creating MSIHANDLE (88) of type 790536 for thread 21800
            MSI (s) (08:F0) [12:19:12:208]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI3295.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08:E0) [12:19:12:208]: Generating random cookie.
            MSI (s) (08:E0) [12:19:12:209]: Created Custom Action Server with PID 4380 (0x111C).
            MSI (s) (08:C8) [12:19:12:226]: Running as a service.
            MSI (s) (08:C8) [12:19:12:228]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
            MSI (s) (08!B4) [12:19:12:241]: Creating MSIHANDLE (89) of type 790531 for thread 9140
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI3295.tmp, version 3.11.4516.0
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (89) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:242]: Creating MSIHANDLE (90) of type 790531 for thread 9140
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths"
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (90) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:275]: Creating MSIHANDLE (91) of type 790531 for thread 9140
            WixQuietExec64: C:\Program Files\Couchbase\Server\bin\..\lib\python\runtime\python.exe does not exist!
            MSI (s) (08!B4) [12:19:12:276]: Closing MSIHANDLE (91) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (92) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Command line returned an error.
            MSI (s) (08!B4) [12:19:12:277]: Closing MSIHANDLE (92) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (93) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: QuietExec64 Failed
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (93) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:278]: Creating MSIHANDLE (94) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Failed in ExecCommon method
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (94) of type 790531 for thread 9140
            CustomAction FixConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
            MSI (s) (08:F0) [12:19:12:279]: Closing MSIHANDLE (88) of type 790536 for thread 21800
            Action ended 12:19:12: InstallFinalize. Return value 3.
            MSI (s) (08:28) [12:19:12:295]: Note: 1: 2265 2: 3: -2147287035
            MSI (s) (08:28) [12:19:12:296]: User policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:296]: Machine policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:297]: Note: 1: 2318 2:
            MSI (s) (08:28) [12:19:12:301]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1393123936,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=0,Argument=1033)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=1,Argument=Couchbase Server 7.0.0-5302 Enterprise Edition)
            MSI (s) (08:28) [12:19:12:302]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
            Action 12:19:12: Rollback. Rolling back action:
            Rollback: FixConfig
             {noformat}
            I have some older builds, I've just tried to install

            couchbase-server-enterprise_7.0.0-4907-windows_amd64-unsigned.msi - failed, briefly flashed something about Python before rolling back so likely same issue

            couchbase-server-enterprise_7.0.0-3638-windows_amd64.msi - succeeds

            couchbase-server-enterprise_6.6.0-7862-windows_amd64.msi - succeeds

            I have about 20 7.0 builds downloaded.  It willl take a while but I could binary search through them to narrow down where the possible regression happened.  Let me know.

            I'm on Windows 10.  Please let me know if there's other diagnostic info I can provide.


            h3. Workaround

            * Right-click cmd.exe and choose "run as administrator"
            * Launch couchbase installer via "call couchbase-server-enterprise_7.0.0-windows_amd64.msi"
            h3. Summary

            At least, on my machine.

            I've downloaded 7.0 enterprise from the website (https://packages.couchbase.com/releases/7.0.0/couchbase-server-enterprise_7.0.0-windows_amd64.msi).  Installing it starts copying the files, but then hits an error and rollsback.  I tried a machine restart.  I made sure to uninstall the old Couchbase Server first, and then removed the c:\Program Files\Couchbase directory as well.  Neither helped.

            h3. Workaround
            (Via Ming)
            * Right-click cmd.exe and choose "run as administrator"
            * Launch couchbase installer via "call couchbase-server-enterprise_7.0.0-windows_amd64.msi"

            h3. Details

            I followed [these directions|https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/enable-windows-installer-logging] to enable installer logging.  While I'm not keen on uploading as it's a huge file with seems to contain lots of details of my personal (non-work) machine, I can C&P what seems to be the relevant snippet, which looks to be that something goes wrong with the Python install:

             
            {noformat}
            MSI (s) (08:28) [12:19:11:871]: Executing op: CustomActionSchedule(Action=RollbackInstallCbpy,ActionType=1345,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c "rmdir /s /q "C:\Program Files\Couchbase\Server\lib\python\runtime"")
            MSI (s) (08:28) [12:19:11:872]: Executing op: ActionStart(Name=InstallCbpy,Description=Installing Python 3,)
            Action 12:19:11: InstallCbpy. Installing Python 3
            MSI (s) (08:28) [12:19:11:873]: Executing op: CustomActionSchedule(Action=InstallCbpy,ActionType=1025,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime")
            MSI (s) (08:28) [12:19:11:894]: Creating MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:4C) [12:19:11:894]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI313C.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08!A0) [12:19:11:982]: Creating MSIHANDLE (86) of type 790531 for thread 3232
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI313C.tmp, version 3.11.4516.0
            MSI (s) (08!A0) [12:19:11:982]: Closing MSIHANDLE (86) of type 790531 for thread 3232
            MSI (s) (08!A0) [12:19:11:983]: Creating MSIHANDLE (87) of type 790531 for thread 3232
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\lib\python\cbpy-installer.exe" /NoRegistry=1 /S /D=C:\Program Files\Couchbase\Server\lib\python\runtime"
            MSI (s) (08!A0) [12:19:11:983]: Closing MSIHANDLE (87) of type 790531 for thread 3232
            MSI (s) (08:4C) [12:19:12:205]: Closing MSIHANDLE (85) of type 790536 for thread 21800
            MSI (s) (08:28) [12:19:12:206]: Executing op: ActionStart(Name=FixConfig,,)
            Action 12:19:12: FixConfig.
            MSI (s) (08:28) [12:19:12:207]: Executing op: CustomActionSchedule(Action=FixConfig,ActionType=3073,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths")
            MSI (s) (08:28) [12:19:12:208]: Creating MSIHANDLE (88) of type 790536 for thread 21800
            MSI (s) (08:F0) [12:19:12:208]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI3295.tmp, Entrypoint: WixQuietExec64
            MSI (s) (08:E0) [12:19:12:208]: Generating random cookie.
            MSI (s) (08:E0) [12:19:12:209]: Created Custom Action Server with PID 4380 (0x111C).
            MSI (s) (08:C8) [12:19:12:226]: Running as a service.
            MSI (s) (08:C8) [12:19:12:228]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
            MSI (s) (08!B4) [12:19:12:241]: Creating MSIHANDLE (89) of type 790531 for thread 9140
            WixQuietExec64: Entering WixQuietExec64 in C:\WINDOWS\Installer\MSI3295.tmp, version 3.11.4516.0
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (89) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:242]: Creating MSIHANDLE (90) of type 790531 for thread 9140
            WixQuietExec64: "C:\WINDOWS\sysnative\cmd.exe" /s /c ""C:\Program Files\Couchbase\Server\bin\installer-util.exe" "C:\Program Files\Couchbase\Server\FOO" fixpaths"
            MSI (s) (08!B4) [12:19:12:242]: Closing MSIHANDLE (90) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:275]: Creating MSIHANDLE (91) of type 790531 for thread 9140
            WixQuietExec64: C:\Program Files\Couchbase\Server\bin\..\lib\python\runtime\python.exe does not exist!
            MSI (s) (08!B4) [12:19:12:276]: Closing MSIHANDLE (91) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (92) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Command line returned an error.
            MSI (s) (08!B4) [12:19:12:277]: Closing MSIHANDLE (92) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:277]: Creating MSIHANDLE (93) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: QuietExec64 Failed
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (93) of type 790531 for thread 9140
            MSI (s) (08!B4) [12:19:12:278]: Creating MSIHANDLE (94) of type 790531 for thread 9140
            WixQuietExec64: Error 0x80070001: Failed in ExecCommon method
            MSI (s) (08!B4) [12:19:12:278]: Closing MSIHANDLE (94) of type 790531 for thread 9140
            CustomAction FixConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
            MSI (s) (08:F0) [12:19:12:279]: Closing MSIHANDLE (88) of type 790536 for thread 21800
            Action ended 12:19:12: InstallFinalize. Return value 3.
            MSI (s) (08:28) [12:19:12:295]: Note: 1: 2265 2: 3: -2147287035
            MSI (s) (08:28) [12:19:12:296]: User policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:296]: Machine policy value 'DisableRollback' is 0
            MSI (s) (08:28) [12:19:12:297]: Note: 1: 2318 2:
            MSI (s) (08:28) [12:19:12:301]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1393123936,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=0,Argument=1033)
            MSI (s) (08:28) [12:19:12:301]: Executing op: DialogInfo(Type=1,Argument=Couchbase Server 7.0.0-5302 Enterprise Edition)
            MSI (s) (08:28) [12:19:12:302]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
            Action 12:19:12: Rollback. Rolling back action:
            Rollback: FixConfig
             {noformat}
            I have some older builds, I've just tried to install

            couchbase-server-enterprise_7.0.0-4907-windows_amd64-unsigned.msi - failed, briefly flashed something about Python before rolling back so likely same issue

            couchbase-server-enterprise_7.0.0-3638-windows_amd64.msi - succeeds

            couchbase-server-enterprise_6.6.0-7862-windows_amd64.msi - succeeds

            I have about 20 7.0 builds downloaded.  It willl take a while but I could binary search through them to narrow down where the possible regression happened.  Let me know.

            I'm on Windows 10.  Please let me know if there's other diagnostic info I can provide.
            ceej Chris Hillery made changes -
            Labels releasenote
            ceej Chris Hillery made changes -
            Sprint Build Team 2021 Sprint 16 [ 1704 ] Build Team 2021 Sprint 16, Build Team 2021 Sprint 17 [ 1704, 1739 ]
            ceej Chris Hillery made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 22880 ]
            ceej Chris Hillery made changes -
            Link This issue blocks MB-46308 [ MB-46308 ]
            ceej Chris Hillery made changes -
            Fix Version/s Neo [ 17615 ]
            ceej Chris Hillery made changes -
            Assignee Chris Hillery [ ceej ] Graham Pople [ graham.pople ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            ceej Chris Hillery made changes -
            Worklog Id 14944 [ 14944 ]
            Remaining Estimate 0h [ 0 ]
            Time Spent 8h [ 28800 ]
            amarantha.kulkarni Amarantha Kulkarni (Inactive) made changes -
            Link This issue is triggering DOC-9066 [ DOC-9066 ]
            ritam.sharma Ritam Sharma made changes -
            Assignee Graham Pople [ graham.pople ] Chin Hong [ chinhong ]
            chinhong Chin Hong made changes -
            Assignee Chin Hong [ chinhong ] Chris Hillery [ ceej ]
            ceej Chris Hillery made changes -
            Attachment Screenshot from 2021-09-08 14-56-50.png [ 158634 ]
            ceej Chris Hillery made changes -
            Attachment Screenshot from 2021-09-08 14-56-50.png [ 158634 ]
            ceej Chris Hillery made changes -
            Attachment User-with-admin-privs.png [ 158637 ]
            ceej Chris Hillery made changes -
            Attachment User-with-no-admin-privs.png [ 158638 ]
            ceej Chris Hillery made changes -
            Assignee Chris Hillery [ ceej ] Chin Hong [ chinhong ]
            chinhong Chin Hong made changes -
            Assignee Chin Hong [ chinhong ] Rekha Nair [ JIRAUSER25296 ]
            ceej Chris Hillery made changes -
            Link This issue is duplicated by MB-48397 [ MB-48397 ]
            ritam.sharma Ritam Sharma made changes -
            Assignee Rekha Nair [ JIRAUSER25296 ] Arunkumar Senthilnathan [ arunkumar ]
            arunkumar Arunkumar Senthilnathan made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              arunkumar Arunkumar Senthilnathan
              graham.pople Graham Pople
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h
                  8h

                  PagerDuty