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 1 of 97 (20 questions out of 1929)
0
replies

Hi All,

I am trying to create a release that coordinates the deployment of packages from multiple applications. I have created a global pipeline with a global plan. I plan to use the deploy-package function. When I select the ${EnvironmentName} as the from and to stages in the pipeline filter (to target a particular environment), the deployment does not ever recognise the environment as the furthest stage, even if it is. If i dont specify the to and from values, the plan wants to promote and deploy all un-deployed environments instead of the one i want.

I would like to use the $EnvironmentName variable as i want to be able to use the same plan for all environments to ensure consistency.

Is this achievable?

Thanks,

Clint

Product: BuildMaster
Version: 5.7.1

0
replies

Hi,

I set up ProGet with LDAP and Integrated Authentication disabled.
The NuGet feed works without problem but npm throws a 401 when trying to download the package. Getting the correct version though works.

I added the API endpoint URL to my local computer and also the correct user via "npm login". When I add the group anonymous to the "View and Download Packages" right it works.

Any idea what I need to change so it works?

Product: ProGet
Version: 4.7.13

1
replies

When I query ProGet with a normalized version, it returns no package, however if I query it with the full version, it works.

In other words, ProGet is not normalizing versions as it should.

Using a nuget.org connector, if I query ProGet with:
/Packages?$filter=tolower(Id) eq 'nsubstitute') and (NormalizedVersion eq '1.7.2')
it returns:
<?xml version="1.0" encoding="utf-8"?><feed xml:base="http://ushdc1-csdapp02.saig.frd.global/nuget/Default/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"><title type="text">Packages</title><id>http://ushdc1-csdapp02.saig.frd.global/nuget/Default/Packages()/</id><updated>2017-06-22T16:21:43Z</updated><link rel="self" title="Packages" href="Packages" /></feed>

On the other hand, if I query it with a trailing zero:
/Packages?$filter=tolower(Id) eq 'nsubstitute') and (NormalizedVersion eq '1.7.2.0') it returns:
<?xml version="1.0" encoding="utf-8"?><feed xml:base="http://ushdc1-csdapp02.saig.frd.global/nuget/Default/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"><title type="text">Packages</title><id>http://ushdc1-csdapp02.saig.frd.global/nuget/Default/Packages()/</id><updated>2017-06-22T16:22:54Z</updated><link rel="self" title="Packages" href="Packages" /><entry><id>http://ushdc1-csdapp02.saig.frd.global/nuget/Default/Packages(Id='NSubstitute',Version='1.7.2.0')</id><title type="text">NSubstitute</title><summary type="text"></summary><updated>2017-06-22T16:11:21Z</updated><author><name>Anthony Egerton,David Tchepak</name></author><link rel="edit-media" title="Package" href="Packages(Id='NSubstitute',Version='1.7.2.0')/$value" /><link rel="edit" title="Package" href="Packages(Id='NSubstitute',Version='1.7.2.0')" /><category term="NuGet.Server.DataServices.Package" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><content type="application/zip" src="http://ushdc1-csdapp02.saig.frd.global/nuget/Default/package/NSubstitute/1.7.2.0" /><m:properties xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><d:Version>1.7.2.0</d:Version><d:Title></d:Title><d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance><d:Description>NSubstitute is a friendly substitute for .NET mocking frameworks. It has a simple, succinct syntax to help developers write clearer tests. NSubstitute is designed for Arrange-Act-Assert (AAA) testing and with Test Driven Development (TDD) in mind.</d:Description><d:ReleaseNotes></d:ReleaseNotes><d:Summary></d:Summary><d:ProjectUrl>http://nsubstitute.github.com</d:ProjectUrl><d:IconUrl>http://nsubstitute.github.com/images/nsubstitute-100x100.png</d:IconUrl><d:LicenseUrl>https://github.com/nsubstitute/NSubstitute/raw/master/LICENSE.txt</d:LicenseUrl><d:Copyright></d:Copyright><d:Tags>mocking mocks testing unit-testing TDD AAA</d:Tags><d:Dependencies></d:Dependencies><d:IsLocalPackage m:type="Edm.Boolean">true</d:IsLocalPackage><d:Created m:type="Edm.DateTime">2017-06-22T16:11:21.8100000Z</d:Created><d:Published m:type="Edm.DateTime">2017-06-22T16:11:21.8100000Z</d:Published><d:PackageSize m:type="Edm.Int64">849090</d:PackageSize><d:PackageHash>vDAfItA5TW9c597wvDuLM74K4C2Wh7zSjxHPNeRHkb906dc0wWc6myOub24JpS8ev3kw9QswLO0lMpyxzHagnw==</d:PackageHash><d:IsLatestVersion m:type="Edm.Boolean">true</d:IsLatestVersion><d:IsAbsoluteLatestVersion m:type="Edm.Boolean">true</d:IsAbsoluteLatestVersion><d:IsProGetHosted m:type="Edm.Boolean">true</d:IsProGetHosted><d:IsPrerelease m:type="Edm.Boolean">false</d:IsPrerelease><d:IsCached m:type="Edm.Boolean">false</d:IsCached><d:NormalizedVersion>1.7.2.0</d:NormalizedVersion><d:Listed m:type="Edm.Boolean">true</d:Listed><d:PackageHashAlgorithm>SHA512</d:PackageHashAlgorithm><d:HasSymbols m:type="Edm.Boolean">false</d:HasSymbols><d:HasSource m:type="Edm.Boolean">false</d:HasSource><d:DownloadCount m:type="Edm.Int32">0</d:DownloadCount><d:VersionDownloadCount m:type="Edm.Int32">0</d:VersionDownloadCount></m:properties></entry></feed>

