Couchbase Unisntallation Installation error

Hi Folks,

Recently i downloaded Couchbase server 5.0 and installed on my system for R&D purpose.After unistallation when try to re-install getting below errors though my system is fully updated.
Suggestion please?

Hi @ritu.kumari,

What operating system are you using? Can you tell me what files are remaining after uninstallation, and post any logs that you happen to have?

Hi Mathew,

Thankyou for responding.
I am using windows 10 enterprise edition(64-bit).No where in logs this is getting recorded.Any suggestion?

@ritu.kumari,

Do you have administrator privileges on the machine?

The problem you’re having seems similar to this ticket: https://issues.couchbase.com/browse/MB-24575

Hi Mathew,

Happy New Year!
Sorry for late reply.
My server have Universal CRT installed. I verfied looking at location as mentioned in above URL(C:\Windows\System32\ucrtbase.dll or C:\Windows\SysWOW64\ucrtbase.dll)…
Any other alternative.

Thanks
Ritu

Hi @ritu.kumari,

Are you trying to upgrade from 4.5 to 5.0?

@matthew.groves

No i am doing fresh installation.

@ritu.kumari,

Could you try installing again using msiexec /i "C:\MyPackage\Example.msi" /L*V "C:\log\example.log" and then sharing that log file?

@mathew.

PFA log file.error.zip (1.9 MB)

Hi Ritu,

We are looking into this issue. We will update you soon on our finding.

Hi Ritu,
I tried to install and uninstall Couchbase Server 5.0.0 several times on my Windows 10 Pro 64-bit and I could not reproduce your issue. I will get a Windows 10 Enterprise and try to reproduce your issue.
BTW, what is your version and build number of your Windows 10 Enterprise?
Thanks

Hi Ritu,
Base on the log you give us, I found out that the previous uninstall Couchbase Server did not completely remove Couchbase service. Could you try to uninstall completely Couchbase Server and kill any Couchbase services on your Windows. Also, try to kill any erl.exe processes in “Task Manager” windows before install again Couchbase Server 5.0.1.
Here is what I found in your installation logs “WixQuietExec64: C:\Program Files\Couchbase\Server\bin…\erts-5.10.4.0.0.1\bin\erlsrv.exe: A service with the name CouchbaseServer already exists.”

{noformat}
WixQuietExec64:
WixQuietExec64: C:\Program Files\Couchbase\Server>“C:\Program Files\Couchbase\Server\bin…\erts-5.10.4.0.0.1\bin\erlsrv.exe” add CouchbaseServer -stopaction “ns_babysitter_bootstrap:stop().” -name babysitter_of_ns_1@127.0.0.1 -InternalServiceName CouchbaseServer -onfail restart -workdir “C:\Program Files\Couchbase\Server\bin…\bin” -args “-hidden +A 16 +P 327680 -env ERL_FULLSWEEP_AFTER 512 -env ERL_MAX_PORTS 10000 -pa …/lib/couchdb/plugins/gc-couchbase-1.0.0/ebin …/lib/couchdb/plugins/vtree-0.1.0/ebin …/lib/couchdb/plugins/wkb-1.2.0/ebin -sasl -setcookie nocookie -ns_babysitter cookiefile \”…/var/lib/couchbase/couchbase-server.cookie\" -ns_server config_path \"…/etc/couchbase/static_config\" -couch_ini …/etc/couchdb/default.ini …/etc/couchdb/local.ini …/etc/couchdb/default.d/geocouch.ini …/etc/couchdb/default.d/capi.ini …/etc/runtime.ini -kernel inet_dist_listen_min 21100 inet_dist_listen_max 21299 -run ns_babysitter_bootstrap override_resolver – " || goto :error
WixQuietExec64: C:\Program Files\Couchbase\Server\bin…\erts-5.10.4.0.0.1\bin\erlsrv.exe: A service with the name CouchbaseServer already exists.
WixQuietExec64:
WixQuietExec64: C:\Program Files\Couchbase\Server>echo Failed with error 1.
WixQuietExec64: Failed with error 1.
WixQuietExec64:
WixQuietExec64: C:\Program Files\Couchbase\Server>exit /b 1
WixQuietExec64: Error 0x80070001: Command line returned an error.
WixQuietExec64: Error 0x80070001: QuietExec64 Failed
WixQuietExec64: Error 0x80070001: Failed in ExecCommon method
CustomAction RegisterService returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 11:12:13: InstallExecute. Return value 3.
MSI (s) (A4:CC) [11:12:13:236]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (A4:CC) [11:12:13:236]: User policy value ‘DisableRollback’ is 0
MSI (s) (A4:CC) [11:12:13:236]: Machine policy value ‘DisableRollback’ is 0
MSI (s) (A4:CC) [11:12:13:260]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1277843813,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (A4:CC) [11:12:13:260]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (A4:CC) [11:12:13:264]: Executing op: DialogInfo(Type=1,Argument=Couchbase Server)
MSI (s) (A4:CC) [11:12:13:264]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 11:12:13: Rollback. Rolling back action:
Rollback: RegisterService
MSI (s) (A4:CC) [11:12:13:264]: Executing op: ActionStart(Name=RegisterService,)
MSI (s) (A4:CC) [11:12:13:264]: Executing op: ProductInfo(ProductKey={3E600521-C4A6-40B6-A6C7-21F0B0482074},ProductName=Couchbase Server,PackageName=couchbase-server-enterprise_5.0.1-windows_amd64.msi,Language=1033,Version=83886081,Assignment=1,ObsoleteArg=0,ProductIcon=CouchbaseIcon,PackageCode={DE0BA7F3-4E13-427C-AD58-D3310063BD3F},InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=2)
Rollback: FixConfig
MSI (s) (A4:CC) [11:12:13:264]: Executing op: ActionStart(Name=FixConfig,)
Rollback: Copying new files
{noformat}

