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 71 of 105 (20 questions out of 2087)
12
replies

Following error occurs quite a lot in our Proget server, which is working very nice but has been acting up after the latest update.

Message:

Error installing package: 547`16`0`Packages_CreateOrUpdatePackage`111`The INSERT statement conflicted with the FOREIGN KEY constraint "FK__Symbols__Packages". The conflict occurred in database "ProGet", table "dbo.Packages".

Stacktrace:
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.DropPathMonitorExecuter.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()

This happens during a migration from the 'old' feed setup to the new structure that has been introduced in the update to 3.3.3.
Im using the bulk migration of packages from the old feeds to the new one, by dumping to a monitored folder.

  1. First major issue is that there is no way to reference the error in the message to the offending package in the database. Why not log unique information that allows for finding the entry in the packages table, could be Package_Id and Published_Date. 547160` does not really help much.
  2. Can i do something manually?. I guess an entry is missing in the DB because of FK error, but right now i cannot fix it manually since a lot of relevant information is missing in the error message.

Best regards
Thomas

Product: ProGet
Version: 3.3.3

1
replies

We are using a number of event listeners to send an email for "failed executions only" and this is working well for the named applications (all environments).

However, we are also getting emails for another application which does NOT have an event listener setup.

Where is this other email coming from and how to we stop it. We are using BuildMaster 4.5.3 build 8.

Product: BuildMaster
Version: 4.5.4

1
replies

Hi,

Here is what I would like to do and I wonder if BuildMaster can or will support this workflow.

I have a project setup on visualstudio.com and I want to utilize it's build service. Once the build is completed it will use the WebHook to call a URL trigger for an application in BuildMaster. From there I would like the build step to grab the build artifacts from visualstudio.com and package it as BuildMaster artifacts, which then is deployed to the different environments. When the artifacts are successfully deployed to an environment it will update the build quality in visualstudio.com

Currently I am stuck at getting build artifacts from visualstudio.com. Seems like the easiest way to implement this is to use the drop download link from the build detail that's part of the WebHook's post body, however I don't think I can process the json in BuildMaster currently. Is there a way to do this without invoking visualstudio.com's api?

Product: BuildMaster
Version: 4.5.3

2
replies

Proget > from the Admin page under "Licensing & Activation". When I am clicking on "Activate" it is not picking the Machine UID. After knowing the Machine UID - I can activate the License manually. So, I want to know how and from where I can get the Machine UID number. Currently using Proget 3.3.0 version.

Product: ProGet
Version: 3.3.0

2
replies

Hopefully I can describe this in an understandable way...

We are building artifacts in Jenkins and placing them in artifactory along with a deployment script.

As we deploy from buildmaster we are getting the artifacts from an artifactory repository, deploying them to an envrionment, and then moving them from the original artifactory repository to the next one. The idea being that the environments that we deploy to dev, sit, uat, prd are matched in artifactory.

The problem comes when we look at forcing a deployment to an environment further down the chain as we cannot grab the artifacts from the previous envrionment because its not there.

How would you recommed we deal with artifacts in this type of approach?

