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 66 of 99 (20 questions out of 1979)
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

10
replies

If a NuGet update request query string would exceed the IIS maximum of 2048, NuGet uses a special $batch url to request package details for available updates instead of passing the Ids of all packages in the query string. When this happens, I am getting a 404 error from ProGet and cannot do an update at the solution level and have to do it for each individual project, which is really tedious with 40 projects in the solution :)

Is the $batch update something that is just not supported in ProGet, or is there some configuration that is required to support this?

Product: ProGet
Version: 3.2.1

6
replies

I'm trying to enable symbol and source server via ProGet.
I'm getting half the way I think.

I can get Visual Studio to request and download the PDB files but source setpping is not working for me.

In side the PDB files served from ProGet I can find the following block:

SRCSRV: ini ------------------------------------------------
VERSION=2
INDEXVERSION=2
VERCTRL=http
SRCSRV: variables ------------------------------------------
SRCSRVVERCTRL=http
PGSERVER=http://ms-ch12/source-files
PGFEED=ShurePackages
PGPKGID=Shure.TestUtilities
PGPKGVER=0.0.21.0
HTTP_EXTRACT_TARGET=%pgserver%/%pgfeed%/%pgpkgid%/%pgpkgver%/%var2%
SRCSRVTRG=%http_extract_target%
SRCSRVCMD=
SRCSRV: source files ---------------------------------------
SRCSRV: end ------------------------------------------------

It does not seem to list any source files, and the visual studio output window lists the following when trying to step in to the source of a nuget package:

SRCSRV: c:\Jenkins\jobs\CWB shure.testutilities\workspace\source\main\TestUtilities.Web\Helpers\ControllerHelper.cs not indexed

SRCSRV: Source server cannot retrieve the source code for file 'c:\Jenkins\jobs\CWB shure.testutilities\workspace\source\main\TestUtilities.Web\Helpers\ControllerHelper.cs' in module 'C:\Source\shure\shure.conferencing\Web\Web.Tests\bin\Debug\Shure.TestUtilities.Web.dll'. The system cannot find the file specified.

On the feed homepage for the module in the Symbols & Source section it writes:
Symbols and source files are available. [view]

I have inspected the package to both contain pdb files and a src section with all the source code.

ProGet report no indexing errors.

Any ideas of what is going wrong?

Product: ProGet
Version: 3.2.1

4
replies

I've created a URL Triggered Build in buildmaster with no security and have tested this by calling from a browser.

When I try via calling this from Jenkins (have tried 1) HTTP Request plugin and 2) writing a groovy script) I get an authorisation error.

I then tried adding a username and password to the URL Triggered Build and then can no longer trigger the build from a browser.

Any ideas why this isn't working?

Thanks,
Andrew

PS Can you also point me at some documentation for passing build number as a parameter

PPS Is it possible to trigger build promotion via url/api in similar way to triggering a build? The approach I am looking at is:

  1. Jenkins is building application and sending artifacts to artifactory
  2. Jenkins triggers build in BuildMaster and BuildMaster will deploy to the automated test environment
  3. Jenkins will run tests and if successful ask BuildMaster to deploy to the next environment
  4. All other Build promotion steps will be manual and done in BuildMaster

Product: BuildMaster
Version: 4.4.5

4
replies

I have an Automatic Build set for every 5 hours, from 2am to 6pm.
Based on my understanding from the documentation here, its 5 hours after the initial start time, and 5 hour increments after that until the end time.

So it should be at 7am, noon and 5pm.
The actual times last night were 6pm, 3am and 8am

I do know that when I promote builds using SQL to kick off many at once, I have to add 5 hours to my execution/promotion time due to a server time zone difference, I think. (it use to be 4 hours until daylight savings kicked in a few weeks ago)

Is there some obvious reason why these times are not making sense? Today I set up a few more to kick off every hour and they are working as expected, will see if they stop at 4pm as I desired.

Thanks,
Dan

Product: BuildMaster
Version: 4.5.2

1
replies

Can I pass a parameter to URL Triggered Build?

I'm building the application in Jenkins and placing the artifact in Artifactory. I want to pass the version number of the artifact to BuildMaster so that it will download and deploy the correct artifact.

Ta
Andrew

Product: BuildMaster
Version: 4.4.5

1
replies

It's great that you can import TeamCity artifact or Nuget package in the workflow build step, however you can only select one. We have to create an empty build plan and then import them that way. Is there any other way to do this, or the way we have done it is correct?

Product: BuildMaster
Version: 4.5.2

4
replies

Is it possible to keep the process running indefinitely? I notice that it spins down after idling for 5-10 min and it makes me login again. This also requires a longer than normal load time just after it goes to sleep.

Product: ProGet
Version: 3.2.1

1
replies

We really like that we can use Active Directory as an authentication source with ProGet. As a developer having another username and password is just a pain. A few questions regarding the implementation:

  1. If we have Active Directory authentication can we still allow for some feeds to be open/anonymous?
  2. Is it possible to still push to NuGet with the API key and not force NTML/Active Directory authentication?

Specifically I am thinking of the best way for build servers to push/pull to our private Nuget Server without having to have separate URL's/domains (one IIS site with authentication another internal URL without).

NOTE: We need a public/Internet feed (SSL) for some of our clients as they pull libraries from our NuGet server.

Product: ProGet
Version: 3.2.1

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 66 68 69 70 71 72 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