Support Q & A

Tag Filter: Filter
Viewing Page 1 of 33 (20 questions out of 648)

Developer

0
replies

Where do I have to put the assembly when I write a Simple Action Using the BuildMaster SDK?

Is there is example that shows which info to input into a Prepare ClickOnce action?

Product: BuildMaster
Version: 4.4.7

ProGet service manual installation - using IIS for website

1
replies

The ProGet manual service installation instructions say the following:

  • Install the service. To do this, run ProGet.Service.exe and display help to discover the arguments for the "install" option. Administrator elevation is required to install the service and reserve URLs for self-hosted installations. If you do not reserve a URL the integrated web server will not be enabled.

I am trying to use IIS to host the website component, so as I understand it, I don't need a URL reserved. However, the installer simply reports the following:

  • URL must be specified.

What command line would be used to register the service without a URL reservation?

Product: ProGet
Version: 3.2.0

Unable to restore package jQuery.Cookie.1.4.0

1
replies

When we try to restore that specific package from ProGet server, it fails to obtain it.

For all other packages It works fine, it's just with that one that we've got a problem.

Our ProGet feed is configured to cache packages from connectors, and we have only one connector to "https://www.nuget.org/api/v2/". When browsing the feed with the web interface we can find the package. But when we ask to visual studio to restore packages from the API it fails on that specific package.

Under fiddler we can see that the request "http://srv-rd-packages.talentsoft.com/nuget/Talentsoft/Packages(Id='jQuery.Cookie',Version='1.4.0')" returns an empty response : <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://srv-rd-packages.talentsoft.com/nuget/Talentsoft/" 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">Packageshttp://srv-rd-packages.talentsoft.com/nuget/Talentsoft/Packages2014-10-22T10:04:31Z

We also observed that this package had never be added to the cache folder of the feed.

We try to manually add the package to the cache folder but it didn't change anything.

Finally we pull the package to ProGet feed, and now it works.

Anybody can reproduce that ? As we have no problem to restore that package when we target "https://www.nuget.org/api/v2/" from visual studio, I can't blame the package. I can only imagine that its structure contains something that makes the ProGet API fails.

Product: ProGet
Version: 3.2.0

creating an application

1
replies

Getting an Error while creating an application