According to NuGet's normalized version specification, the normalize version should omit trailing zeros from the fourth part of version numbers.

A zero in the fourth part of the version number will be omitted

What I could guess is that NormalizedVersion is just an alias for Version

Product: ProGet
Version: 4.7.13

1
replies

I have installed BuildMaster successfully, and upgraded .net framework from 4.5 to 4.6.2.

Recently I am facing an issue while triggering a build which gives warning messages. \

Please check the warning below.

warning MSB3884: ruleset file "ManagedMinimumRules.ruleset" could not be found.

Product: BuildMaster
Version: 5.7.1

0
replies

The Artifact Comparison report never shows any changes. This is even when there have been changes.
The action does run successfully but just never shows any differences.
Should it show differences if files have changed or only if new files are added?

Product: BuildMaster
Version: 5.6.11

0
replies

What are strategies for improving performance of GET requests that employ the SemVerLevel=2.0.0 flag?

When comparing the performance of the following request constructions the one using SemVerLevel was orders of magnitude slower that one specifying the same package and a specific version (~20 seconds vs ~20 ms). The number of package versions for the specific package is only in the hundreds, but the feed contains over 100,000 package versions.

~20ms

Id='<package>', Version='<version>'

~20s

?semVerLevel=2.0.0&$filter=tolower(Id)eq'<package>'

Is it possible to create an index to improve performance or are there other strategies?

Product: ProGet
Version: 4.7.13

2
replies

