Chocolatey repository

Feature request -

Would be awesome if windows packages were maintained in the Chocolatey repository.

This looks like an easy job. Any volunteers?

Yelp. I can do it.

Volunteers to help with the process, or to test once it is deployed to chocolatey?

semi off topic:
A guy from the OpenMediaVault (OMV) community already hosts a Debian APT repository including urbackupserver:

As OMV is based on Debian, this will work on clean Debian too.

@uroni I have submitted the windows installer (with tray) on Chocolatey repository. It is moderated so it has to be approved. I dont mind being the one to maintain this.

Do I need any approval from the URBackup folks in order to be the official maintainer?

1 Like

Cool. Thanks!

No.

@uroni I am getting an error 1920 when installing the msi for the urbackup client in the Chocolatey test server (vagrant box). Any idea what could be causing this? Here is the output of the msi.

=== Logging started: 11/25/2016 13:04:14 ===
Action start 13:04:14: INSTALL.
Action start 13:04:14: System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D.
Action ended 13:04:14: System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D. Return value 1.
Action start 13:04:14: System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D.
Action ended 13:04:14: System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D. Return value 1.
Action start 13:04:14: FindRelatedProducts.
Action ended 13:04:14: FindRelatedProducts. Return value 1.
Action start 13:04:14: LaunchConditions.
Action ended 13:04:14: LaunchConditions. Return value 1.
Action start 13:04:14: ValidateProductID.
Action ended 13:04:14: ValidateProductID. Return value 1.
Action start 13:04:14: CostInitialize.
Action ended 13:04:14: CostInitialize. Return value 1.
Action start 13:04:14: FileCost.
Action ended 13:04:14: FileCost. Return value 1.
Action start 13:04:14: CostFinalize.
Action ended 13:04:14: CostFinalize. Return value 1.
Action start 13:04:14: MigrateFeatureStates.
Action ended 13:04:14: MigrateFeatureStates. Return value 0.
Action start 13:04:14: InstallValidate.
Action ended 13:04:14: InstallValidate. Return value 1.
Action start 13:04:14: RemoveExistingProducts.
Action ended 13:04:14: RemoveExistingProducts. Return value 1.
Action start 13:04:14: WixCloseApplications.
Action ended 13:04:14: WixCloseApplications. Return value 1.
Action start 13:04:14: InstallInitialize.
Action ended 13:04:14: InstallInitialize. Return value 1.
Action start 13:04:14: ProcessComponents.
Action ended 13:04:14: ProcessComponents. Return value 1.
Action start 13:04:14: UnpublishFeatures.
Action ended 13:04:14: UnpublishFeatures. Return value 1.
Action start 13:04:14: StopServices.
Action ended 13:04:14: StopServices. Return value 1.
Action start 13:04:14: DeleteServices.
Action ended 13:04:14: DeleteServices. Return value 1.
Action start 13:04:14: RemoveRegistryValues.
Action ended 13:04:14: RemoveRegistryValues. Return value 1.
Action start 13:04:14: WixSchedFirewallExceptionsUninstall.
SchedFirewallExceptions: Component ‘InstallService’ action state (1) doesn’t match request (2)
SchedFirewallExceptions: No firewall exceptions scheduled
Action ended 13:04:14: WixSchedFirewallExceptionsUninstall. Return value 1.
Action start 13:04:14: RemoveFiles.
Action ended 13:04:14: RemoveFiles. Return value 0.
Action start 13:04:14: InstallFiles.
Action ended 13:04:14: InstallFiles. Return value 1.
Action start 13:04:14: WixSchedFirewallExceptionsInstall.
SchedFirewallExceptions: Scheduling firewall exception (1€UrBackup Client Backend€2147483647€*€0€2€c:\Program Files\UrBackup\UrBackupClientBackend.exe€€-2147483648€)
Action start 13:04:14: WixRollbackFirewallExceptionsInstall.
Action ended 13:04:14: WixRollbackFirewallExceptionsInstall. Return value 1.
Action start 13:04:14: WixExecFirewallExceptionsInstall.
Action ended 13:04:14: WixExecFirewallExceptionsInstall. Return value 1.
Action ended 13:04:14: WixSchedFirewallExceptionsInstall. Return value 1.
Action start 13:04:14: WriteRegistryValues.
Action ended 13:04:14: WriteRegistryValues. Return value 1.
Action start 13:04:14: InstallServices.
Action ended 13:04:14: InstallServices. Return value 1.
Action start 13:04:14: StartServices.
Action ended 13:04:14: StartServices. Return value 1.
Action start 13:04:14: RegisterUser.
Action ended 13:04:14: RegisterUser. Return value 1.
Action start 13:04:14: RegisterProduct.
Action ended 13:04:14: RegisterProduct. Return value 1.
Action start 13:04:14: PublishFeatures.
Action ended 13:04:14: PublishFeatures. Return value 1.
Action start 13:04:14: PublishProduct.
Action ended 13:04:14: PublishProduct. Return value 1.
Action start 13:04:14: InstallFinalize.
ExecFirewallExceptions: Installing firewall exception2 UrBackup Client Backend (c:\Program Files\UrBackup\UrBackupClientBackend.exe)
MSI (s) (A0:8C) [13:04:45:292]: Product: UrBackup Client – Error 1920. Service ‘UrBackup Client Service for Backups’ (UrBackupClientBackend) failed to start. Verify that you have sufficient privileges to start system services.