An error occurred while saving: 547160Plans_CreateOrUpdateAction38`The INSERT statement conflicted with the FOREIGN KEY constraint "FK__PlanActions__Servers". The conflict occurred in database "BuildMaster"

Product: BuildMaster
Version: 4.4.6

Deploy works fine but never completes!

1
replies

Hi,

I made a really simple deploy that just gets a build artifact from team city. It get this fine and then the deploy never completes it just sits on 'Finalization complete.' in the log?

This is really strange. I have made the deploy as simple as possible to try and isolate the error. I am using the latest release 4.4.6 (Build 7). Here is the log:


Source and target directory are the same; splitting... AgentBasedAction initialization complete: Temp Directory: C:\BuildMaster_SVCTMP_A3_S4\TMP Source Directory: C:\BuildMaster_SVCTMP_A3_S4\SRC Target Directory: C:\BuildMaster_SVCTMP_A3_S4\WRK Server: SRVR-ONE (Id: 1)

Initializing action...

Initialization complete. Executing...

Downloading TeamCity artifact "JavaScriptWebApplication.zip" from http://REMOVED/httpAuth/repository/download/app/.lastSuccessful/JavaScriptWebApplication.zip to C:\BuildMaster_SVCTMP_A3_S4\WRK Transferring artifact to C:\BuildMaster_SVCTMP_A3_S4\TMP before extracting...

Extracting TeamCity artifact to C:\BuildMaster_SVCTMP_A3_S4\WRK...

Artifact retrieved successfully. Execution complete. Finalizing...

Target directory used. Abandoning source.

Finalization complete.


Product: BuildMaster
Version: 4.4.6

TFS - Build Numbers and Assembly info.

1
replies

Does anyone have an example of using the Buildmaster Release and Build number in a TFS Build process to update the assembly info?

I cant use the method used in Bitchecker because the TFS build gets the Source and builds all in one step..

(VS2013)

J.D.

Product: BuildMaster
Version: 4.4.4

Proget Don't retry after timeout on a connector

3
replies

We have configured multiple feeds on ProGet (2 locals and one distant) and one named "all" that simply group the 3 others in one.

We have observed multiple times that when a ProGet feed timeout on one of it's connectors, it won't retry any more to get results from that connector.

The first time it was due to an external network problem, causing our distant feed to be unavailable and our "all" feed being incomplete. A second time it was due to an internal server maintenance that cause cause our locals feeds to not respond and once again our "all" feed was incomplete

Each time the solution was to change the connector configuration with fake changes to reboot the connector, or to reboot the ProGet IIS pool.

Having a timeout is not a real problem, especially when a real network problem has been observed. But network problems could be "common" things, and I don't want to have to reboot ProGet each time it timeout for any reason...

Can I expect a real solution, or should I consider to recycle ProGet every hour to force itto re-evaluate connectors connectivity ?

Product: ProGet
Version: 3.2.0

Feed caching

3
replies

Hi guy,


Feed Caching When a feed is configured to cache packages from its connectors, then any time a remote package is requested from ProGet, it will automatically be stored as a local package.


if caching is active an the stored the files local in the feed why we get an error 404 if the remote feed in the connector is down?

Can you change proget that he looks first in the _cache folder or save the in the feed folder not in the _cache folder.

Product: ProGet
Version: 3.2.0

Do not overwrite build artifacts

2
replies

We have a need to avoid recreating build artifacts on re-executions if they already exist. I have tried a few ideas, but I have run into issues and questions with each route.

  1. Use a predicate to just skip the "create artifact" peace on re-execution. No question here, it just doesn't quite meet the requirements. If a build fails before the artifact is created, re-execution should create it.
  2. Use a variable to track whether an artifact is created. I tried a build-level variable with a default value of "false", but it seems that the variable gets set back to the default value on every execution. If I don't set a default value it works, but I'm forced to type "false" into a text box when I create the build. Is this intended behavior or a bug?
  3. Create a custom predicate to check whether a build artifact exists. This seems like the most promising option so far, but I don't see an obvious way to check artifacts through the IActionExecutionContext that's passed in to the Evaluate method. Is there any way to get the list of build artifacts from a custom predicate?

Thanks,

Tim

Product: BuildMaster
Version: 4.4.6

Loading Symbols from Symbol Feed Results in 404

2
replies

I found ProGet while looking to set up a symbol server for our internal packages and the product looks like exactly what we're looking for. While testing the installation, however, I've run into an issue I just can't resolve on my own. Specifically, requests to load the symbols within a Visual Studio 2013 debug session are returning a 404 error (file not found). Here's some background on our setup:

Two feeds defined, "Default" serves the "real" packages and "Symbols" serves the symbols packages.

Package downloads work fine through the web interface and NuGet Package Manager for both feeds.

The "Symbols" feed shows that symbols are included and clicking on the "Download package with symbols" link works (URL is http://cpunuget/api/v2/package/Symbols/CPU.CISAPI/1.1.27.0?includeSymbols=y) and the downloaded package includes both the .pdb and the source files.

I've configured my Visual Studio settings to point the Options->Debugging->Symbols to the URL http://cpunuget/symbols/Symbols

When running a debug session on a console application that references the package, I'm unable to step into the package source code. I installed Fiddler to see what traffic was occurring and when I force Visual Studio to load the symbol information through the Modules window, the URL requested is http://cpunuget/symbols/Symbols/CPU.CISAPI.pdb/5E358192FAF24731B3E4D1AA33E299C61/CPU.CISAPI.pdb but a 404 is returned, so Visual Studio reports that the symbols can't be found.

Any ideas?

Product: ProGet
Version: 3.2.0

Deploy TFS Team Build wizard Exception

1
replies

Getting the following exception when running Deploy TFS Team Build wizard:

Server Error

An error has occurred while processing your request

Error Details:

Value cannot be null. Parameter name: uriString

Product: BuildMaster
Version: 4.4.6

Local Agent Server Incorrect After Installation

3
replies

I did a fresh install of Buildmaster on an application server (Server A) with the database hosted on a remote server (Server B). After install, when I view my servers, Server B is the only one listed and it is listed as being a "Local" agent. I would have expected Server A to be the "Local" agent since that is where Buildmaster application resides. I believe I need Server A to be a "Local" agent because I am planning on a good bit of functionality, like file copies, to originate from Server A. How do I get Server A to be a "Local" agent instead of Server B?

Product: BuildMaster
Version: 4.4.6

Domain Account Permissions for BuildMaster Service

3
replies

I need to run the BuildMaster service as a domain account. Does the domain account need any specific permissions on the server in order for BuildMaster to function correctly?

Product: BuildMaster
Version: 4.4.5

Custom Action Group Predicate

1
replies

Is there a way to build custom predicates for Action Groups? For example, I would like to test for the existence of a particular directory before executing an Action Group. I am not sure that the out of the box predicates will support this. Any ideas would be appreciated.

Product: BuildMaster
Version: 4.4.5

Service could not be stopped/started

1
replies

Hello,

I have set up a service deployment to one of our servers.

On the Stop Service dialog, after selecting the servers, it shows all my services in dropdownlist based on the search. That means BuildMaster could access the services on that specific server.

When running the deployment plan, it throws an error when trying to stop the service:

2: Stop NoteService Service
Source and target directory are the same; splitting...
AgentBasedAction initialization complete:
  Temp Directory: C:\BuildMaster\_AGTTMP\_A14\_S132\TMP
  Source Directory: C:\BuildMaster\_AGTTMP\_A14\_S132\SRC
  Target Directory: C:\BuildMaster\_AGTTMP\_A14\_S132\WRK
  Server: SVR123456 (Id: 2)
Initializing action...
Initialization complete. Executing...
Stopping service NoteService...
Service could not be stopped: Cannot open NoteService service on computer '.'.
Execution complete. Finalizing...
Target directory unused; joining with source.
Finalization complete.

I am facing the same problem when starting the service.

Any ideas?

Thanks

Product: BuildMaster
Version: 4.4.4

ProGet times out serving 10MB package over slow link

1
replies

We're seeing issues where NuGet clients are timing out on a GET of a normal-sized package (10MB) from a ProGet feed. This only happens when the download is happening across a slow WAN link. For local clients with decent connectivity to the service we've never seen it occur.

Packet captures show that the package is streamed by the service for 120 seconds after which time no additional TCP segments are sent (the NuGet client has acknowledged all TCP segments). Our WAN link is spotty so this is typically enough to transfer 6-8MB of the package but not the entire payload. No additional data is streamed after this point. At 420 seconds the NuGet client closes the connection with an error message.

The Windows event log shows the following:

Event code: 3001 
Event message: The request has been aborted. 
Event time: 10/3/2014 9:35:43 AM 
Event time (UTC): 10/3/2014 1:35:43 PM 
Event ID: 06cb782e5408437cb9e0e464814e8b3e 
Event sequence: 14 
Event occurrence: 2 
Event detail code: 0 
 
Application information: 
    Application domain: e906d479-1-130568155811533752 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Program Files\ProGet\WebApp\ 
    Machine name: XXXXXXXX
 
Process information: 
    Process ID: 2824 
    Process name: ProGet.Service.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: HttpException 
    Exception message: Request timed out.

 
 
Request information: 
    Request URL: http://XXXXXXXXXX:81/api/v2/package/Client/Desktop.Client.Setup/0.0.1602 
    Request path: /api/v2/package/Client/Desktop.Client.Setup/0.0.1602 
    User host address: 10.5.32.44 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 81 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace: 
 
 
Custom event details: 

Product: ProGet
Version: 3.1.7

Symbol server problems from network share

3
replies

I found ProGet while looking for how to easily set up a symbol/source server for our internal nuget packages. We don’t have many packages and are just hosting them on a network share. I configured ProGet (free version) with a new feed using the UNC share path for the feed disk path. If I configure VisualStudio with a new NuGet package source using the feed’s URL it can see the packages on my share.

My share contains regular and *.symbol.nupkg packages for every package. When I configure VisualStudio to use the feed’s symbol server URL (following the instructions here and here), I still cannot debug into any of the packages. I do see the following indexing error on my administration page:

Logged 10/2/2014 2:57:59 PM Message A severe error occurred when attempting to index the feed named "Local_IL". This feed's packages will not be indexed until the problem is corrected. For reference, the full error was: System.ArgumentException: objXml is invalid. Parameter name: objXml ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at Inedo.ProGet.Extensibility.Persistence.DeserializeFromPersistedObjectXml(String objXml) --- End of inner exception stack trace --- at Inedo.ProGet.Extensibility.Persistence.DeserializeFromPersistedObjectXml(String objXml) at Inedo.ProGet.Extensibility.PackageStores.FeedExtensions.CreatePackageStore(Feeds feed, Nullable`1 pollFrequency) at Inedo.ProGet.Service.IndexedFeed..ctor(Feeds feed) at Inedo.ProGet.Service.FeedIndexerExecuter.Execute() Stack Trace at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at Inedo.ProGet.Diagnostics.DatabaseErrorMessenger.Inedo.Diagnostics.IMessenger.Message(IMessage message) at Inedo.Diagnostics.Logger.Message(MessageLevel messageLevel, String message) at Inedo.ProGet.Service.FeedIndexerExecuter.Execute() at Inedo.TimedExecuterBase.ExecuteMethodHost(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.TimerQueue.FireNextTimers() Close

Is ProGet not able to handle symbol packages from a network share? Or, do I have something else configured wrong?

Thanks, Cary

Product: ProGet
Version: 3.1.7

Proget ChocolateY-feed and ChocolateY naming conventions don't play well together.

1
replies

I am experimenting with using ChocolateY as a deployment mechanism for our internal software. I have created a ChocolateY feed on our proget server, and added a couple of packages:

arenaframework-client 0.0.1

arenaframework-client 0.0.2

chocolatey 0.9.8.27

First, I ran "cinst arenaframework-client -version 0.0.1" This runs without a hitch, the package gets installed. Great success.

Given that I have v0.0.2 of the same package, I then tried to run "cup arenaframework-client" This should update my package to v0.0.2, but returns with "nothing to update"

Having digged into the powershell modules that makes up ChocolateY, I found that it uses "nuget list" under the hood to find updates to a package.

So, this is the root of the problem: "nuget list" (without any parameters, from the command line) returns:

arenaframework-client 0.0.2

chocolatey 0.9.8.27

"nuget list chocolatey" returns: chocolatey 0.9.8.27

"nuget list arenaframework-client" returns: No packages found.

So it would seem that the hyphen in the package name is something that Proget doesn't handle. However, the hyphen is part of the recommended ChocolateY naming convention.( https://github.com/chocolatey/chocolatey/wiki/CreatePackages )

Any recommendations on how to get around this problem would be greatly appreciated.

Sincere regards, Erling Paulsen

Product: ProGet
Version: 3.1.7

Dependencies not working

4
replies

I am trying to just use the default ProGet feed (has 1 connector to https://nuget.org/api/v2/)

When I run:

nuget.exe install NServiceBus.Interfaces -o "C:\temp\packages" -source "http://localhost:87/nuget/Default"

I get:

Unable to resolve dependency 'NServiceBus (≥ 5.0.0)'

if I run the exact same command with the nugget URL is works fine:

nuget.exe install NServiceBus.Interfaces -o "C:\temp\packages" -source "https://nuget.org/api/v2/" Attempting to resolve dependency 'NServiceBus (≥ 5.0.0)'. Installing 'NServiceBus 5.0.0'. Successfully installed 'NServiceBus 5.0.0'. Installing 'NServiceBus.Interfaces 5.0.0'. Successfully installed 'NServiceBus.Interfaces 5.0.0'.

  • I am starting with clean caches when running (Proget, Nuget and package output are cleaned)
  • I am using Nuget.exe 2.8.2
  • I am using Proget 3.1.7 running in IIS (same behavior when running as service)

Product: ProGet
Version: 3.1.7

Old Package versions do not appear to be supported

3
replies

Hello, I created a new ProGet feed with a connector to "https://nuget.org/api/v2/". I am trying to restore the package "NServiceBus.Interfaces" version 3.3.2 using that ProGet feed. But the ProGet feed does not appear to go back to that version. If I view the ProGet feed via the local ProGet website, it only lists back to version 4.1.0-unstable3370. Is there something I must do to make ProGet support older package versions?

Product: ProGet
Version: 3.1.7

Page: 13456789101112131415161718192021222324252627282930313233