Hi, I’m trying to install otter and no matter what machine I try it on I keep getting the error in the attached screenshot – tried both sql express and regular sql as well as multiple vm`s and systems, any ideas?

Regards,
Hugo Pinheiro

Product: Otter
Version: 1.6.1

3
replies

currently I installed Proget directly on Windows.
The dockerized Proget seems to work only on a Linux host, as some file-links are required.

Is there a plan to provide a dockerized Proget Version for windows?

Product: ProGet
Version: 4.7.13

2
replies

We've had issues retrieving symbol files from ProGet's symbol server for some of our packages and I've noticed this only happens with packages that target .NET Standard 2.0, our other packages that target .NET Framework only are working correctly, so it's not a symbol server setup issue or anything like that.

It seems that ProGet is unable to locate .pdb symbol files and "src" folder in .NET Standard 2.0 packages, "Symbols and source files are available" text doesn't appear on the left side of the package details and, obviously, requests to the symbol server return nothing for those packages.

I could easily reproduce the issue by creating an empty .NET Standard 2.0 library, creating NuGet package that includes symbols and source from it on build and pushing that to our ProGet instance.

This is what the package looks like in NuGet Package Explorer in ProGet storage after push:

Image Text

Symbols can't be retrieved for either .NET Framework or .NET Standard target. Same situation when only .NET Standard is targeted in the package. But at the same time "Strip symbol files from packages downloaded from this feed" option in ProGet works: ProGet successfully removes .pdb files and supplies only .dll files in a package, even though it couldn't find those symbol files to properly index them for the symbol server in the first place.

While NuGet packages for .NET Standard libraries and "regular" .NET Framework class libraries are built differently (for example, we don't use .nuspec files for .NET Standard packages, all the metadata comes from project files and a package is created on build by MSBuild as described here https://docs.microsoft.com/en-us/nuget/guides/create-net-standard-packages-vs2017) and .NET Standard is in preview, the resulting NuGet package structure is the same, I would expect ProGet to be able to find symbol files there to correctly supply them via symbol server, especially considering it's able to find them to strip them from the packages on download.

Can we expect a fix for this or is there any other way to make it work? I can provide an example project and a NuGet package to demonstrate this issue if necessary.

Product: ProGet
Version: 4.7.13

1
replies

Hi,

I have set up a few proget docker containers (web, db), and then started pushing packages to them.

Everything seemed fine, it was running for about 5 hours yesterday.
I come in this morning and the proget web server is down. Logs for the proget web server show:

[ERROR] FATAL UNHANDLED EXCEPTION: System.TimeoutException: The operation has timed out.
  at Npgsql.NpgsqlTimeout.Check () [0x00008] in <4985dea8374f4819bebb7847d95ad483>:0
  at Npgsql.NpgsqlConnector.HandleAuthentication (System.String username, Npgsql.NpgsqlTimeout timeout) [0x0001d] in <4985dea8374f4819bebb7847d95ad483>:0
  at Npgsql.NpgsqlConnector.Open (Npgsql.NpgsqlTimeout timeout) [0x00071] in <4985dea8374f4819bebb7847d95ad483>:0
  at Npgsql.ConnectorPool.Allocate (Npgsql.NpgsqlConnection conn, Npgsql.NpgsqlTimeout timeout) [0x00133] in <4985dea8374f4819bebb7847d95ad483>:0
  at Npgsql.NpgsqlConnection.OpenInternal () [0x000e9] in <4985dea8374f4819bebb7847d95ad483>:0
  at Npgsql.NpgsqlConnection.Open () [0x00000] in <4985dea8374f4819bebb7847d95ad483>:0
  at Inedo.Postgres.PostgresDatabaseContext.CreateConnection () [0x0000b] in <e3135482b02b4587b8331b1f006ab09d>:0
  at Inedo.ProGet.Data.ProGetDatabaseContext+WrappedPostgresContext.Inedo.ProGet.Data.ProGetDatabaseContext.IWrappedContext.CreateConnection () [0x00000] in <71613e4cf66848b0a13ff66ec5f0e241>:0
  at Inedo.ProGet.Data.ProGetDatabaseContext.CreateConnection () [0x00000] in <71613e4cf66848b0a13ff66ec5f0e241>:0
  at Inedo.Data.DatabaseContext.ExecuteInternal (System.String storedProcName, Inedo.Data.GenericDbParameter[] parameters) [0x00058] in <aeac86c668ce402580bc35d6b389d77c>:0
  at Inedo.Data.DatabaseContext+<>c__DisplayClass26_0`1[TRow].<EnumerateTable>b__0 () [0x00000] in <aeac86c668ce402580bc35d6b389d77c>:0
  at Inedo.Data.StrongDataReader+<Read>d__2`1[TRow].MoveNext () [0x0003e] in <aeac86c668ce402580bc35d6b389d77c>:0
  at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <4dc8ec68b0964e099af86e50301f5f3c>:0
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <c716d84e34fc4c408a98d9a0c1024723>:0
  at Inedo.ProGet.Data.DB.Configuration_GetConfiguration () [0x0000b] in <71613e4cf66848b0a13ff66ec5f0e241>:0
  at Inedo.ProGet.InternalConfig.ReadConfigValues () [0x00000] in <71613e4cf66848b0a13ff66ec5f0e241>:0
  at Inedo.LazyCached`1[T].GetValue () [0x00019] in <aeac86c668ce402580bc35d6b389d77c>:0
  at Inedo.LazyCached`1[T].get_Value () [0x00000] in <aeac86c668ce402580bc35d6b389d77c>:0
  at Inedo.ProGet.ProGetConfig`1[TConfig].ReadFullyQualifiedValue (System.String scopedKey) [0x00000] in <71613e4cf66848b0a13ff66ec5f0e241>:0
  at Inedo.ProGet.ProGetConfig`1[TConfig].ReadBoolean (System.String key) [0x00006] in <71613e4cf66848b0a13ff66ec5f0e241>:0
  at Inedo.ProGet.ProGetConfig+Web.get_IntegratedAuthenticationEnabled () [0x00000] in <71613e4cf66848b0a13ff66ec5f0e241>:0
  at Inedo.ProGet.Web.IntegratedServerAuthenticator.ProGetAuthenticationSchemeSelector (System.Net.HttpListenerRequest httpRequest) [0x0002d] in <782cac368f944d919f2746c16d685751>:0
  at System.Net.HttpListener.SelectAuthenticationScheme (System.Net.HttpListenerContext context) [0x00014] in <76fe267e1bf64ad1a7865d07a5edd3f0>:0
  at System.Net.ListenerAsyncResult.Complete (System.Net.HttpListenerContext context, System.Boolean synch) [0x00035] in <76fe267e1bf64ad1a7865d07a5edd3f0>:0
  at System.Net.ListenerAsyncResult.Complete (System.Net.HttpListenerContext context) [0x00000] in <76fe267e1bf64ad1a7865d07a5edd3f0>:0
  at System.Net.HttpListener.RegisterContext (System.Net.HttpListenerContext context) [0x000a6] in <76fe267e1bf64ad1a7865d07a5edd3f0>:0
  at System.Net.HttpConnection.OnReadInternal (System.IAsyncResult ares) [0x0014c] in <76fe267e1bf64ad1a7865d07a5edd3f0>:0
  at System.Net.HttpConnection.OnRead (System.IAsyncResult ares) [0x00006] in <76fe267e1bf64ad1a7865d07a5edd3f0>:0
  at System.Net.Sockets.SocketAsyncResult+<>c__DisplayClass27_0.<Complete>b__0 (System.Object _) [0x00000] in <76fe267e1bf64ad1a7865d07a5edd3f0>:0
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <4dc8ec68b0964e099af86e50301f5f3c>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <4dc8ec68b0964e099af86e50301f5f3c>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <4dc8ec68b0964e099af86e50301f5f3c>:0

Logs for the proget postgres container show:

LOG:  could not create IPv6 socket: Address family not supported by protocol
LOG:  database system was shut down at 2017-06-16 13:07:37 UTC
LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections
LOG:  unexpected EOF on client connection with an open transaction
LOG:  unexpected EOF on client connection with an open transaction
LOG:  unexpected EOF on client connection with an open transaction
LOG:  unexpected EOF on client connection with an open transaction
LOG:  unexpected EOF on client connection with an open transaction
LOG:  incomplete startup packet
LOG:  incomplete startup packet
LOG:  unexpected EOF on client connection with an open transaction
LOG:  unexpected EOF on client connection with an open transaction
LOG:  incomplete startup packet

Restarting either/both of the containers did not resolve the issue. Restarting the docker daemon did help, and I saw that about 50k packages had been uploaded.

4h 15m and another 50k packages later I am getting the same problems.

Product: ProGet
Version: 4.7.13

0
replies

I added vsix feed to Visual Studio settings but when I try to view available extension in "Extensions and Updates" window I don't get prompt for credentials and I just get "The remote server returned an error: 401"

I tried opening the url from Visual Studio builtin browser and I get "Anonymous is not permitted to perform the Feeds_ViewFeed task for the current scope."

If I try to open the feed in any other browser I get prompt for credentials and after that the extensions list.

Is there any way to force Visual Studio to show credentials prompt? It does show prompt when browsing Proget nuget feed.

Product: ProGet
Version: 4.7.13

2
replies

I'm not sure how long this is going on as I had not noticed it and someone else brought it my attention.
First let me say that the all of the machines involved are on the same time zone.

I grab an artifact from Jenkins, create a BM artifact and then it gets deployed.
The BM artifact, if I download it and examine it, has the correct time stamps.
When the files are deployed to the server they end up with a different timestamp, same date but way off on the time. For example I did on that the time stamp for the files should be 325pm but on the machine it is deployed to it is 825am.
The files are the correct versions so it's just a confusing thing to people.

Product: BuildMaster
Version: 5.6.11

1
replies

If I have a set of pipeline variables set for a stage and then change those values in the plan during a certain task shouldn't the variable now be that value for the rest of that plan?

The value is changed in one section and then later it is used in another section. At the later point it's back to what the value is set to in the pipeline.

It is all run on the same server and same for the same deployable.
Sample code of what I'm talking about:

#general
{
    set $pipelinevar1 = somevalue;

    Log-Information value is as set here: $pipelinevar1;
}

#general
{
    Log-Information value is as set in pipeline here: $pipelinevar1;
}

Product: BuildMaster
Version: 5.6.11

1
replies

We recently changed our SQL instance that the BuildMaster database is served on to SQL 2016. The database is set to run in compatibility mode as SQL 2012.

Since this recent change I have noticed that our BuildMaster service ends up in a stopped state maybe once or twice a day. I restart through the UI and am able to deploy through BuildMaster with no apparent issues.

Looking at Event Viewer I can tell that this server hasn't been rebooted during the times I have noticed the service ends up stopped.

Looking at the LogMessages table in BuildMaster I see a few entries for SQL timeouts that have occurred on the days that I have had to restart the service.

What could be causing this problem?
What ways can I further investigate what is going on with the BuildMaster service?

Thanks

Product: BuildMaster
Version: 4.8.6

1
replies

I set up Visual Studio to use a private ProGet feed for my NuGet packages. Coming from a Java world and using other repository managers, this was a welcome sight. It works fine.

Anyway, I'm trying to ensure that any missing NuGet package references are found when building with MSBuild, from my CI server. Are there settings that need to be incorporated in the Visual Studio project/solution config files? Any insights?

Product: ProGet
Version: 4.7.13

3
replies

The latest YouTrack Extension fails on the drag of Find YouTrack Issues into the plan editor.

Dragging the operation doesn't create an error however it doesn't create a pop-up dialog and add the operation to the plan either.

Product: BuildMaster
Version: 5.7.1

1
replies

We need to support multiple LDAP/AD directories at the same time and it seems like the application has to use one user directory exclusively.

It there anything that can be done right now to support multiple identity provider at the same time? If the support doesn’t exist right now, what can be done to add it?

Product: ProGet
Version: 4.7.13

0
replies

If you submit a scoped package to ProGet and it shares a name with an unscoped package (e.g. @superscope/duckhunt and duckhunt), the scoped package will not show up in the feed's UI (/feeds/:feedname). Searching for the package name yields no results. However, the scoped versions do appear on the home page's list of recent packages, and (if you know the link) you can view the packages directly. npm clients work without issue.

This happens whether the unscoped package is local or through a connector. Interestingly, if the unscoped package is through the connector to npm's main registry, the README from the npm package will display in the detailed view of the scoped package.

Is this behavior expected?

Product: ProGet
Version: 4.7.13

2
replies

I have a simple configuration set up in a role to detect on 12 servers whether or not a file exists. I've tried this both with a PSEnsure and the Otter Ensure File. The results of the routine drift detection from the role are always inconsistent and I almost never see the full results for all servers. Sometimes 4 servers will display as current, and then upon hitting the "Check Configuration" button for that role again then only 2 or 3 will be current. (Numbers aren't consistent)

The only time I get the full list of results, for all 12 servers, is when I run the remediate task for the role. For whatever reason the routine checker doesn't seem to display consistent results.

Am I missing something obvious?

Product: Otter
Version: 1.6.1

1
replies

Hello

Are there any plan providing the possibility to register a webhook, when a package was push to a feed? TeamCity and MyGet already provides this. I think it's a must have for doing seamless CI/CD when you have different libraries and should integrate into another product (e.g an executable or a webapp)

Cédric

Product: ProGet
Version: 4.7.13

Ask A Question
Page: 1345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697