Error 1920. Service ‘UrBackup Client Service for Backups’ (UrBackupClientBackend) failed to start. Verify that you have sufficient privileges to start system services.
Action ended 13:04:45: InstallFinalize. Return value 3.
ExecFirewallExceptions: Uninstalling firewall exception2 UrBackup Client Backend (c:\Program Files\UrBackup\UrBackupClientBackend.exe)
Action ended 13:04:45: INSTALL. Return value 3.
Property(S): UpgradeCode = {87D7BB18-2091-4876-A8DE-0C47F7D2E052}
Property(S): WixRollbackFirewallExceptionsInstall = 1€UrBackup Client Backend€2147483647€€0€2€c:\Program Files\UrBackup\UrBackupClientBackend.exe€€-2147483648€
Property(S): WixExecFirewallExceptionsInstall = 1€UrBackup Client Backend€2147483647€
€0€2€c:\Program Files\UrBackup\UrBackupClientBackend.exe€€-2147483648€
Property(S): URBACKUPDIR = c:\Program Files\UrBackup
Property(S): dir77A47C9F143A7502466C548C9FCBAD08 = c:\Program Files\UrBackup\lang\de
Property(S): dir72226116A8527C99EDF529487A911522 = c:\Program Files\UrBackup\lang\fr
Property(S): dir72226116A8527C99EDF529487A911523 = c:\Program Files\UrBackup\lang\ru
Property(S): dir72226116A8527C99EDF529487A911524 = c:\Program Files\UrBackup\lang\es
Property(S): dir72226116A8527C99EDF529487A911525 = c:\Program Files\UrBackup\lang\zh_TW
Property(S): dir72226116A8527C99EDF529487A911526 = c:\Program Files\UrBackup\lang\zh_CN
Property(S): dir72226116A8527C99EDF529487A911527 = c:\Program Files\UrBackup\lang\pt_BR
Property(S): dir72226116A8527C99EDF529487A911528 = c:\Program Files\UrBackup\lang\it
Property(S): dir72226116A8527C99EDF529487A911529 = c:\Program Files\UrBackup\lang\pl
Property(S): dir72226116A8527C99EDF529487A911530 = c:\Program Files\UrBackup\lang\sk
Property(S): dir72226116A8527C99EDF529487A911531 = c:\Program Files\UrBackup\lang\uk
Property(S): dir72226116A8527C99EDF529487A911532 = c:\Program Files\UrBackup\lang\da
Property(S): dir72226116A8527C99EDF529487A911533 = c:\Program Files\UrBackup\lang\nl
Property(S): dir72226116A8527C99EDF529487A911534 = c:\Program Files\UrBackup\lang\fa
Property(S): dir72226116A8527C99EDF529487A911535 = c:\Program Files\UrBackup\lang\cs
Property(S): dir72226116A8527C99EDF529487A911536 = c:\Program Files\UrBackup\lang\tr
Property(S): dir72226116A8527C99EDF529487A911537 = c:\Program Files\UrBackup\lang\et
Property(S): dir72226116A8527C99EDF529487A911538 = c:\Program Files\UrBackup\lang\no_NO
Property(S): dir72226116A8527C99EDF529487A911539 = c:\Program Files\UrBackup\lang\sb
Property(S): dir72226116A8527C99EDF529487A911540 = c:\Program Files\UrBackup\lang\pt
Property(S): dirEC170182D8F256F50CFEE910C4E436EA = c:\Program Files\UrBackup\urbackup\data
Property(S): WixUIRMOption = UseRM
Property(S): WIXUI_INSTALLDIR = URBACKUPDIR
Property(S): ALLUSERS = 1
Property(S): ARPNOMODIFY = 1
Property(S): ProgramFiles64Folder = c:\Program Files
Property(S): TARGETDIR = c:
Property(S): SourceDir = c:\Users\Administrator\Desktop
Property(S): dir77A47C9F143A7502466C548C9FCBAD09 = c:\Program Files\UrBackup\lang
Property(S): dir5CC00D708A190EEA836296A3646DFAF2 = c:\Program Files\UrBackup\urbackup
Property(S): VersionNT = 603
Property(S): Msix64 = 6
Property(S): ARPPRODUCTICON = backup_ok_ico
Property(S): ARPHELPLINK = http://www.urbackup.org/
Property(S): WixShellExecTarget = [#UrBackupClient.exe]
Property(S): Manufacturer = Martin Raiber
Property(S): ProductCode = {9632A94F-8BC1-4A96-8EC3-58DE529D6F2F}
Property(S): ProductLanguage = 1033
Property(S): ProductName = UrBackup Client
Property(S): ProductVersion = 2.0.34.0
Property(S): DefaultUIFont = WixUI_Font_Normal
Property(S): WixUI_Mode = InstallDir
Property(S): ErrorDialog = ErrorDlg
Property(S): SecureCustomProperties = WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
Property(S): WixPdbPath = E:\build\urbackup_client\client\UrBackup Client 2.0.34(x64).wixpdb
Property(S): System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D = c:\Windows\system32
Property(S): System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D = c:\Windows\system32
Property(S): DirectoryTable100_amd64.AF4EABEE_4589_3789_BA0A_C83A71662E1D = DirectoryTable
Property(S): MsiLogFileLocation = c:\log.txt
Property(S): PackageCode = {E25BF021-4B69-4DC6-B16B-DD6A53FBC231}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): REBOOT = ReallySuppress
Property(S): CURRENTDIRECTORY = C:\ProgramData\chocolatey\bin
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 48
Property(S): VersionDatabase = 301
Property(S): VersionMsi = 5.00
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 3
Property(S): MsiNTSuiteDataCenter = 1
Property(S): WindowsFolder = c:\Windows
Property(S): WindowsVolume = c:
Property(S): System64Folder = C:\Windows\system32
Property(S): SystemFolder = c:\Windows\SysWOW64
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\ADMINI~1\AppData\Local\Temp
Property(S): ProgramFilesFolder = C:\Program Files (x86)
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files
Property(S): CommonFiles64Folder = C:\Program Files\Common Files
Property(S): AppDataFolder = C:\Users\Administrator\AppData\Roaming
Property(S): FavoritesFolder = C:\Users\Administrator\Favorites
Property(S): NetHoodFolder = C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Network Shortcuts
Property(S): PersonalFolder = C:\Users\Administrator\Documents
Property(S): PrintHoodFolder = C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Property(S): RecentFolder = C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Recent
Property(S): SendToFolder = C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates
Property(S): CommonAppDataFolder = C:\ProgramData
Property(S): LocalAppDataFolder = C:\Users\Administrator\AppData\Local
Property(S): MyPicturesFolder = C:\Users\Administrator\Pictures
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu
Property(S): DesktopFolder = C:\Users\Public\Desktop
Property(S): FontsFolder = C:\Windows\Fonts
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 6
Property(S): Intel = 6
Property(S): PhysicalMemory = 4096
Property(S): VirtualMemory = 3473
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = vagrant
Property(S): UserSID = S-1-5-21-1953236517-242735908-2433092285-500
Property(S): UserLanguageID = 1033
Property(S): ComputerName = WIN2012R2X64
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 23
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 13:04:45
Property(S): Date = 11/25/2016
Property(S): MsiNetAssemblySupport = 4.0.30319.33440
Property(S): MsiWin32AssemblySupport = 6.3.9600.16384
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): USERNAME = Windows User
Property(S): DATABASE = c:\Windows\Installer\42e5a2.msi
Property(S): OriginalDatabase = c:\Users\Administrator\Desktop\UrBackup Client 2.0.34(x64).msi
Property(S): UILevel = 2
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = c:
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = c:\Users\Administrator\Desktop
Property(S): SourcedirProduct = {9632A94F-8BC1-4A96-8EC3-58DE529D6F2F}
Property(S): ProductToBeRegistered = 1
MSI (s) (A0:8C) [13:04:45:479]: Product: UrBackup Client – Installation failed.