Thanks Thuan.
I uninstalled completely and tried installing ,it worked.

1 Like

I am getting the same error. See below for the logs:

Property©: MSIRESTARTMANAGERCONTROL = Disable
Property©: ARPPRODUCTICON = CouchbaseIcon
Property©: ARPURLINFOABOUT = http://www.couchbase.com/
Property©: HYPERLINK_EXITDIALOGOPTIONALTEXT = Couchbase Server is installed. Visit http://127.0.0.1:8091/ to configure the server. Please note it may take a few moments for the console to become available.
Property©: Manufacturer = Couchbase Inc.
Property©: ProductCode = {DE86CC32-EC43-4656-823D-99BAB9586462}
Property©: ProductLanguage = 1033
Property©: ProductName = Couchbase Server
Property©: ProductVersion = 5.1.1.5723
Property©: DefaultUIFont = WixUI_Font_Normal
Property©: WixUI_Mode = InstallDir
Property©: ErrorDialog = ErrorDlg
Property©: SecureCustomProperties = WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
Property©: System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D = c:\windows\system32
Property©: System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D = c:\windows\system32
Property©: DirectoryTable100_amd64.AF4EABEE_4589_3789_BA0A_C83A71662E1D = DirectoryTable
Property©: System64Folder_amd64_VC.05F0B5F5_44A8_3793_976B_A4F17AECF92C = c:\windows\system32
Property©: System64Folder = c:\windows\system32
Property©: DirectoryTable100_amd64.05F0B5F5_44A8_3793_976B_A4F17AECF92C = DirectoryTable
Property©: System64Folder_amd64_VC.BFF61907_AA2D_3A26_8666_98D956A62ABC = c:\windows\system32
Property©: WindowsFolder_amd64_VC.BFF61907_AA2D_3A26_8666_98D956A62ABC = c:\windows
Property©: DirectoryTable100_amd64.BFF61907_AA2D_3A26_8666_98D956A62ABC = DirectoryTable
Property©: MsiLogFileLocation = C:\log\couchbase.log
Property©: PackageCode = {A2F9E16C-36FF-4321-9D04-1A75E40D0E48}
Property©: ProductState = -1
Property©: PackagecodeChanging = 1
Property©: CURRENTDIRECTORY = C:\windows\system32
Property©: CLIENTUILEVEL = 0
Property©: CLIENTPROCESSID = 3332
Property©: VersionDatabase = 500
Property©: VersionMsi = 5.00
Property©: VersionNT = 601
Property©: VersionNT64 = 601
Property©: WindowsBuild = 7601
Property©: ServicePackLevel = 1
Property©: ServicePackLevelMinor = 0
Property©: MsiNTProductType = 1
Property©: WindowsFolder = c:\windows
Property©: WindowsVolume = c:
Property©: SystemFolder = c:\windows\SysWOW64
Property©: RemoteAdminTS = 1
Property©: TempFolder = C:\windows\TEMP
Property©: ProgramFilesFolder = C:\Program Files (x86)
Property©: CommonFilesFolder = C:\Program Files (x86)\Common Files
Property©: CommonFiles64Folder = C:\Program Files\Common Files
Property©: AppDataFolder = C:\Users\ACMediana\AppData\Roaming
Property©: FavoritesFolder = C:\Users\ACMediana\Favorites
Property©: NetHoodFolder = C:\Users\ACMediana\AppData\Roaming\Microsoft\Windows\Network Shortcuts
Property©: PersonalFolder = C:\Users\ACMediana\Documents
Property©: PrintHoodFolder = C:\Users\ACMediana\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Property©: RecentFolder = C:\Users\ACMediana\AppData\Roaming\Microsoft\Windows\Recent
Property©: SendToFolder = C:\Users\ACMediana\AppData\Roaming\Microsoft\Windows\SendTo
Property©: TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates
Property©: CommonAppDataFolder = C:\ProgramData
Property©: LocalAppDataFolder = C:\Users\ACMediana\AppData\Local
Property©: MyPicturesFolder = C:\Users\ACMediana\Pictures
Property©: AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
Property©: StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Property©: ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Property©: StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu
Property©: FontsFolder = C:\windows\Fonts
Property©: GPTSupport = 1
Property©: OLEAdvtSupport = 1
Property©: ShellAdvtSupport = 1
Property©: MsiAMD64 = 6
Property©: Msix64 = 6
Property©: Intel = 6
Property©: PhysicalMemory = 16263
Property©: VirtualMemory = 25511
Property©: AdminUser = 1
Property©: MsiTrueAdminUser = 1
Property©: LogonUser = acmediana
Property©: UserSID = S-1-5-21-448539723-73586283-725345543-9558
Property©: UserLanguageID = 1033
Property©: ComputerName = F03026
Property©: SystemLanguageID = 1033
Property©: ScreenX = 1440
Property©: ScreenY = 900
Property©: CaptionHeight = 22
Property©: BorderTop = 1
Property©: BorderSide = 1
Property©: TextHeight = 16
Property©: TextInternalLeading = 3
Property©: ColorBits = 32
Property©: TTCSupport = 1
Property©: Time = 2:48:03
Property©: Date = 7/6/2018
Property©: MsiNetAssemblySupport = 4.0.30319.36415
Property©: MsiWin32AssemblySupport = 6.1.7601.17514
Property©: RedirectedDllSupport = 2
Property©: MsiRunningElevated = 1
Property©: Privileged = 1
Property©: USERNAME = RCGIT
Property©: COMPANYNAME = RCGIT Philippines
Property©: DATABASE = c:\DevTools\Installers\couchbase-server-community_5.1.1-windows_amd64.msi
Property©: OriginalDatabase = c:\DevTools\Installers\couchbase-server-community_5.1.1-windows_amd64.msi
Property©: SOURCEDIR = c:\DevTools\Installers
Property©: VersionHandler = 5.00
Property©: UILevel = 5
Property©: SHIMFLAGS = 512
Property©: ACTION = INSTALL
Property©: EXECUTEACTION = INSTALL
Property©: ROOTDRIVE = c:
Property©: CostingComplete = 1
Property©: OutOfDiskSpace = 0
Property©: OutOfNoRbDiskSpace = 0
Property©: PrimaryVolumeSpaceAvailable = 0
Property©: PrimaryVolumeSpaceRequired = 0
Property©: PrimaryVolumeSpaceRemaining = 0
Property©: WIXUI_INSTALLDIR_VALID = 1
Property©: INSTALLLEVEL = 1
=== Logging stopped: 7/6/2018 2:48:03 ===
MSI © (04:14) [02:48:03:277]: Note: 1: 1708
MSI © (04:14) [02:48:03:277]: Note: 1: 2205 2: 3: Error
MSI © (04:14) [02:48:03:277]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1708
MSI © (04:14) [02:48:03:277]: Note: 1: 2205 2: 3: Error
MSI © (04:14) [02:48:03:277]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1709
MSI © (04:14) [02:48:03:277]: Product: Couchbase Server – Installation failed.

MSI © (04:14) [02:48:03:277]: Windows Installer installed the product. Product Name: Couchbase Server. Product Version: 5.1.1.5723. Product Language: 1033. Manufacturer: Couchbase Inc… Installation success or error status: 1603.

MSI © (04:14) [02:48:03:280]: Grabbed execution mutex.
MSI © (04:14) [02:48:03:280]: Cleaning up uninstalled install packages, if any exist
MSI © (04:14) [02:48:03:281]: MainEngineThread is returning 1603
=== Verbose logging stopped: 7/6/2018 2:48:03 ===

Hi ,
I am getting the same error.I downloaded couchbase-server-community_6.5.0-windows_amd64.msi and tried to install it.but i got the error “couchbase server setup wizard ended prematurely because of an error”.I killed existing couchbase services from the system and i couldn’t find any erl.exe processes in task manager.Also I tried
installing again using msiexec /i “D:\couchbase-server-community_6.5.0-windows_amd64.msi” /L*V “C:\log\example.log” .Please suggest a solution.I am sharing the log file here.

https://1drv.ms/u/s!ArLBdsHkHfbDbGo92fQXYudhWlM?e=djDAuB