Support Q & A Home

Ask A Question

Anyone can ask or answer a question here, but our support engineers actively monitor your questions; we typically answer within a day or two.

Filter
Viewing Page 5 of 137 (20 questions out of 2737)
1
replies

Hi,

When will the NuGet feed support Markdown?

Product: ProGet
Version: 5.1.22

3
replies

In the notes for BM-3257 it says "Things not changed: Release & Package Deployment API". However, when I upgraded from BM 6.0.9 to 6.1.0, my implementation of /releases/packages/deploy stopped working. To get it working I needed to change the variable name in the body from "packageNumber" to "buildNumber".

I also noticed that the on-line documentation only mentions endpoints using the "build" keyword, like releases/builds/deploy. There is no mention of a packages endpoint (https://inedo.com/support/documentation/buildmaster/reference/api/release-and-package)

Were the /packages/ endpoints deprecated in a prior release?

Product: BuildMaster
Version: 6.1.0

1
replies

When I install ProGet it installs under its own port in IIS.
Is it possible to move it under an existing site in IIS?
I tried moving it, but the site doesn't render, and all the links are messed up.

Product: ProGet
Version: 5.1.22

1
replies

Hi,

I am looking for any tutorials on configuring PyPi feeds now that this is supported in 5.2 beta 14.

Thanks

Product: ProGet
Version: 5.2.0-beta.14

0
replies

Hi,
I have a problem with PSCall acting differently in Plans and Roles.
I have a simple PowerShell script for sorting items:

param (
    [Parameter(Mandatory = $true)]
    [psobject]
    $List
)
$SortedList =  $List | Sort-Object

I also have this simple plan:

Ensure-Server $ServerName;
set @UnsortedList = @(item2,item3,item1);
PSCall Sort-List
(
    List: @UnsortedList,
    SortedList => @SortedList
);

It works great and as expected.
Unfortunately, when I copy the code from this plan into a role that fails with an error:

Unhandled exception: System.ArgumentException: Cannot assign a Scalar value to a Vector variable.
at Inedo.ExecutionEngine.Executer.ExecutionOnlyRuntimeVariable..ctor(RuntimeVariableName name, RuntimeValue value)
at Inedo.ExecutionEngine.Executer.ExecuterThread.InitializeVariable(RuntimeVariableName name, RuntimeValue value)
at Inedo.ExecutionEngine.Executer.ExecuterThread.ExecuterContext.<SetVariableValueAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.ExecutionEngine.Executer.ExecuterThread.ExecuterContext.SetVariableValue(RuntimeVariableName variableName, RuntimeValue variableValue)
at Inedo.ExecutionEngine.Mapping.CoreScriptPropertyMapper.ReadOutputs(Object target, IEnumerable`1 variables, IExecuterContext executerContext)
at Inedo.Otter.Service.PlanExecuter.OtterPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__57.MoveNext()
Is there something missing or should it work in both cases?

Product: Otter
Version: 2.1.3

1
replies

If I am serving python packages via ProGet/Choco, Is it possible to install these in a virtual env as opposed to system wide install?

Product: ProGet
Version: 5.1.22

3
replies

Hello, I'm trying to migrate from a Windows installation which uses MSSQL to your (linux) docker image using postgres.

I've managed to copy the feed folders over to the new system but I can't find a way to re-index them...

It looks like that ability was removed in the past: https://inedo.com/support/questions/8111

Obviously I cannot simply backup and restore the database. Is there a way forward here?

Cheers

Product: BuildMaster
Version: 6.1.0

1
replies

Can an individual feed be backed up? We have one feed that needs to be restored in the instance of a DR event. We would like to save time and space by only backing up that feed.

Product: ProGet
Version: 5.0.12

1
replies

Hey,

I'm unable to push nuget symbols packages to my feed. When I do so I get a sql exception:

Postgres logs

proget-postgres_1  | 2019-02-07 13:41:56.160 UTC [364] ERROR:  invalid input syntax for integer: ""
proget-postgres_1  | 2019-02-07 13:41:56.160 UTC [364] CONTEXT:  SQL statement "INSERT INTO "NuGetPackageSymbolsV2"
proget-postgres_1  |                    (
proget-postgres_1  |                        "Feed_Id",
proget-postgres_1  |                        "Symbol_Id",
proget-postgres_1  |                        "SymbolFileName_Text",
proget-postgres_1  |                        "Package_SymbolFilePath_Text",
proget-postgres_1  |                        "Symbol_Age",
proget-postgres_1  |                        "NuGetPackageV2_Id",
proget-postgres_1  |                        "Package_Version_Text"
proget-postgres_1  |                    )
proget-postgres_1  |                    SELECT "@Feed_Id",
proget-postgres_1  |                           decode(array_to_string(xpath('@Id', S), ''), 'base64'),
proget-postgres_1  |                           array_to_string(xpath('@FileName', S), ''),
proget-postgres_1  |                           array_to_string(xpath('@Path', S), ''),
proget-postgres_1  |                           CAST(array_to_string(xpath('@Age', S), '') AS INT),
proget-postgres_1  |                           "@NuGetPackageV2_Id",
proget-postgres_1  |                           "@Version_Text"
proget-postgres_1  |                      FROM unnest(xpath('/SymbolFiles/SymbolFile', "@SymbolFiles_Xml")) S"
proget-postgres_1  |    PL/pgSQL function "NuGetPackagesV2_CreateOrUpdatePackage"(integer,character varying,character varying,character varying,timestamp with time zone,bigint,bytea,bytea,character varying,bytea,ynindicator,ynindicator,yni
ndicator,ynindicator,integer,character varying,character varying,xml,ynindicator,integer,username) line 97 at SQL statement

Stack trace

Npgsql.PostgresException (0x80004005): 22P02: invalid input syntax for integer: ""
at Npgsql.NpgsqlConnector.DoReadMessageAsync (System.Threading.CancellationToken cancellationToken, Npgsql.DataRowLoadingMode dataRowLoadingMode, System.Boolean isPrependedMessage) [0x002d7] in <4985dea8374f4819bebb7847d95ad483>:0 
at Npgsql.NpgsqlConnector.ReadMessageWithPrependedAsync (System.Threading.CancellationToken cancellationToken, Npgsql.DataRowLoadingMode dataRowLoadingMode) [0x001c3] in <4985dea8374f4819bebb7847d95ad483>:0 
at Npgsql.NpgsqlDataReader.NextResultInternalAsync (System.Threading.CancellationToken cancellationToken) [0x0070a] in <4985dea8374f4819bebb7847d95ad483>:0 
at Npgsql.NpgsqlDataReader.NextResultAsync (System.Threading.CancellationToken cancellationToken) [0x0014a] in <4985dea8374f4819bebb7847d95ad483>:0 
at Npgsql.NpgsqlCommand.ExecuteAsync (System.Threading.CancellationToken cancellationToken, System.Data.CommandBehavior behavior) [0x003d8] in <4985dea8374f4819bebb7847d95ad483>:0 
at Npgsql.NpgsqlCommand.ExecuteDbDataReaderInternalAsync (System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) [0x000f1] in <4985dea8374f4819bebb7847d95ad483>:0 
at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync (System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) [0x000a7] in <4985dea8374f4819bebb7847d95ad483>:0 
at Inedo.Postgres.WrappedPgCommand.ExecuteDbDataReaderAsync (System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) [0x001db] in <ea20532795e64ea18852ec006a228cde>:0 
at Inedo.Data.DatabaseContext+DbResult.CreateAsync (System.Data.Common.DbCommand command, Inedo.Data.DatabaseContext context, System.DateTimeOffset startTime, System.Diagnostics.Stopwatch stopwatch) [0x00082] in <647507080523420180e9f186fe046588>:0 
at Inedo.Data.DatabaseContext.ExecuteInternalAsync (System.String storedProcName, Inedo.Data.GenericDbParameter[] parameters) [0x0021e] in <647507080523420180e9f186fe046588>:0 
at Inedo.Data.DatabaseContext.ExecuteNonQueryAsync (System.String storedProcName, Inedo.Data.GenericDbParameter[] parameters) [0x0007b] in <647507080523420180e9f186fe046588>:0 
at Inedo.ProGet.Feeds.NuGet.NuGetFeed.InstallOrUpdatePackageAsync (System.IO.Stream stream, System.Boolean calculateHash, System.Boolean cached, System.Boolean install, System.Boolean overwrite, System.Nullable`1[T] publishDate, System.Nullable`1[T] listed, System.Nullable`1[T] downloadCount, System.Boolean promoted) [0x00b20] in <dd1843234460462097fc07427b3e0889>:0 
at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi+PutHandler.ProcessPutRequestAsync (System.Web.HttpContext context, Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi+RequestData urlData, Inedo.ProGet.Feeds.NuGet.NuGetFeed feed) [0x00170] in <2bc106c38f86445894485c967c113a09>:0 
at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi.ProcessRequestAsync (System.Web.HttpContext context, Inedo.ProGet.Feeds.NuGet.NuGetFeed feed, System.String relativeUrl) [0x0019b] in <2bc106c38f86445894485c967c113a09>:0 
at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler+FeedRequestHandler.ProcessRequestAsync (System.Web.HttpContext context) [0x000a4] in <2bc106c38f86445894485c967c113a09>:0

Pushing the 'normal' package (i.e. not the symbols one) it works fine.

I'm running proget inside a docker container and tried various versions, 5.1.22, 5.1.12, 5.1.11, 5.1.6

Kind regards,
Joël Luijmes

Product: ProGet
Version: 5.1.22

1
replies

I have tried to cancel a pending execution and it will just hang with a message about it waiting for the it to complete because it cannot be cancelled.
Is there some list of what types of things can or cannot be cancelled?
What is it waiting for? The job doesn't run but also doesn't cancel.

Product: BuildMaster
Version: 6.1.0

1
replies

Hi

We have a ProGet feed with a connector to a private repo. It gets many packages but doesn't cache one with <package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> in the nuspec file. If we use a different version of the schema <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> it works fine.

How do I get it to cache any package irrespective of the package schema declaration?

Thank you

Product: ProGet
Version: 5.1.18

1
replies

Having trouble trying to identify the restrictions for Business/Enterprise use and which license that would constitute. Seems like we would be looking for basic license for our business use. Does that meet the licensing terms?

Product: ProGet
Version: 5.1.22

1
replies

Hi,

  • Proget: Version 5.0.7 (Build 1)
  • License: ProGet Basic

I dont get my retention policy to work.

I have one retention rule for my feed:

Delete
- matching My.Package
- all except the most recent 5 versions
from the feed

"My.Package" has 33 versions uploaded, but when I run FeedCleanup no packages are deleted, log:

  • Beginning cleanup for internal-feed (NuGet) feed.
  • Starting feed retention check...
  • Checking for feed retention rules...
  • Feed has 1 retention rule.
  • Checking rule 1...
  • Only delete packages that match My.Package
  • Never delete the most recent 5 versions of packages.
  • Finding packages that match retention rule 1...
  • Getting count of matching packages...
  • 0 packages qualify for deletion under this rule.
  • Deleting matching packages...
  • Deleted 0 packages (0 KB total).
  • Done checking rule 1.
  • Feed retention check completed.
  • Cleanup complete.

What could be wrong?

Product: ProGet
Version: 5.0.7

1
replies

Hi,
In webinar How to provision Windows Servers and manage their configuration with PowerShell DSC and Otter, there is an information, that operation Ensure-DSCConfig can be used for existing DSC configurations. Unfortunately, I'm not seeing this operation in available the statements. I also can not use the resource containing this operation from this repository: https://github.com/MarkRobertJohnson/otter-dsc-webinar.

Do I miss something or is this operation not available in the current version?

Product: Otter
Version: 2.1.3

7
replies

I get the whole Semver thing, but there are hundreds of packages on PSGallery which don't conform to Semver and Proget keeps breaking them.

Take for example version 12.2.0.0 of SqlServerDsc: https://www.powershellgallery.com/packages/SqlServerDsc/12.2.0.0

When I import this package into Proget, either through a connector feed or through uploading the .nupkg file directly, the version number is mangled from 12.2.0.0 to 12.2.0.

When I install the module on a client from ProGet, the PowerShell module gets installed into C:\Program Files\WindowsPowerShell\Modules\SqlServerDsc\12.2.0 instead of C:\Program Files\WindowsPowerShell\Modules\SqlServerDsc\12.2.0.0.

As a result the version number doesn't match the package manifest, therefore PowerShell ignores it.

Why is Proget even touching the version number? How on earth do I stop it from doing so?

Product: BuildMaster
Version: 6.1.0

2
replies

I just wanted to make a post to express that I think it is a shame to see the Schedule Triggers functionality be officially deprecated. Although it is clear that the feature is rooted in legacy code, what with its use of VariableDeclarations, it still provides unique functionality that cannot be easily replaced with webhooks or repository monitors. With the ability to trigger plans on a cron-like schedule, my team has been able to setup regularly recurring jobs to perform things such as nightly cleanups of the build servers and turning off virtual machines in the cloud when not in use.

I realize that just because a feature has become legacy doesn't mean my team can't use it and I also realize that my usecase for this feature is against its original purpose but I think with a bit of refactoring the idea of scheduled tasks would be a great stand alone feature for BuildMaster.

I also wanted to post this to see if there were any other users who were using this feature to run scheduled jobs.

Product: BuildMaster
Version: 6.1.0

1
replies

Hi There,

We are looking to use Proget Free for production code in Azure Build Farm, is it ok?
We will basically use it just as a nuget cache for our 3rd party packages.

Product: ProGet
Version: 5.1.22

1
replies

Hi,

We have an NPM feed set up which holds hosted files and also has a connector to the public NPM repository. However, we'd like to only see hosted files in the Feeds page.

In order to do this, I thought we could write an Extension:

public class LocalPackageFilter : PackageFilter
{
    public override bool IsPackageIncluded(IPackageIdentifier package, IPackageFilterContext context)
    {
        if(context.Usage != PackageFilterUsage.BrowseFeedPage)
        {
            return true;
        }
        
        // Was hoping for this...
        return package.Source == "hosted";
    }
}

However, the IPackageIdentifier does not contain any information about the source.

Is there another approach? Or can this information be added to the SDK?

Thanks!

Product: ProGet
Version: 5.1.22

4
replies

I'm running ProGet 5.1.22 on IIS and I'd like to set up a private docker repository. I folloed the instructions here but I'm having trouble setting up the SSL certificates on the server. The error looks like this when I try to log in from a docker client:

Error response from daemon: Get https://my_proget_server/v2/: x509: certificate signed by unknown authority

I'd like to know if it's possible to configure the ProGet server to use a plain HTTP registry, as shown in this docker guide: https://docs.docker.com/registry/insecure/

Product: ProGet
Version: 5.1.22

2
replies

Hello

When you assign more than one environment to one server, and when the same variable is set with 2 diffrent values, it is not working properly.

  • Configuration
    It should loop all the configuration over all the environnement assign to the server.
  • Orchestration
    It is already possible to select for which environment but it is not working properly.

Test Case:

  • Server A
  • Role : MyApp / Configuration =>
Ensure-Directory(
	Name: $MyAppFolder
	[Exists: <true/false>]
);
  • Environnement 1 => $MyAppFolder=AppliTESTTEAM1
  • Environnement 2 => $MyAppFolder=AppliTESTTEAM2

Actually, I have to setup 2 servers to deploy the 2 appliaitons if I am based on Environment approach.

This impact BuildMaster too.

Best regards

Philippe

Product: Otter
Version: 2.1.3

Ask A Question
Page: 1 2 3 5 7 8 9 10 137