MSI (s) (A0:8C) [13:04:45:479]: Windows Installer installed the product. Product Name: UrBackup Client. Product Version: 2.0.34.0. Product Language: 1033. Manufacturer: Martin Raiber. Installation success or error status: 1603.

=== Logging stopped: 11/25/2016 13:04:45 ===

I’d say that’s your problem right there.

Here’s another Chocolatey package with a similar problem, that was apparently solved.

Makes sense. I think its the vagrant VM that Chocolatey uses that the issue. The MSI itself just throws this error, but only on this VM. I have requested a moderator look at the issue but seems they are bit slow.

I hope you have considered why using the MSI is appropriate, as it only works on 64bit Windows and only if all Windows updates are installed.

Oh I did not realize that actually. I will try the exe installer. Thanks.

The chocolatey packages have been approved and are now available in the choco public repository.

https://chocolatey.org/packages/urbackup-client

https://chocolatey.org/packages/urbackup-server

4 Likes

@uroni would you open to putting the instructions on installing the Chocolatey/Windows package via CLI on the “Downloads” page? It would be similar to the Ubuntu instructions for apt-get.

Would be:

choco install urbackup-client
choco install urbackup-server

Will add it with the next update

guys please can you help the noob

i have installed the latest URBACKUP Server and it is working

i am having an issue with the chocolatey urbackup client

i issued the command " choco install urbackup-client " on a windows 10 pro pc

i can install the chocolatey urbackup client remotely on a windows 10 pro pc but i do not understand how to configure the urbackup client on the windows 10 Pro pc in order for the backups to take place as the urbackup client icon does not show on the taskbar.

what file(s) do i edit on the windows 10 pro urbackup client to connect to the urbackup server and choose what folders to backup?

do i first add a client via the urbackup server web gui for the windows 10 pro pc to be backed up?

any help greatly appreciated

I use chocolatey exclusively to install my clients, and I have a maintenance document:

1 Like