Install of 7.0.1 fails on Win 2016 x64

When running the couchbase-server-enterprise_7.0.1-windows_amd64.msi the install process rolls back half-way through, windows application logs show failure 1603. How do I install the software? I am full admin on the system.

Hi AlexFaris,
Thanks for using our product. I have some questions.
Is it the first time you install Couchbase on Windows server?
What is the Windows version?
Thanks

Hello,

Welcome to the Couchbase forums!

Are you able to provide us the relevant snippet from the installer logs? (Refer to Enable Windows Installer logging - Windows Client | Microsoft Docs if you need help collecting it). Wanted to check if your error message is same as this:

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`Preformatted text`
type or paste code here

yes, my error is exactly like that

Windows Server 2016 Standard, first time running the installer, this machine has never had couchbase installed on it

@AlexFaris thanks for confirming the error code is the same - we already have a ticket filed for this [MB-47806] 7.0 Windows installer always rollbacks during install - Couchbase database which will be fixed in our upcoming maintenance release for 7.0. Meanwhile, please try the workaround mentioned there:

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

Hope this helps.

Best,
Arun