Newly 3rd party application manager not working correctly

Support forums for the Habitat Automate plugin
lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Newly 3rd party application manager not working correctly

Post by lblokland »

Hi,

New to Habitat, after setting up the plugin I cannot get the first client I want to setup working.
I have setup with and without location drive, just to test, but doesn't matter.
The first error message I can see on the clients end is the script 'Habitat Application Manager Service'.
It fails with 'The Script(5932) failed in the Else section at step 102. The reason: Row index out of bounds'
Stop 102 says 'Fetch row @LOOPCOUNT@ from dataset sqldataset' so it looks like someting basic is missing.

Second thing is that the Habitat 3rd paty app main console the Repo Versions are still at 'None' , this isn't updating.

Can someone help me out here please?

Thanks!
Leon

User avatar
Cubert
Posts: 2451
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Newly 3rd party application manager not working correctly

Post by Cubert »

lblokland wrote: Thu Jan 06, 2022 9:36 am Hi,

New to Habitat, after setting up the plugin I cannot get the first client I want to setup working.
I have setup with and without location drive, just to test, but doesn't matter.
The first error message I can see on the clients end is the script 'Habitat Application Manager Service'.
It fails with 'The Script(5932) failed in the Else section at step 102. The reason: Row index out of bounds'
Stop 102 says 'Fetch row @LOOPCOUNT@ from dataset sqldataset' so it looks like someting basic is missing.

Second thing is that the Habitat 3rd paty app main console the Repo Versions are still at 'None' , this isn't updating.

Can someone help me out here please?

Thanks!
Leon


1st. Application Manager Only works in bulk if cache location drive is setup and accessible via permissions provided.

To verify simply log into an agent at location with credentials and try to access and copy a text file to the location drive denoted in location configurations.

If you are able to freely copy and paste files as that user you should be ready to go. The standalone agents although will work without a location cache will cause a trip in the limiters that Chocolatey.org has in place on repository if you have more than a few agents set to be standalone and coming from same location IP address.

So if your client location has more than 2 or 3 agents there you will want to setup the location cache drive as defined in the documents.
viewtopic.php?f=64&t=5891&sid=a7bc71d00 ... e2301f036c

2nd. Until the framework has installed and Chocolatey available to agents then you will get such an error. If you send update all to agents that have yet to install framework then the sql query returns null and the script has no looping data to use.

#3, "Habitat 3rd party app main console the Repo Versions are still at 'None' , this isn't updating." As soon as the first client has successfully started caching packages from Chocolatey.org the data will be updated in plugin here first. Then these are updates each time any caching agents(any client) checks repo versioning keeping the versions as current as the last caching agents access to Chocolatey.org (several times a day) But before it can collect this data it must have an active client with valid cache.

Keep in mind that Application manager is not instant. There are several "rounds" of scripting executed on agents to prepare them and ready the management.
  • Install Framework
  • Cache created
  • Master cache versioned
  • Agent Versioned
  • AgentSync -> update and list app
These script functions are scheduled based on the Turtle and Rabbit settings (Once a day or several times a day). Then you have the client schedule which can be set to daily, weekly or monthly. By default you are daily.

So daily -> Rabbit is everyday several times a day "every few hours"
Weekly-> Turtle is once a week and only once on that day.

So you can see how you can manage the "load" of executing Chocolatey script functions by adjusting the different schedules. In any fashion you will need to allow a little time for agents to update and get going. You can use the menu items to speed this up on agents but still need to allow time for scripts to execute. If you try to schedule a framework followed by an update in the same timeframe Automate may drop one or more of the script schedules thinking they are duplicates. So allow a few minutes between menu functions like install frame work or scan agent.

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Newly 3rd party application manager not working correctly

Post by lblokland »

Understood! Patience is the key!

User avatar
Cubert
Posts: 2451
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Newly 3rd party application manager not working correctly

Post by Cubert »

is data looking any different today?

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Newly 3rd party application manager not working correctly

Post by lblokland »

Repo version os now in place, however when trying to install an app to a synced system the script returns ok but the application is not installed (notepadplusplus).

I will continue in the other ticket if you plefer, the one that has more history,.

Although I think I now understand how the app manager works, It doesn't seem to work as it should..

User avatar
Cubert
Posts: 2451
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Newly 3rd party application manager not working correctly

Post by Cubert »

does the app show up in the app list at all? If so if you double click it it will bring up last log for that application. What does that last log say?

Submit a screenshot here.

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Newly 3rd party application manager not working correctly

Post by lblokland »

The app is in the list yes, Notepad++ is pretty common app right?

Please see log below, and screenshots attached:

2022-01-10 18:13:16,424 23576 [INFO ] - ============================================================
2022-01-10 18:13:16,738 23576 [WARN ] - Parsing -version resulted in error (converted to warning):
Cannot bundle unregistered option '-e'.
2022-01-10 18:13:16,777 23576 [INFO ] - Chocolatey v0.11.3
2022-01-10 18:13:16,784 23576 [DEBUG] - Chocolatey is running on Windows v 10.0.20348.0
2022-01-10 18:13:16,787 23576 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2022-01-10 18:13:16,790 23576 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2022-01-10 18:13:16,801 23576 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install notepadplusplus -source C:\Windows\LTSvc\Habitat\packages\ -version 8.2 -fy
2022-01-10 18:13:16,803 23576 [DEBUG] - Received arguments: install notepadplusplus -source C:\Windows\LTSvc\Habitat\packages\ -version 8.2 -fy
2022-01-10 18:13:16,851 23576 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2022-01-10 18:13:16,861 23576 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2022-01-10 18:13:16,868 23576 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2022-01-10 18:13:16,916 23576 [DEBUG] - Performing validation checks.
2022-01-10 18:13:16,922 23576 [DEBUG] - Global Configuration Validation Checks:
2022-01-10 18:13:16,924 23576 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2022-01-10 18:13:16,926 23576 [DEBUG] - System State Validation Checks:
2022-01-10 18:13:16,928 23576 [DEBUG] - Reboot Requirement Checks:
2022-01-10 18:13:16,931 23576 [DEBUG] - - Pending Computer Rename = Checked
2022-01-10 18:13:16,933 23576 [DEBUG] - - Pending Component Based Servicing = Checked
2022-01-10 18:13:16,934 23576 [DEBUG] - - Pending Windows Auto Update = Checked
2022-01-10 18:13:16,936 23576 [DEBUG] - - Pending File Rename Operations = Ignored
2022-01-10 18:13:16,938 23576 [DEBUG] - - Pending Windows Package Installer = Checked
2022-01-10 18:13:16,939 23576 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2022-01-10 18:13:16,943 23576 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-01-10 18:13:16,945 23576 [DEBUG] - The source 'C:\Windows\LTSvc\Habitat\packages\' evaluated to a 'normal' source type
2022-01-10 18:13:16,947 23576 [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.
2022-01-10 18:13:16,954 23576 [DEBUG] - Configuration: CommandName='install'|CacheLocation='C:\Windows\TEMP\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='C:\Windows\LTSvc\Habitat\packages\'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='notepadplusplus'|Version='8.2'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='notepadplusplus'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.20348.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='0.11.3.0'|
Information.ChocolateyProductVersion='0.11.3'|
Information.FullName='choco, Version=0.11.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='SYSTEM'|Information.UserDomainName='DOMAIN'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='True'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|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='True'|
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.ScriptsCheckLastExitCode='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'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
2022-01-10 18:13:16,956 23576 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2022-01-10 18:13:16,961 23576 [INFO ] - Installing the following packages:
2022-01-10 18:13:16,963 23576 [INFO ] - notepadplusplus
2022-01-10 18:13:16,964 23576 [INFO ] - By installing, you accept licenses for the packages.
2022-01-10 18:13:17,147 23576 [INFO ] - [NuGet] Attempting to resolve dependency 'notepadplusplus.install (= 8.2)'.
2022-01-10 18:13:17,161 23576 [ERROR] - notepadplusplus not installed. An error occurred during installation:
Unable to resolve dependency 'notepadplusplus.install (= 8.2)'.
2022-01-10 18:13:17,168 23576 [INFO ] - notepadplusplus package files install failed with exit code 1. Performing other installation steps.
2022-01-10 18:13:17,173 23576 [DEBUG] - No package information as package is null.
2022-01-10 18:13:17,178 23576 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey".
2022-01-10 18:13:17,189 23576 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2022-01-10 18:13:17,194 23576 [DEBUG] - No package information to save as package is null.
2022-01-10 18:13:17,196 23576 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2022-01-10 18:13:17,198 23576 [ERROR] - The install of notepadplusplus was NOT successful.
2022-01-10 18:13:17,200 23576 [ERROR] - notepadplusplus not installed. An error occurred during installation:
Unable to resolve dependency 'notepadplusplus.install (= 8.2)'.
2022-01-10 18:13:17,202 23576 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2022-01-10 18:13:17,211 23576 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2022-01-10 18:13:17,213 23576 [INFO ] -
2022-01-10 18:13:17,214 23576 [ERROR] - Failures
2022-01-10 18:13:17,216 23576 [ERROR] - - notepadplusplus (exited 1) - notepadplusplus not installed. An error occurred during installation:
Unable to resolve dependency 'notepadplusplus.install (= 8.2)'.
2022-01-10 18:13:17,218 23576 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2022-01-10 18:13:17,219 23576 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2022-01-10 18:13:17,224 23576 [DEBUG] - Exiting with 1
2022-01-10 18:13:21,705 7392 [DEBUG] - XmlConfiguration is now operational
2022-01-10 18:13:21,745 7392 [INFO ] - ============================================================
2022-01-10 18:13:21,916 7392 [INFO ] - Chocolatey v0.11.3
2022-01-10 18:13:21,923 7392 [DEBUG] - Chocolatey is running on Windows v 10.0.20348.0
2022-01-10 18:13:21,926 7392 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2022-01-10 18:13:21,927 7392 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2022-01-10 18:13:21,935 7392 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" list notepadplusplus --exact
2022-01-10 18:13:21,937 7392 [DEBUG] - Received arguments: list notepadplusplus --exact
2022-01-10 18:13:21,979 7392 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2022-01-10 18:13:21,989 7392 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2022-01-10 18:13:21,996 7392 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2022-01-10 18:13:22,043 7392 [DEBUG] - Performing validation checks.
2022-01-10 18:13:22,048 7392 [DEBUG] - Global Configuration Validation Checks:
2022-01-10 18:13:22,050 7392 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2022-01-10 18:13:22,052 7392 [DEBUG] - System State Validation Checks:
2022-01-10 18:13:22,054 7392 [DEBUG] - Reboot Requirement Checks:
2022-01-10 18:13:22,056 7392 [DEBUG] - - Pending Computer Rename = Checked
2022-01-10 18:13:22,058 7392 [DEBUG] - - Pending Component Based Servicing = Checked
2022-01-10 18:13:22,059 7392 [DEBUG] - - Pending Windows Auto Update = Checked
2022-01-10 18:13:22,061 7392 [DEBUG] - - Pending File Rename Operations = Ignored
2022-01-10 18:13:22,062 7392 [DEBUG] - - Pending Windows Package Installer = Checked
2022-01-10 18:13:22,064 7392 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2022-01-10 18:13:22,067 7392 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-01-10 18:13:22,069 7392 [DEBUG] - The source 'https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2022-01-10 18:13:22,071 7392 [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.
2022-01-10 18:13:22,079 7392 [DEBUG] - Configuration: CommandName='list'|CacheLocation='C:\Windows\TEMP\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://community.chocolatey.org/api/v2 ... pe='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='notepadplusplus'|
AllVersions='False'|SkipPackageInstallProvider='False'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.20348.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='0.11.3.0'|
Information.ChocolateyProductVersion='0.11.3'|
Information.FullName='choco, Version=0.11.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='SYSTEM'|Information.UserDomainName='DOMAIN'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='True'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|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='True'|
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.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='True'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
2022-01-10 18:13:22,080 7392 [DEBUG] - _ Chocolatey:ChocolateyListCommand - Normal Run Mode _
2022-01-10 18:13:22,086 7392 [DEBUG] - Searching for package information
2022-01-10 18:13:22,092 7392 [DEBUG] - Running list with the following filter = 'notepadplusplus'
2022-01-10 18:13:22,094 7392 [DEBUG] - --- Start of List ---
2022-01-10 18:13:22,162 7392 [DEBUG] - Using 'https://community.chocolatey.org/api/v2/'.
2022-01-10 18:13:22,451 7392 [DEBUG] - - Supports prereleases? 'True'.
2022-01-10 18:13:22,453 7392 [DEBUG] - - Is ServiceBased? 'True'.
2022-01-10 18:13:22,577 7392 [DEBUG] - Package 'notepadplusplus' found on source 'https://community.chocolatey.org/api/v2/'
2022-01-10 18:13:22,626 7392 [INFO ] - notepadplusplus 8.2 [Approved]
2022-01-10 18:13:22,636 7392 [DEBUG] - --- End of List ---
2022-01-10 18:13:22,647 7392 [WARN ] - 1 packages found.
2022-01-10 18:13:22,653 7392 [WARN ] -
Did you know Pro / Business automatically syncs with Programs and
Features? Learn more about Package Synchronizer at
https://chocolatey.org/compare
2022-01-10 18:13:22,658 7392 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2022-01-10 18:13:22,669 7392 [DEBUG] - Exiting with 0
Attachments
error.png
error.png (150.67 KiB) Viewed 1705 times
notepadplusplus.png
notepadplusplus.png (155.25 KiB) Viewed 1705 times

User avatar
Cubert
Posts: 2451
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Newly 3rd party application manager not working correctly

Post by Cubert »

I think I see your issue?

Can you verify what versions of Notepadplusplus you have in you local cache repo.

I tested your command line and I failed as well, Passing 8.2 as a version. After looking at my repo I only show 8.19.3 as the version, passed that and all worked for me. I to show a repo version of 8.2 but my repo has no such version. I cleared my repo and reran repo update and I got the same version of NotePadPlusPlus (8.19.3) so that is what Chocolatey is issuing.

Very Bizarre.


I made a adjustment to my command and it was successful.

Here you can see I looked into my local repo and then called it direct from the local cache.
Capture.PNG
Capture.PNG (88.12 KiB) Viewed 1701 times

I'm going to poke around with this some more to see why Chocolatey said on thing to our master versioning service but only hands out a previous version.

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Newly 3rd party application manager not working correctly

Post by lblokland »

It says version 8.2 in the rapo, and also on the sitecache

User avatar
Cubert
Posts: 2451
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Newly 3rd party application manager not working correctly

Post by Cubert »

If on the agent in question,

Code: Select all

C:\ProgramData\chocolatey\bin\cinst.exe notepadplusplus -source [b]YourLocationDriveHere[/b]\Habitat\packages\ -version 8.2 -fy

Do you receive same error?

Post Reply

Return to “Habitat”