Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created November 13, 2024 13:38
Show Gist options
  • Save choco-bot/110dd30138dfcc04b6041b21b618a1ec to your computer and use it in GitHub Desktop.
Save choco-bot/110dd30138dfcc04b6041b21b618a1ec to your computer and use it in GitHub Desktop.
Artifactory v6.5.13 - Failed - Package Tests Results

Artifactory v6.5.13 - Failed - Package Test Results

  • https://community.chocolatey.org/packages/Artifactory/6.5.13
  • Tested 13 Nov 2024 13:38:30 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.2.1
  • Install failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\Artifactory\artifactory.nupkg" checksum="54E7A90B2AC1D5529376B503967B27F9" />
<file path="C:\ProgramData\chocolatey\lib\Artifactory\artifactory.nuspec" checksum="27C487973154B6715A54DA127D444F09" />
<file path="C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1" checksum="443A03FBC612CD5E27C7F5D07205D9F5" />
<file path="C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyuninstall.ps1" checksum="60CA318DB37508E3CCC854409BAF87CA" />
</files>
</fileSnapshot>
2024-11-13 13:37:25,222 5924 [DEBUG] - XmlConfiguration is now operational
2024-11-13 13:37:25,366 5924 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,366 5924 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,366 5924 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,381 5924 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,381 5924 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,398 5924 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,398 5924 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,398 5924 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,398 5924 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-11-13 13:37:25,414 5924 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-11-13 13:37:25,414 5924 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-11-13 13:37:26,298 5924 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,298 5924 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,330 5924 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-11-13 13:37:26,361 5924 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-11-13 13:37:26,361 5924 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-11-13 13:37:26,385 5924 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2024-11-13 13:37:26,385 5924 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-11-13 13:37:26,385 5924 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-11-13 13:37:26,397 5924 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-11-13 13:37:26,397 5924 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-11-13 13:37:26,397 5924 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-11-13 13:37:26,397 5924 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-11-13 13:37:26,397 5924 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-11-13 13:37:26,416 5924 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-11-13 13:37:26,416 5924 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-11-13 13:37:26,416 5924 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-11-13 13:37:26,416 5924 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-11-13 13:37:26,428 5924 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-11-13 13:37:26,428 5924 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-11-13 13:37:26,428 5924 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-11-13 13:37:26,428 5924 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-11-13 13:37:26,428 5924 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-11-13 13:37:26,428 5924 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-11-13 13:37:26,447 5924 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-11-13 13:37:26,681 5924 [INFO ] - ============================================================
2024-11-13 13:37:27,004 5924 [INFO ] - Chocolatey v2.4.0
2024-11-13 13:37:27,048 5924 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-11-13 13:37:27,048 5924 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-11-13 13:37:27,048 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-11-13 13:37:27,083 5924 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install Artifactory --version 6.5.13 -fdvy --execution-timeout=2700 --allow-downgrade
2024-11-13 13:37:27,168 5924 [DEBUG] - Received arguments: install Artifactory --version 6.5.13 -fdvy --execution-timeout=2700 --allow-downgrade
2024-11-13 13:37:27,319 5924 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-11-13 13:37:27,352 5924 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-11-13 13:37:27,363 5924 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-11-13 13:37:27,537 5924 [DEBUG] - Performing validation checks.
2024-11-13 13:37:27,555 5924 [DEBUG] - Global Configuration Validation Checks:
2024-11-13 13:37:27,555 5924 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-11-13 13:37:27,570 5924 [DEBUG] - System State Validation Checks:
2024-11-13 13:37:27,570 5924 [DEBUG] - Reboot Requirement Checks:
2024-11-13 13:37:27,587 5924 [DEBUG] - - Pending Computer Rename = Checked
2024-11-13 13:37:27,601 5924 [DEBUG] - - Pending Component Based Servicing = Checked
2024-11-13 13:37:27,601 5924 [DEBUG] - - Pending Windows Auto Update = Checked
2024-11-13 13:37:27,617 5924 [DEBUG] - - Pending File Rename Operations = Ignored
2024-11-13 13:37:27,617 5924 [DEBUG] - - Pending Windows Package Installer = Checked
2024-11-13 13:37:27,631 5924 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-11-13 13:37:27,631 5924 [DEBUG] - Cache Folder Lockdown Checks:
2024-11-13 13:37:27,650 5924 [DEBUG] - - Elevated State = Checked
2024-11-13 13:37:27,650 5924 [DEBUG] - - Folder Exists = Checked
2024-11-13 13:37:27,663 5924 [DEBUG] - - Folder lockdown = Checked
2024-11-13 13:37:27,663 5924 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-11-13 13:37:27,708 5924 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-11-13 13:37:27,728 5924 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-11-13 13:37:27,754 5924 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='Artifactory'|
Version='6.5.13'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='Artifactory'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.4.0.0'|
Information.ChocolateyProductVersion='2.4.0'|
Information.FullName='choco, Version=2.4.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-4Q82EKRDTAF'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.UsePackageHashValidation='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-11-13 13:37:27,776 5924 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-11-13 13:37:27,787 5924 [INFO ] - Installing the following packages:
2024-11-13 13:37:27,787 5924 [INFO ] - Artifactory
2024-11-13 13:37:27,806 5924 [INFO ] - By installing, you accept licenses for the packages.
2024-11-13 13:37:27,818 5924 [DEBUG] - Current environment values (may contain sensitive data):
2024-11-13 13:37:27,818 5924 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-11-13 13:37:27,837 5924 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-11-13 13:37:27,837 5924 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-11-13 13:37:27,837 5924 [DEBUG] - * 'ChocolateyLastPathUpdate'='133759770730261559' ('User')
2024-11-13 13:37:27,837 5924 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-11-13 13:37:27,857 5924 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-11-13 13:37:27,857 5924 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-11-13 13:37:27,867 5924 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
2024-11-13 13:37:27,882 5924 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-11-13 13:37:27,882 5924 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-11-13 13:37:27,899 5924 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-11-13 13:37:27,899 5924 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-11-13 13:37:27,899 5924 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-11-13 13:37:27,912 5924 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-11-13 13:37:27,912 5924 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-11-13 13:37:27,912 5924 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-11-13 13:37:27,912 5924 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-11-13 13:37:27,912 5924 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-11-13 13:37:27,934 5924 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-11-13 13:37:27,941 5924 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-11-13 13:37:28,129 5924 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
2024-11-13 13:37:28,129 5924 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2024-11-13 13:37:28,159 5924 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.0 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2024-11-13 13:37:28,473 5924 [DEBUG] - Running list with the following filter = ''
2024-11-13 13:37:28,567 5924 [DEBUG] - --- Start of List ---
2024-11-13 13:37:28,599 5924 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2024-11-13 13:37:28,617 5924 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.0 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2024-11-13 13:37:28,632 5924 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-11-13 13:37:29,213 5924 [DEBUG] - chocolatey 2.4.0
2024-11-13 13:37:29,223 5924 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-11-13 13:37:29,251 5924 [DEBUG] - KB2919355 1.0.20160915
2024-11-13 13:37:29,251 5924 [DEBUG] - KB2919442 1.0.20160915
2024-11-13 13:37:29,286 5924 [DEBUG] - KB2999226 1.0.20181019
2024-11-13 13:37:29,286 5924 [DEBUG] - KB3035131 1.0.3
2024-11-13 13:37:29,310 5924 [DEBUG] - KB3118401 1.0.5
2024-11-13 13:37:29,314 5924 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2024-11-13 13:37:29,314 5924 [DEBUG] - --- End of List ---
2024-11-13 13:37:29,314 5924 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-11-13 13:37:30,111 5924 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-11-13 13:37:30,658 5924 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='artifactory',Version='6.5.13')
2024-11-13 13:37:30,835 5924 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='artifactory',Version='6.5.13') 169ms
2024-11-13 13:37:30,986 5924 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-11-13 13:37:31,633 5924 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-11-13 13:37:31,649 5924 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='Artifactory',Version='6.5.13')
2024-11-13 13:37:32,348 5924 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/$metadata
2024-11-13 13:37:32,366 5924 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='jdk8'&semVerLevel=2.0.0
2024-11-13 13:37:32,480 5924 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='jdk8'&semVerLevel=2.0.0 96ms
2024-11-13 13:37:32,508 5924 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='jdk8'&$skiptoken='1711713808180','8.0.201','jdk8'
2024-11-13 13:37:32,710 5924 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='jdk8'&$skiptoken='1711713808180','8.0.201','jdk8' 199ms
2024-11-13 13:37:33,070 5924 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-11-13 13:37:33,084 5924 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='jdk8',Version='8.0.211')
2024-11-13 13:37:33,136 5924 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='jdk8',Version='8.0.211') 40ms
2024-11-13 13:37:33,146 5924 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-11-13 13:37:33,211 5924 [DEBUG] - Attempting to delete file "".
2024-11-13 13:37:33,211 5924 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
2024-11-13 13:37:33,211 5924 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/jdk8/8.0.211'
2024-11-13 13:37:33,267 5924 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/jdk8/8.0.211
2024-11-13 13:37:33,490 5924 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/jdk8/8.0.211 223ms
2024-11-13 13:37:33,537 5924 [INFO ] - [NuGet] Acquiring lock for the installation of jdk8 8.0.211
2024-11-13 13:37:33,599 5924 [INFO ] - [NuGet] Acquired lock for the installation of jdk8 8.0.211
2024-11-13 13:37:33,961 5924 [INFO ] - [NuGet] Installed jdk8 8.0.211 from https://community.chocolatey.org/api/v2/ with content hash YrHzyAcrHsECpF8wHZkfPm3thVqFdBSkCqzE/uj+yHx0aonUyraFRFfRY0PpsweTA9CKa/rdS44WwdcEv7offw==.
2024-11-13 13:37:33,975 5924 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2024-11-13 13:37:34,022 5924 [INFO ] - [NuGet] Adding package 'jdk8.8.0.211' to folder 'C:\ProgramData\chocolatey\lib'
2024-11-13 13:37:34,079 5924 [INFO ] - [NuGet] Added package 'jdk8.8.0.211' to folder 'C:\ProgramData\chocolatey\lib'
2024-11-13 13:37:34,112 5924 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\jdk8/8.0.211\jdk8.8.0.211.nupkg".
2024-11-13 13:37:34,112 5924 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\jdk8/8.0.211\.nupkg.metadata".
2024-11-13 13:37:34,112 5924 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\jdk8/8.0.211\jdk8.8.0.211.nupkg.sha512".
2024-11-13 13:37:34,135 5924 [INFO ] -
jdk8 v8.0.211 (forced) [Approved]
2024-11-13 13:37:34,207 5924 [INFO ] - jdk8 package files install completed. Performing other installation steps.
2024-11-13 13:37:34,302 5924 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1':
2024-11-13 13:37:34,323 5924 [DEBUG] - $script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$common = $(Join-Path $script_path "common.ps1")
. $common
#installs jdk8
try {
$params = "$env:chocolateyPackageParameters"
$params = (ConvertFrom-StringData $params.Replace(";", "`n"))
out-installdir($params)
if (check-both($params)) {
chocolatey-install $params $true
chocolatey-install $params
out-both($params)
} else {
out-i586($params)
chocolatey-install $params
}
set-path
} catch {
if ($_.Exception.InnerException) {
$msg = $_.Exception.InnerException.Message
} else {
$msg = $_.Exception.Message
}
throw
}
2024-11-13 13:37:34,362 5924 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-11-13 13:37:34,362 5924 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-11-13 13:37:35,017 5924 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
2024-11-13 13:37:35,627 5924 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2024-11-13 13:37:35,651 5924 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2024-11-13 13:37:35,661 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:37:35,661 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:37:35,680 5924 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:37:35,680 5924 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:37:35,693 5924 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:37:35,693 5924 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:37:35,693 5924 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:37:35,739 5924 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2024-11-13 13:37:35,757 5924 [DEBUG] - Get-EnvironmentVariable
2024-11-13 13:37:35,770 5924 [DEBUG] - Get-EnvironmentVariableNames
2024-11-13 13:37:35,770 5924 [DEBUG] - Install-ChocolateyPath
2024-11-13 13:37:35,770 5924 [DEBUG] - Set-EnvironmentVariable
2024-11-13 13:37:35,770 5924 [DEBUG] - Test-ProcessAdminRights
2024-11-13 13:37:35,791 5924 [DEBUG] - Uninstall-ChocolateyPath
2024-11-13 13:37:35,791 5924 [DEBUG] - Update-SessionEnvironment
2024-11-13 13:37:35,802 5924 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-11-13 13:37:35,802 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-11-13 13:37:35,819 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-11-13 13:37:35,819 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-11-13 13:37:35,819 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-11-13 13:37:35,833 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-11-13 13:37:35,833 5924 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-11-13 13:37:35,833 5924 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-11-13 13:37:35,849 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-11-13 13:37:35,849 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-11-13 13:37:35,849 5924 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-11-13 13:37:35,864 5924 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-11-13 13:37:35,864 5924 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-11-13 13:37:35,864 5924 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-11-13 13:37:35,882 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-11-13 13:37:35,882 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-11-13 13:37:35,882 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-11-13 13:37:35,895 5924 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-11-13 13:37:35,895 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-11-13 13:37:35,895 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-11-13 13:37:35,910 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-11-13 13:37:35,910 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-11-13 13:37:35,910 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-11-13 13:37:35,926 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-13 13:37:35,926 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-11-13 13:37:35,926 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-11-13 13:37:35,944 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-11-13 13:37:35,944 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-11-13 13:37:35,944 5924 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-11-13 13:37:35,959 5924 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-11-13 13:37:35,959 5924 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-11-13 13:37:35,959 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-11-13 13:37:35,974 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-13 13:37:35,974 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-11-13 13:37:35,974 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-11-13 13:37:35,991 5924 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-11-13 13:37:35,991 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:37:36,004 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:37:36,004 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:37:36,004 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:37:36,004 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:37:36,021 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:37:36,021 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:37:36,038 5924 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-11-13 13:37:36,038 5924 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-11-13 13:37:36,038 5924 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-11-13 13:37:36,053 5924 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-11-13 13:37:36,053 5924 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-11-13 13:37:36,053 5924 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-11-13 13:37:36,067 5924 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-11-13 13:37:36,067 5924 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-11-13 13:37:36,067 5924 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-11-13 13:37:36,086 5924 [DEBUG] - Loading community extensions
2024-11-13 13:37:36,119 5924 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-11-13 13:37:36,119 5924 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-11-13 13:37:36,275 5924 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-11-13 13:37:36,287 5924 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-11-13 13:37:36,287 5924 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-11-13 13:37:36,287 5924 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-11-13 13:37:36,320 5924 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-11-13 13:37:36,334 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-11-13 13:37:36,334 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-11-13 13:37:36,347 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-11-13 13:37:36,347 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-11-13 13:37:36,347 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-11-13 13:37:36,347 5924 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-11-13 13:37:36,366 5924 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-11-13 13:37:36,366 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-11-13 13:37:36,379 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-11-13 13:37:36,379 5924 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-11-13 13:37:36,379 5924 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-11-13 13:37:36,379 5924 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-11-13 13:37:36,397 5924 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-11-13 13:37:36,397 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-11-13 13:37:36,397 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-11-13 13:37:36,412 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-11-13 13:37:36,412 5924 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-11-13 13:37:36,412 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-11-13 13:37:36,428 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-11-13 13:37:36,428 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-11-13 13:37:36,428 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-11-13 13:37:36,442 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-11-13 13:37:36,442 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-13 13:37:36,442 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-11-13 13:37:36,457 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-11-13 13:37:36,457 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-11-13 13:37:36,457 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-11-13 13:37:36,475 5924 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-11-13 13:37:36,475 5924 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-11-13 13:37:36,489 5924 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-11-13 13:37:36,489 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-11-13 13:37:36,489 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-13 13:37:36,489 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-11-13 13:37:36,507 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-11-13 13:37:36,507 5924 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-11-13 13:37:36,507 5924 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-11-13 13:37:36,520 5924 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-11-13 13:37:36,520 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:37:36,520 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:37:36,536 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:37:36,536 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:37:36,536 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:37:36,552 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:37:36,552 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:37:36,552 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:37:36,552 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:37:36,570 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:37:36,570 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:37:36,583 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:37:36,583 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:37:36,583 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:37:36,583 5924 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-11-13 13:37:36,600 5924 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-11-13 13:37:36,600 5924 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-11-13 13:37:36,615 5924 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-11-13 13:37:36,615 5924 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-11-13 13:37:36,615 5924 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-11-13 13:37:36,615 5924 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-11-13 13:37:36,633 5924 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-11-13 13:37:36,633 5924 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-11-13 13:37:36,645 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:37:36,645 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:37:36,645 5924 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:37:36,645 5924 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:37:36,663 5924 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:37:36,663 5924 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:37:36,770 5924 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:37:36,770 5924 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-11-13 13:37:36,788 5924 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-11-13 13:37:36,788 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-11-13 13:37:36,788 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-11-13 13:37:36,803 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-11-13 13:37:36,803 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-11-13 13:37:36,803 5924 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-11-13 13:37:36,816 5924 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-11-13 13:37:36,816 5924 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-11-13 13:37:36,816 5924 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-11-13 13:37:36,816 5924 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-11-13 13:37:36,836 5924 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-11-13 13:37:36,836 5924 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-11-13 13:37:36,848 5924 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-11-13 13:37:36,848 5924 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-11-13 13:37:36,848 5924 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-11-13 13:37:36,864 5924 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-11-13 13:37:36,864 5924 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-11-13 13:37:36,864 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-11-13 13:37:36,864 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-11-13 13:37:36,881 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-11-13 13:37:36,881 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-11-13 13:37:36,881 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-11-13 13:37:36,896 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-13 13:37:36,896 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-11-13 13:37:36,896 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-11-13 13:37:36,911 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-11-13 13:37:36,911 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-11-13 13:37:36,911 5924 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-11-13 13:37:36,926 5924 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-11-13 13:37:36,926 5924 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-11-13 13:37:36,926 5924 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-11-13 13:37:36,947 5924 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-11-13 13:37:36,957 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-11-13 13:37:36,957 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-13 13:37:36,957 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-11-13 13:37:36,957 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-11-13 13:37:36,977 5924 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-11-13 13:37:36,977 5924 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-11-13 13:37:36,988 5924 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-11-13 13:37:36,988 5924 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-11-13 13:37:36,988 5924 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-11-13 13:37:36,988 5924 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-11-13 13:37:37,011 5924 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-11-13 13:37:37,015 5924 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-11-13 13:37:37,021 5924 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-11-13 13:37:37,021 5924 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-11-13 13:37:37,117 5924 [DEBUG] - ---------------------------Script Execution---------------------------
2024-11-13 13:37:37,133 5924 [DEBUG] - Running 'ChocolateyScriptRunner' for jdk8 v8.0.211 with packageScript 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jdk8', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-11-13 13:37:37,194 5924 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1'
2024-11-13 13:37:37,396 5924 [DEBUG] - Running Get-ProcessorBits -compare '64'
2024-11-13 13:37:37,447 5924 [INFO ] - Downloading JDK from https://javadl.oracle.com/webapps/download/GetFile/1.8.0_211-b12/478a62b7d4e34b78b671c754eaaf38ab/windows-i586/jdk-8u211-windows-x64.exe
2024-11-13 13:37:44,805 5924 [DEBUG] - Running Get-ProcessorBits -compare '64'
2024-11-13 13:37:44,817 5924 [DEBUG] - Running Get-ProcessorBits -compare '64'
2024-11-13 13:37:44,849 5924 [DEBUG] - Running Get-ProcessorBits -compare '64'
2024-11-13 13:37:44,965 5924 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'jdk8' -fileType 'exe' -silentArgs '/s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature"' -file 'C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u211-windows-x64.exe'
2024-11-13 13:37:44,972 5924 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-11-13 13:37:44,994 5924 [INFO ] - Installing jdk8...
2024-11-13 13:37:45,199 5924 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\jdk8\tools' -statements '/s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature"' -exeToRun 'C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u211-windows-x64.exe'
2024-11-13 13:37:45,206 5924 [DEBUG] - Running Test-ProcessAdminRights
2024-11-13 13:37:45,241 5924 [DEBUG] - Test-ProcessAdminRights: returning True
2024-11-13 13:37:45,241 5924 [DEBUG] - Finishing 'Test-ProcessAdminRights'
2024-11-13 13:37:45,289 5924 [DEBUG] - Elevating permissions and running ["C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u211-windows-x64.exe" /s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature"]. This may take a while, depending on the statements.
2024-11-13 13:38:17,455 5924 [DEBUG] - Command ["C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u211-windows-x64.exe" /s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature"] exited with '0'.
2024-11-13 13:38:17,487 5924 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2024-11-13 13:38:17,487 5924 [INFO ] - jdk8 has been installed.
2024-11-13 13:38:17,502 5924 [DEBUG] - Running Get-ProcessorBits -compare '64'
2024-11-13 13:38:17,517 5924 [DEBUG] - Running Get-ProcessorBits -compare '64'
2024-11-13 13:38:17,545 5924 [DEBUG] - Running Install-ChocolateyPath -Path 'C:\Program Files\Java\jdk1.8.0_211\bin' -PathType 'Machine'
2024-11-13 13:38:17,579 5924 [INFO ] - PATH environment variable does not have C:\Program Files\Java\jdk1.8.0_211\bin in it. Adding...
2024-11-13 13:38:17,595 5924 [DEBUG] - Registry type for PATH is/will be ExpandString
2024-11-13 13:38:17,756 5924 [DEBUG] - Finishing 'Install-ChocolateyPath'
2024-11-13 13:38:17,816 5924 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName 'CLASSPATH' -variableValue '.;' -variableType 'Machine'
2024-11-13 13:38:17,844 5924 [DEBUG] - Running Test-ProcessAdminRights
2024-11-13 13:38:17,872 5924 [DEBUG] - Test-ProcessAdminRights: returning True
2024-11-13 13:38:17,872 5924 [DEBUG] - Finishing 'Test-ProcessAdminRights'
2024-11-13 13:38:17,872 5924 [DEBUG] - Running Set-EnvironmentVariable -Name 'CLASSPATH' -Value '.;' -Scope 'Machine'
2024-11-13 13:38:17,895 5924 [DEBUG] - Registry type for CLASSPATH is/will be String
2024-11-13 13:38:17,983 5924 [DEBUG] - Finishing 'Set-EnvironmentVariable'
2024-11-13 13:38:18,016 5924 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName 'JAVA_HOME' -variableValue 'C:\Program Files\Java\jdk1.8.0_211' -variableType 'Machine'
2024-11-13 13:38:18,016 5924 [DEBUG] - Running Test-ProcessAdminRights
2024-11-13 13:38:18,032 5924 [DEBUG] - Test-ProcessAdminRights: returning True
2024-11-13 13:38:18,032 5924 [DEBUG] - Finishing 'Test-ProcessAdminRights'
2024-11-13 13:38:18,046 5924 [DEBUG] - Running Set-EnvironmentVariable -Name 'JAVA_HOME' -Value 'C:\Program Files\Java\jdk1.8.0_211' -Scope 'Machine'
2024-11-13 13:38:18,046 5924 [DEBUG] - Registry type for JAVA_HOME is/will be String
2024-11-13 13:38:18,122 5924 [DEBUG] - Finishing 'Set-EnvironmentVariable'
2024-11-13 13:38:18,146 5924 [DEBUG] - ----------------------------------------------------------------------
2024-11-13 13:38:18,171 5924 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-11-13 13:38:18,171 5924 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-11-13 13:38:18,293 5924 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-11-13 13:38:18,345 5924 [INFO ] - jdk8 may be able to be automatically uninstalled.
2024-11-13 13:38:18,364 5924 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2024-11-13 13:38:18,375 5924 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2024-11-13 13:38:18,375 5924 [DEBUG] - * ChocolateyLastPathUpdate='133759786980628761' (User)
2024-11-13 13:38:18,375 5924 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Java\jdk1.8.0_211\bin' (Machine)
2024-11-13 13:38:18,375 5924 [DEBUG] - * CLASSPATH='.;' (Machine)
2024-11-13 13:38:18,393 5924 [DEBUG] - * JAVA_HOME='C:\Program Files\Java\jdk1.8.0_211' (Machine)
2024-11-13 13:38:18,547 5924 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jdk8'
2024-11-13 13:38:18,564 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jdk8\jdk8.nupkg'
with checksum 'A8535E9B0497A0C5F392701BF73B03D6'
2024-11-13 13:38:18,564 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jdk8\jdk8.nuspec'
with checksum '02638B90DF509076C7E6796171126EAF'
2024-11-13 13:38:18,564 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1'
with checksum '05323E0D4448D8F04B423107588755DA'
2024-11-13 13:38:18,579 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyUninstall.ps1'
with checksum 'CEB7702410D1D48BF15A2730D3C81719'
2024-11-13 13:38:18,579 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jdk8\tools\common.ps1'
with checksum '5E971C8323F234184BE7732C464D0979'
2024-11-13 13:38:19,453 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u211-windows-x64.exe'
with checksum 'C85AABF87700D59296EB5EB715D23CCC'
2024-11-13 13:38:19,453 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u211-windows-x64.exe.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2024-11-13 13:38:19,514 5924 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\jdk8.8.0.211".
2024-11-13 13:38:19,612 5924 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jdk8.8.0.211\.registry'
2024-11-13 13:38:19,653 5924 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jdk8.8.0.211\.files'
2024-11-13 13:38:19,683 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jdk8.8.0.211\.extra".
2024-11-13 13:38:19,683 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jdk8.8.0.211\.version".
2024-11-13 13:38:19,683 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jdk8.8.0.211\.sxs".
2024-11-13 13:38:19,709 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jdk8.8.0.211\.pin".
2024-11-13 13:38:19,715 5924 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-11-13 13:38:19,715 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\jdk8\.chocolateyPending".
2024-11-13 13:38:19,747 5924 [INFO ] - The install of jdk8 was successful.
2024-11-13 13:38:19,747 5924 [INFO ] - Deployed to 'C:\Program Files\Java\jdk1.8.0_211\'
2024-11-13 13:38:19,747 5924 [DEBUG] - Attempting to delete file "".
2024-11-13 13:38:19,747 5924 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
2024-11-13 13:38:19,776 5924 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/Artifactory/6.5.13'
2024-11-13 13:38:19,776 5924 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/Artifactory/6.5.13
2024-11-13 13:38:20,035 5924 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/Artifactory/6.5.13 249ms
2024-11-13 13:38:20,035 5924 [INFO ] - [NuGet] Acquiring lock for the installation of Artifactory 6.5.13
2024-11-13 13:38:20,047 5924 [INFO ] - [NuGet] Acquired lock for the installation of Artifactory 6.5.13
2024-11-13 13:38:20,106 5924 [INFO ] - [NuGet] Installed Artifactory 6.5.13 from https://community.chocolatey.org/api/v2/ with content hash uKi8vd19kOP5cOTQbPy6xOyz+ji7D2VB2s3VMKEn8Lp+yNdmqSt3hZORgPendcefo/KYa7LQQlLfnq0JFod7Kg==.
2024-11-13 13:38:20,106 5924 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2024-11-13 13:38:20,168 5924 [INFO ] - [NuGet] Adding package 'Artifactory.6.5.13 : jdk8 (, )' to folder 'C:\ProgramData\chocolatey\lib'
2024-11-13 13:38:20,232 5924 [INFO ] - [NuGet] Added package 'Artifactory.6.5.13 : jdk8 (, )' to folder 'C:\ProgramData\chocolatey\lib'
2024-11-13 13:38:20,260 5924 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\Artifactory/6.5.13\Artifactory.6.5.13.nupkg".
2024-11-13 13:38:20,260 5924 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\Artifactory/6.5.13\.nupkg.metadata".
2024-11-13 13:38:20,260 5924 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\Artifactory/6.5.13\Artifactory.6.5.13.nupkg.sha512".
2024-11-13 13:38:20,292 5924 [INFO ] -
artifactory v6.5.13 (forced) [Approved] - Possibly broken
2024-11-13 13:38:20,292 5924 [INFO ] - artifactory package files install completed. Performing other installation steps.
2024-11-13 13:38:20,326 5924 [DEBUG] - Setting installer args for Artifactory
2024-11-13 13:38:20,326 5924 [DEBUG] - Setting package parameters for Artifactory
2024-11-13 13:38:20,326 5924 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1':
2024-11-13 13:38:20,356 5924 [DEBUG] -
#Reread Environment In Case JDK dependency just ran
Update-SessionEnvironment
$version = '6.5.13'
$url = "https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-$version.zip;bt_package=jfrog-artifactory-oss-zip"
$checksum = '781627500B75F9B541DDC93D750548112520F9CAB2233001AFCACDDE111D0DA6'
$checksumtype = 'sha256'
$validExitCodes = @(0)
$packageName= 'artifactory'
$versionedfolder = "artifactory-oss-$version"
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$TargetFolder = "$env:ProgramData\artifactory"
$ExtractFolder = "$env:temp\jfrogtemp"
$servicename = 'artifactory'
If ([bool](Get-Service $servicename -ErrorAction SilentlyContinue))
{
Write-Warning "Artifactory is already present, shutting it down so that we can upgrade it."
Stop-Service $servicename -force
pushd "$TargetFolder\bin"
Start-ChocolateyProcessAsAdmin "/c `"$TargetFolder\bin\uninstallservice.bat`"" "cmd.exe" -validExitCodes $validExitCodes
popd
}
Write-Host "Ensuring Java is Present and that JDK_HOME is setup..."
If (!(Test-Path Env:JDK_HOME))
{
If (Test-Path "$env:ProgramW6432\Java")
{
$JavaPath = (dir 'C:\Program Files\Java\' | sort-object name | select -last 1).fullname
If ($JavaPath)
{
Write-Host "Found JDK at $JavaPath, setting up JDK_HOME..."
#[Environment]::SetEnvironmentVariable("JDK_HOME","$JavaPath","Machine")
#[Environment]::SetEnvironmentVariable("JDK_HOME","$JavaPath","Process")
Install-ChocolateyEnvironmentVariable -VariableName 'JDK_HOME' -VariableValue "$JavaPath" -VariableType 'Machine'
Install-ChocolateyEnvironmentVariable -VariableName 'JDK_HOME' -VariableValue "$JavaPath" -VariableType 'Process'
}
Else
{
Throw "Java is not installed at `"$env:ProgramFiles\Java`", cannot find java, cannot continue"
}
}
else
{
Throw "Cannot find variable JDK_HOME nor Java itself, cannot continue..."
}
}
If (Test-Path "$ExtractFolder") {Remove-Item "$ExtractFolder" -Recurse -Force}
Install-ChocolateyZipPackage -PackageName $packageName -unziplocation "$ExtractFolder" -url $url -checksum $checksum -checksumtype $checksumtype -url64 $url -checksum64 $checksum -checksumtype64 $checksumtype
Rename-Item "$ExtractFolder\$versionedfolder" "$ExtractFolder\artifactory"
Copy-Item "$ExtractFolder\artifactory" "$env:programdata" -Force -Recurse
Remove-Item "$ExtractFolder\artifactory" -Force -Recurse
#remove the pause from installservice.bat
((Get-Content "$TargetFolder\bin\installservice.bat") -replace '& pause', '') -replace 'pause', ''| Set-Content "$TargetFolder\bin\installservice.bat"
pushd "$TargetFolder\bin"
$output=(& ./installservice.bat)
popd
write-host "Results from artifactory's installservice.bat:"
Write-host "$($output | out-string)"
Install-ChocolateyEnvironmentVariable 'ARTIFACTORY_HOME' "$TargetFolder\bin" -VariableType 'Machine'
Install-ChocolateyEnvironmentVariable 'ARTIFACTORY_HOME' "$TargetFolder\bin" -VariableType 'Process'
If ([bool]!($output -ilike '*has been installed*'))
{
Write-host "Artifactory install failed with this message:"
Throw "Artifactory installer failed."
}
$ArtifactoryServiceRegKey = 'HKLM:System\CurrentControlSet\Services\Artifactory'
If (Test-Path $ArtifactoryServiceRegKey)
{
Write-Host "Cleaning up the invalid characters that installservice.bat puts in the Artifactory service definition registry key..."
$CleanedValue = (Get-ItemProperty $ArtifactoryServiceRegKey | Select -Expand ImagePath) -replace '[^\p{L}\p{Nd}///_/ /:/./\\/-]', ''
Set-ItemProperty $ArtifactoryServiceRegKey -Name ImagePath -Value $CleanedValue
}
else
{
Throw "Artifactory installer failed."
}
$service = Start-Service $servicename -PassThru
Write-Host "Waiting for Artifactory service to be completely ready"
$Service.WaitForStatus('Running', '00:02:00')
If ($Service.Status -ine 'Running')
{
Write-Warning "The Artifactory service ($servicename) did not start."
}
else
{
#Even though windows reports service is ready - web url will not respond until Artifactory is actually ready to serve content
Start-Sleep 120
}
Write-Warning "`r`n"
Write-Warning "***************************************************************************"
Write-Warning "* You can manage the repository by visiting http://localhost:8081/artifactory"
Write-Warning "* The default user is 'admin' with password 'password'"
Write-Warning "* Artifactory availability is controlled via the service `"$servicename`""
Write-Warning "* Use the following command to open port 8081 for access from off this machine (one line):"
Write-Warning "* netsh advfirewall firewall add rule name=`"Nexus Repository`" dir=in action=allow "
Write-Warning "* protocol=TCP localport=8081"
Write-Warning "***************************************************************************"
2024-11-13 13:38:20,356 5924 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-11-13 13:38:20,392 5924 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-11-13 13:38:20,440 5924 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
2024-11-13 13:38:20,652 5924 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2024-11-13 13:38:20,682 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:38:20,682 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:38:20,682 5924 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:38:20,682 5924 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:38:20,682 5924 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:38:20,712 5924 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:38:20,714 5924 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:38:20,714 5924 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2024-11-13 13:38:20,714 5924 [DEBUG] - Get-EnvironmentVariable
2024-11-13 13:38:20,714 5924 [DEBUG] - Get-EnvironmentVariableNames
2024-11-13 13:38:20,738 5924 [DEBUG] - Install-ChocolateyPath
2024-11-13 13:38:20,748 5924 [DEBUG] - Set-EnvironmentVariable
2024-11-13 13:38:20,748 5924 [DEBUG] - Test-ProcessAdminRights
2024-11-13 13:38:20,748 5924 [DEBUG] - Uninstall-ChocolateyPath
2024-11-13 13:38:20,748 5924 [DEBUG] - Update-SessionEnvironment
2024-11-13 13:38:20,748 5924 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-11-13 13:38:20,770 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-11-13 13:38:20,781 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-11-13 13:38:20,781 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-11-13 13:38:20,781 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-11-13 13:38:20,781 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-11-13 13:38:20,800 5924 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-11-13 13:38:20,812 5924 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-11-13 13:38:20,812 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-11-13 13:38:20,812 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-11-13 13:38:20,812 5924 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-11-13 13:38:20,840 5924 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-11-13 13:38:20,840 5924 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-11-13 13:38:20,840 5924 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-11-13 13:38:20,840 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-11-13 13:38:20,840 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-11-13 13:38:20,867 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-11-13 13:38:20,872 5924 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-11-13 13:38:20,872 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-11-13 13:38:20,872 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-11-13 13:38:20,906 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-11-13 13:38:20,906 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-11-13 13:38:20,906 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-11-13 13:38:20,934 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-13 13:38:20,934 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-11-13 13:38:20,934 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-11-13 13:38:20,934 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-11-13 13:38:20,934 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-11-13 13:38:20,934 5924 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-11-13 13:38:20,964 5924 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-11-13 13:38:20,964 5924 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-11-13 13:38:20,964 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-11-13 13:38:20,964 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-13 13:38:20,964 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-11-13 13:38:20,997 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-11-13 13:38:20,997 5924 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-11-13 13:38:20,997 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:38:21,020 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:38:21,020 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:38:21,030 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:38:21,030 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:38:21,030 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:38:21,049 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:38:21,049 5924 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-11-13 13:38:21,049 5924 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-11-13 13:38:21,066 5924 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-11-13 13:38:21,066 5924 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-11-13 13:38:21,077 5924 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-11-13 13:38:21,077 5924 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-11-13 13:38:21,077 5924 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-11-13 13:38:21,094 5924 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-11-13 13:38:21,094 5924 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-11-13 13:38:21,110 5924 [DEBUG] - Loading community extensions
2024-11-13 13:38:21,110 5924 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-11-13 13:38:21,127 5924 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-11-13 13:38:21,156 5924 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-11-13 13:38:21,156 5924 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-11-13 13:38:21,175 5924 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-11-13 13:38:21,175 5924 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-11-13 13:38:21,190 5924 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-11-13 13:38:21,190 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-11-13 13:38:21,203 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-11-13 13:38:21,203 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-11-13 13:38:21,203 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-11-13 13:38:21,230 5924 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-11-13 13:38:21,230 5924 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-11-13 13:38:21,230 5924 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-11-13 13:38:21,230 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-11-13 13:38:21,230 5924 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-11-13 13:38:21,230 5924 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-11-13 13:38:21,230 5924 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-11-13 13:38:21,261 5924 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-11-13 13:38:21,261 5924 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-11-13 13:38:21,261 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-11-13 13:38:21,261 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-11-13 13:38:21,294 5924 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-11-13 13:38:21,294 5924 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-11-13 13:38:21,294 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-11-13 13:38:21,325 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-11-13 13:38:21,325 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-11-13 13:38:21,325 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-11-13 13:38:21,325 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-11-13 13:38:21,354 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-13 13:38:21,354 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-11-13 13:38:21,354 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-11-13 13:38:21,354 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-11-13 13:38:21,354 5924 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-11-13 13:38:21,385 5924 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-11-13 13:38:21,385 5924 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-11-13 13:38:21,385 5924 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-11-13 13:38:21,385 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-11-13 13:38:21,385 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-13 13:38:21,385 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-11-13 13:38:21,424 5924 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-11-13 13:38:21,424 5924 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-11-13 13:38:21,424 5924 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-11-13 13:38:21,440 5924 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-11-13 13:38:21,440 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:38:21,454 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:38:21,454 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:38:21,454 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:38:21,454 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:38:21,476 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:38:21,481 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:38:21,481 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:38:21,481 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:38:21,481 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:38:21,511 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:38:21,511 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:38:21,511 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:38:21,511 5924 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:38:21,543 5924 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-11-13 13:38:21,543 5924 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-11-13 13:38:21,543 5924 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-11-13 13:38:21,543 5924 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-11-13 13:38:21,543 5924 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-11-13 13:38:21,573 5924 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-11-13 13:38:21,573 5924 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-11-13 13:38:21,573 5924 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-11-13 13:38:21,573 5924 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-11-13 13:38:21,608 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-11-13 13:38:21,608 5924 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-11-13 13:38:21,608 5924 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-11-13 13:38:21,635 5924 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-11-13 13:38:21,635 5924 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-11-13 13:38:21,635 5924 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-11-13 13:38:21,635 5924 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-11-13 13:38:21,635 5924 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-11-13 13:38:21,635 5924 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-11-13 13:38:21,668 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-11-13 13:38:21,668 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-11-13 13:38:21,668 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-11-13 13:38:21,668 5924 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-11-13 13:38:21,668 5924 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-11-13 13:38:21,668 5924 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-11-13 13:38:21,702 5924 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-11-13 13:38:21,702 5924 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-11-13 13:38:21,702 5924 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-11-13 13:38:21,702 5924 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-11-13 13:38:21,728 5924 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-11-13 13:38:21,728 5924 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-11-13 13:38:21,728 5924 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-11-13 13:38:21,728 5924 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-11-13 13:38:21,728 5924 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-11-13 13:38:21,728 5924 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-11-13 13:38:21,760 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-11-13 13:38:21,811 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-11-13 13:38:21,811 5924 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-11-13 13:38:21,811 5924 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-11-13 13:38:21,811 5924 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-11-13 13:38:21,834 5924 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-11-13 13:38:21,834 5924 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-11-13 13:38:21,842 5924 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-11-13 13:38:21,842 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-11-13 13:38:21,842 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-13 13:38:21,865 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-11-13 13:38:21,865 5924 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-11-13 13:38:21,872 5924 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-11-13 13:38:21,872 5924 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-11-13 13:38:21,872 5924 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-11-13 13:38:21,872 5924 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-11-13 13:38:21,872 5924 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-11-13 13:38:21,901 5924 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-11-13 13:38:21,901 5924 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-11-13 13:38:21,901 5924 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-11-13 13:38:21,901 5924 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-11-13 13:38:21,901 5924 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-11-13 13:38:21,934 5924 [DEBUG] - ---------------------------Script Execution---------------------------
2024-11-13 13:38:21,934 5924 [DEBUG] - Running 'ChocolateyScriptRunner' for Artifactory v6.5.13 with packageScript 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\Artifactory', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-11-13 13:38:21,934 5924 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1'
2024-11-13 13:38:21,988 5924 [DEBUG] - Running Update-SessionEnvironment
2024-11-13 13:38:22,001 5924 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2024-11-13 13:38:22,033 5924 [DEBUG] - Finishing 'Update-SessionEnvironment'
2024-11-13 13:38:22,062 5924 [INFO ] - Ensuring Java is Present and that JDK_HOME is setup...
2024-11-13 13:38:22,126 5924 [INFO ] - Found JDK at C:\Program Files\Java\jdk1.8.0_211, setting up JDK_HOME...
2024-11-13 13:38:22,126 5924 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName 'JDK_HOME' -variableValue 'C:\Program Files\Java\jdk1.8.0_211' -variableType 'Machine'
2024-11-13 13:38:22,147 5924 [DEBUG] - Running Test-ProcessAdminRights
2024-11-13 13:38:22,151 5924 [DEBUG] - Test-ProcessAdminRights: returning True
2024-11-13 13:38:22,151 5924 [DEBUG] - Finishing 'Test-ProcessAdminRights'
2024-11-13 13:38:22,151 5924 [DEBUG] - Running Set-EnvironmentVariable -Name 'JDK_HOME' -Value 'C:\Program Files\Java\jdk1.8.0_211' -Scope 'Machine'
2024-11-13 13:38:22,151 5924 [DEBUG] - Registry type for JDK_HOME is/will be String
2024-11-13 13:38:22,213 5924 [DEBUG] - Finishing 'Set-EnvironmentVariable'
2024-11-13 13:38:22,239 5924 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName 'JDK_HOME' -variableValue 'C:\Program Files\Java\jdk1.8.0_211' -variableType 'Process'
2024-11-13 13:38:22,239 5924 [DEBUG] - Running Set-EnvironmentVariable -Name 'JDK_HOME' -Value 'C:\Program Files\Java\jdk1.8.0_211' -Scope 'Process'
2024-11-13 13:38:22,253 5924 [DEBUG] - Finishing 'Set-EnvironmentVariable'
2024-11-13 13:38:22,314 5924 [DEBUG] - Running Install-ChocolateyZipPackage -packageName 'artifactory' -unzipLocation 'C:\Users\vagrant\AppData\Local\Temp\jfrogtemp' -url 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip' -checksum '781627500B75F9B541DDC93D750548112520F9CAB2233001AFCACDDE111D0DA6' -checksumType 'sha256' -url64bit 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip' -checksum64 '781627500B75F9B541DDC93D750548112520F9CAB2233001AFCACDDE111D0DA6' -checksumType64 'sha256'
2024-11-13 13:38:22,432 5924 [DEBUG] - Running Get-ChocolateyWebFile -checksum '781627500B75F9B541DDC93D750548112520F9CAB2233001AFCACDDE111D0DA6' -checksumType 'sha256' -checksum64 '781627500B75F9B541DDC93D750548112520F9CAB2233001AFCACDDE111D0DA6' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'artifactory' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\Artifactory\6.5.13\artifactoryInstall.zip' -url 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip' -url64bit 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip'
2024-11-13 13:38:22,466 5924 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-11-13 13:38:22,466 5924 [DEBUG] - CPU is 64 bit
2024-11-13 13:38:22,492 5924 [DEBUG] - Setting url to 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip' and bitPackage to 64
2024-11-13 13:38:22,567 5924 [DEBUG] - Running Get-WebFileName -url 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip' -defaultName 'artifactoryInstall.zip'
2024-11-13 13:38:24,081 5924 [DEBUG] - Url request/response failed - file name will be 'artifactoryInstall.zip': Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (410) Gone."
2024-11-13 13:38:24,094 5924 [DEBUG] - Running Get-WebHeaders -url 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip' -ErrorAction 'Stop'
2024-11-13 13:38:24,110 5924 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-11-13 13:38:24,130 5924 [DEBUG] - Request Headers:
2024-11-13 13:38:24,155 5924 [DEBUG] - 'Accept':'*/*'
2024-11-13 13:38:24,155 5924 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-11-13 13:38:25,471 5924 [INFO ] - Attempt to get headers for https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (410) Gone."
2024-11-13 13:38:25,487 5924 [INFO ] - Downloading artifactory 64 bit
from 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip'
2024-11-13 13:38:25,549 5924 [DEBUG] - Running Get-WebFile -url 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\Artifactory\6.5.13\artifactoryInstall.zip' -options 'System.Collections.Hashtable'
2024-11-13 13:38:25,549 5924 [DEBUG] - Setting request timeout to 30000
2024-11-13 13:38:25,563 5924 [DEBUG] - Setting read/write timeout to 2700000
2024-11-13 13:38:25,563 5924 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-11-13 13:38:27,854 5924 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-6.5.13.zip;bt_package=jfrog-artifactory-oss-zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (410) Gone."
at Get-WebFile, C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1: line 351
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 372
at Install-ChocolateyZipPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyZipPackage.ps1: line 228
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1: line 56
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2024-11-13 13:38:27,854 5924 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '404'.
2024-11-13 13:38:27,854 5924 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-11-13 13:38:27,997 5924 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-11-13 13:38:27,997 5924 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2024-11-13 13:38:27,997 5924 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2024-11-13 13:38:28,022 5924 [DEBUG] - * ChocolateyLastPathUpdate='133759787021847619' (User)
2024-11-13 13:38:28,027 5924 [DEBUG] - * JDK_HOME='C:\Program Files\Java\jdk1.8.0_211' (Machine)
2024-11-13 13:38:28,027 5924 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\Artifactory'
2024-11-13 13:38:28,027 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Artifactory\artifactory.nupkg'
with checksum '54E7A90B2AC1D5529376B503967B27F9'
2024-11-13 13:38:28,027 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Artifactory\artifactory.nuspec'
with checksum '27C487973154B6715A54DA127D444F09'
2024-11-13 13:38:28,027 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1'
with checksum '443A03FBC612CD5E27C7F5D07205D9F5'
2024-11-13 13:38:28,027 5924 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyuninstall.ps1'
with checksum '60CA318DB37508E3CCC854409BAF87CA'
2024-11-13 13:38:28,058 5924 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13".
2024-11-13 13:38:28,058 5924 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13\.files'
2024-11-13 13:38:28,058 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13\.arguments".
2024-11-13 13:38:28,090 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13\.extra".
2024-11-13 13:38:28,090 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13\.version".
2024-11-13 13:38:28,090 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13\.sxs".
2024-11-13 13:38:28,090 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13\.pin".
2024-11-13 13:38:28,120 5924 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\artifactory.6.5.13\.deploymentLocation".
2024-11-13 13:38:28,120 5924 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-11-13 13:38:28,120 5924 [ERROR] - The install of artifactory was NOT successful.
2024-11-13 13:38:28,120 5924 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1'.
See log for details.
2024-11-13 13:38:28,152 5924 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-11-13 13:38:28,152 5924 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\artifactory".
2024-11-13 13:38:28,152 5924 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\Artifactory to C:\ProgramData\chocolatey\lib-bad\artifactory\6.5.13
2024-11-13 13:38:28,175 5924 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\Artifactory'
to 'C:\ProgramData\chocolatey\lib-bad\artifactory\6.5.13'
2024-11-13 13:38:30,219 5924 [WARN ] -
Chocolatey installed 1/2 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-11-13 13:38:30,219 5924 [INFO ] -
2024-11-13 13:38:30,219 5924 [ERROR] - Failures
2024-11-13 13:38:30,237 5924 [ERROR] - - artifactory (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\Artifactory\tools\chocolateyinstall.ps1'.
See log for details.
2024-11-13 13:38:30,237 5924 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-11-13 13:38:30,251 5924 [DEBUG] - Exiting with 404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment