Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.0.0
-
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.