Caveats:

  • We cannot use BuildMasters built in artifact management due to corprate standards
  • We need to automatically cleanup old artifacts in artifactory (hence the idea of a repository per envrionment where we'd just keep the last few deployments to each envrionment, copying from the previous repository to the new one as it gets deployed)

I'm now wondering if it's feasible to have a single repository with all every artifact ever built, but automatically delete builds that have been rejected or overridden by subsequent deployment to an envrionment. Not sure if your api can provide that sort of info...

Cheers
Andrew

Product: BuildMaster
Version: 4.5.3

1
replies

Now that triggers have been deprecated, what is the best way to create an automatic build promotion event?

Product: BuildMaster
Version: 4.5.3

1
replies

I have 1 feed set up through ProGet, and would like this feed to be private so one would need login the see and download the packages.

I can't for the life of me figure out how to authenticate to the feed, with the "View only" role disabled from the anonymous user.

I have tried setting apikey <username>:<password> and ProGet credentials in the nuget.config machine file, but it will only let me see the repository through nuget 2.8.3, if i enable "View only" again for the anonymous user.

I am running ProGet 3.3.2 with SQL Server 2014 Express on local IIS. Only anonymous and forms authentication is enabled in IIS.

Any help on this would be greatly appreciated as i am all out of ideas to try.

Product: ProGet
Version: 3.3.2

1
replies

Today I've updated to ProGet 3.3.2 (from 3.1.7) and noticed an issue with authentication.

In my configuration I have disabled anonymous access by deleting all privileges for Anonymous User.

The issue is that in version 3.3.2 you can access feed URL (http://localhost:81/nuget/Default) as anonymous without logging in. It was working fine in 3.1.7 version where it was asking for credentials.

To replicate (assuming clean install):

  • Remove all privileges for Anonymous User
  • Open http://localhost:81/nuget/Default in incognito window (or logout first)
  • Issue: Unauthorized user is able to access http://localhost:81/nuget/Default

This is causing issues when trying to download packages from private feeds using NuGet command line tool and Visual Studio plugin.

Product: ProGet
Version: 3.3.2

2
replies

Hi,
What would be the recommended way to restore the ProGet database.

All I could find was this article made for buildmaster: http://inedo.com/support/documentation/buildmaster/buildmaster-administration/backing-up

Backup works fine with the command line:

osql.exe -S .\PROGET -E -Q "BACKUP DATABASE [ProGet] TO DISK=N'c:\Backups\ProGet.bak' WITH FORMAT"

I then did an attempt to restore the database on a ProGet of same version as when the backup was created.
I stopped the ProGet service.
And used the following command line:

osql.exe -S .\PROGET -E -Q "RESTORE DATABASE [ProGet] FROM DISK = N'C:\Backups\ProGet.bak' WITH FILE = 1, NOUNLOAD, STATS = 10"

This was not possible, the error message was:

Msg 3154, Level 16, State 4, Server xxxx\PROGET, Line 1.
The backup set holds a backup of a database other than the existing 'ProGet'database.
Msg 3013, Level 16, State 1, Server WIN-OAE3LVGPN4P\PROGET, Line 1
RESTORE DATABASE is terminating abnormally.

Removing the ProGet database, makes the restore statement above complete successfully.

Could you please outline a recommended way of doing a database restore?

(ProGet Enterprise customer, Shure Scandinavia)

Product: ProGet
Version: 3.2.1

1
replies

I'm using /api/json/Builds_PromoteBuild to deploy build to next environment, I now need to get the status of the build so that I know when it is complete.

I am using /api/json/Builds_GetBuild to get the status after calling Builds_CreateBuild, but it only seems to get the status of the build.

How do I get the status of the promoted build?

Product: BuildMaster
Version: 4.5.3

2
replies

I'm trying to use:

/api/json/Builds_PromoteBuild[PromoteTo_Environment_Id:1, Comments_Text:Regression tests ran successfully, Build_Number:458, API_Key:xxxxx, ForcePromotion_Indicator:N, Application_Id:27, Release_Number:0.1.0]

to promote a build from initial envrionment to the next wone in the workflow. This on sets the status to 'AwaitingExecution'.

How do I actually execute the build/deployment in the environment?

Product: BuildMaster
Version: 4.5.3

5
replies

After installing 3.3.1, I have found that PreRelease packages are not showing in the Packages download e.g. http://localhost:8081/nuget/MyFeed/packages/

I have set the ShowPrereleasePackages config to "True" but nothing changes.

I've checked with both legacy feeds and newly indexed (in 3.3.1) feeds - they have what I presume is the correct values set in the dbo.Packages table (Prerelease_Indicator = 'Y')

Am I missing something?

Product: ProGet
Version: 3.3.1

4
replies

I'm struggling to get Proget 3.3.0 installed. A fresh install with built in SQL Express 2005 throws an installation error (Googling it suggested the SQL trying to be used isn't usable with 2005). I then tried a manual install with a pre-installed SQL Express 2014, this was successful and I was able to load the webpage but when creating a new feed I receive this message:

515162Feeds_CreateOrUpdateFeed56`Cannot insert the value NULL into column 'NextCleanup_Date', table 'ProGet.dbo.Feeds'; column does not allow nulls. INSERT fails.

I've tried various methods of installation but it seems this might be a mismatch between the bmdbupdate.exe contents and the binaries attempting to run against the database.

Any assistance would be great, cheers.

Product: ProGet
Version: 3.3.0

3
replies

We use Atlassian Bamboo for our CI server which is responsible for building all the artifacts for our team. One powerful concept that we like to use within Bamboo is it's deployments (https://confluence.atlassian.com/display/BAMBOO/Deployment+projects). The main reason we like Bamboo deployment projects is we get integration all the way back to our individual tasks of exactly where a specific feature/story is (among other things since we also link in source code, time tracking, requirements, testing, etc) inside the Atlassian stack.

The downside is Bamboo does a poor job in deploying artifacts. With that we would love to see integration between BuildMaster and Atlassian Bamboo to do the following:

  1. Grab artifacts from Bamboo when completed
  2. Get triggered from Bamboo to do a deployment (such as automatically to test on successful build of test artifacts)
  3. Call back to Bamboo and let it know the deployment was successful and/or current version deployed.

Respectfully,

  • Jeremy Neuharth

Product: BuildMaster
Version: 4.5.3

3
replies

I have created a new feed of type ProGet Deploy and added a few packages. This is my only active feed. I added a couple servers to my testing environment and they show OK in the UI. I created a new project and added a package to deploy. When I attempt to deploy to the testing environment, it fails with the info below.

Starting deployment...
Verifying NuGetServer02...
Executing: C:\Chocolatey\bin\cinst Deploy 7zip -Version 1.0.0 -Source http://localhost:5555/nuget/Deployment 
The system cannot find the path specified.
Verifying NuGetServer03...

Product: ProGet
Version: 3.2.1

1
replies

I'm writing a groovy script to use the JSON api to create builds and check for existance of release, etc. I'm having a hard time switching between valid json response and plain text error messages from a failed response as the libraries I am using automatically detect the content type and respond accordinly. Your api always specifies the return ContentType as text/plain.

Is there any reason this is not text/json?

Product: BuildMaster
Version: 4.5.2

2
replies

Hi.

I have the agent installed on my 2012 boxes, but BM is showing the agents in ERROR status. When I click on View Assembly Versions, I get the following:

Server Error in '/' Application.

The request failed with HTTP status 405: Method Not Allowed.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request failed with HTTP status 405: Method Not Allowed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[WebException: The request failed with HTTP status 405: Method Not Allowed.]
Inedo.BuildMaster.Extensibility.Agents.Soap.SoapAgentWebServiceClient.ExecuteAgentCommand(String commandXml) +231
Inedo.BuildMaster.Extensibility.Agents.Soap.SoapAgent.ExecuteAgentCommand(SoapAgentCommand command) +91
Inedo.BuildMaster.Extensibility.Agents.Soap.SoapAgent.Inedo.BuildMaster.Extensibility.Agents.IHostedAgent.GetHostedAgentInfo() +46
Inedo.BuildMaster.Web.WebApplication.Administration.Environments.ServerAssemblyVersions.CreateChildControls() +239
System.Web.UI.Control.EnsureChildControls() +146
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +31
Inedo.BuildMaster.Web.Controls.CUtil.FindControl(Control parent, String childId, Boolean recurse) +92
Inedo.BuildMaster.Web.Controls.BuildMasterPage.Internal_Init() +648
Inedo.BuildMaster.Web.Controls.BuildMasterPage.OnInit(EventArgs e) +20
System.Web.UI.Control.InitRecursive(Control namingContainer) +143
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477

Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5459

Yes, I know this is an older version of BM, but when we tried to upgrade last year, we had all kinds of issues, so sticking with 3.3 for now.

Any help would be appreciated.

Thanks!
joe

Product: BuildMaster
Version: 3.3.3

1
replies

Hi,
I'm trying to get our build server to restore packages from proget during build. This is being run as the user SVC_TFS, which is a specific system account for uploading and downloading packages during auto build. I've granted the user Feeds_AddPackage, Feeds_DownloadPackage privileges in the proget admin panel (we are using AD integration, so this is a domain account).

I've added those credentials to the nuget.config file, which looks like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="http://go.microsoft.com/fwlink/?LinkID=206669" value="http://go.microsoft.com/fwlink/?LinkID=206669" />
    <add key="https://www.nuget.org/api/v2/" value="https://www.nuget.org/api/v2/" />
    <add key="internal" value="http://the-proget-server:777/nuget/packages" />
  </packageSources>
  <disabledPackageSources />
  <packageSourceCredentials>
    <internal>
      <add key="Username" value="DOMAIN\SVC_TFS" />
      <add key="ClearTextPassword" value="Password" />
    </internal>
  </packageSourceCredentials>
</configuration>

However the msbuild restore command reports an error. It's executing this command:

""C:\Builds\4\Code\Our.Project\src\.nuget\NuGet.exe" install "C:\Builds\4\Code\Our.Project\src\Our.Project.Tests\packages.config" -source ""  -NonInteractive -RequireConsent -solutionDir "C:\Builds\4\Code\Our.Project\src\ "

and outputting:

Using credentials from config. UserName: DOMAIN\SVC_TFS
Please provide credentials for: http://the-proget-server:777/nuget/packages

Any ideas on what why it would be asking for credentials? Is there any way I can stop it doing that?

Product: ProGet
Version: 3.2.0

3
replies

(x/posted from Octopus Deploy support: http://help.octopusdeploy.com/discussions/problems/26973-500-internal-server-error-when-attempting-to-query-proget-nuget-feed)

We are attempting to set up an internal ProGet server in order to have multiple different nuget package repositories available for use. When attempting to query one of the nuget feeds from ProGet, I receive a 500 Internal Server Error. When looking at the logs in ProGet, it appears as though Octopus is attempting to authenticate as its AD computer account, instead of the account specified in the External Feed configuration.

From ProGet: 
Event code: 4010 
Event message: An unhandled security exception has occurred. 
Event time: 11/18/2014 11:00:08 AM 
Event time (UTC): 11/18/2014 4:00:08 PM 
Event ID: 6e510c1922d9469990beedadc30acc3e 
Event sequence: 4 
Event occurrence: 3 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/2/ROOT-1-130607997643014658 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Program Files\ProGet\WebApp\ 
    Machine name: VMSKY-NUGET 

Process information: 
    Process ID: 1880 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 

Request information: 
    Request URL: https://nuget.company.com:443/nuget/Developer 
    Request path: /nuget/Developer 
    User host address: 10.1.0.23 
***** User: VMSKY-DEPLOY$ ***** 
    Is authenticated: True 
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

Custom event details:

In the ProGet IIS site, Forums Authentication and Windows Authentication are enabled in order to allow our developers access to the web interface. I do not know if this would be an item I need to solve in Octopus or ProGet, or where a configuration change might be needed for this.

Product: ProGet
Version: 3.2.1

2
replies

I am trying to create Free Text variables with the Json api.

Here is the JSON I am posting to Variables_CreateOrUpdateVariableDeclaration:

{
"API_Key":"apikey1",
"teamcity_build":"my_variable_name",
"Scope_Code":"X",
"Scoped_Application_Id":14,
"Scoped_Environment_Id":3,
"Required_Indicator":"Y",
"Variable_Configuration":"<Inedo.BuildMaster.Extensibility.Variables.FreeTextVariable Assembly="BuildMasterExtensions"><Properties /></Inedo.BuildMaster.Extensibility.Variables.FreeTextVariable>",
"Sensitive_Indicator":"N"}

Here is the response I get:

9413161Variables_CreateOrUpdateVariableDeclaration24`XML parsing: line 1, character 70, A string literal was expected

Can you please help me resolve the issue?

Product: BuildMaster
Version: 4.5.2

Ask A Question
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105