# Support Q & A Home

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

Viewing Page 32 of 99 (20 questions out of 1979)

#### Proget Errors - NPM (scoped packages?)

replies

Currently I'm getting the following error for an NPM feed through a connector(registry.npmjs.org):

"TypeError: Cannot convert undefined or null to object"

This is occurring on scoped packages (e.g. @angular/router-deprecated).

Here's a copy of a package.json that causes the error:
gist for package.json.

Note, this is after a 4.1.1 upgrade and after recreating the feed and connector.

Product: ProGet
Version: 4.1.1

replies

Hello,

Currently I am using LDAP permissions on my environment and appear unable to secure some of the core Administration.

Under Manage Users & Tasks I have the default:

Administer, Coordinate Releases, Deploy to Environment, Manage Application, View Application with Domain Users set to restricted on all Tasks, yet a Domain User in the OU can log in and modify the Plans and Templates at a Global level. Short of hosting on IIS and restricting URL access, what is the best way to resolve this?

-KM

Product: BuildMaster
Version: 5.0.7

#### Clone application timeout

replies

Hello,

If I try to clone an application, I get the following error.
I'm in the process of setting up a new server, so I only have one application.

Thanks,

David

Server Error in '/' Application.
The wait operation timed out
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.ComponentModel.Win32Exception: The wait operation timed out

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:

[Win32Exception (0x80004005): The wait operation timed out]

[SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) +388
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +752
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4493
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +3560
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +104
Inedo.Data.DatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters) +232
Inedo.BuildMaster.Data.Context.Plans_GetDeploymentPlans(Nullable1 IncludeAnonymous_Indicator) +212
Inedo.BuildMaster.Applications.CloneApplication(Int32 applicationId, String name) +7236
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3554

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274


Product: BuildMaster
Version: 5.0.7

#### BuildMaster offine version

replies

Due to security reasons, we need to deploy BuildMaster in offline mode, without any internet connection required. Is it supported doing that? (trial and buy version)

Product: BuildMaster
Version: 5.0.7

#### Viable solution for multiple release Application

replies

In the older Buildmaster which I've replaced (and do not want to go back to) my Legacy Action was to create the Artifacts for each release level I wanted for later deployment in my plans.

In the new buildmaster this appears a bit more difficult or, at least, the option to do so seems to be a bit -- unfriendly. It seems I now have to create a new Pipeline or add a new Import step to my already existing Pipeline. The second step sounds the best, but I have concerns now (after thinking this through) that there is a very real possibility of code changes between builds, causing my release build to contain untested code.

I was speaking to Buildmaster support and asking a question about labeling as this seemed like an acceptable solution, but I cannot determine how best to implement this using BuildMaster as the control. Is there any method to "get label version" from TFS/VSO for a build import?

MSBuild supports GetVersion to get a specific version for a build, and from a devops standpoint this is almost a necessity. It is possible to customize, but seems like it would fit core Buildmaster much better -- variable for build label, correctly pulls proper labelled code and builds/rebuilds as expected.

In the end, I want BuildMaster to be the center of our deployment environment, so if this is not feasible: What is the best way to ensure that the code I deploy for another release is the same source-set I deployed to the previous environment?

Product: BuildMaster
Version: 5.0.6

#### Ensure-Asset with Git Raft

replies

Using Ensure-Asset on a Git Raft gives the following error message:

DEBUG: Looking for asset file at path C:\ProgramData\Otter\Extensions\RestartOtter.ps1...
DEBUG: Asset file does not exist, creating...
Unhandled exception: LibGit2Sharp.BareRepositoryException: Index is not available in a bare repository.
at LibGit2Sharp.Repository.get_Index()
at Inedo.Otter.Extensions.RaftRepositories.GitRaftRepositoryBase.GetRaftItem(RaftItemType type, String name)
at Inedo.Otter.Extensions.Operations.Files.EnsureAssetOperation.<ConfigureAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Inedo.Otter.PlanExecuter.OtterPlanExecuterBase.<PerformExecution>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Inedo.Otter.PlanExecuter.OtterPlanExecuterBase.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__44.MoveNext()


The Git Raft is located on GitHub

#### Artifact Filename using variables

replies

I'm trying to use the package variable $TeamCityBuildNumber to specify an artifact name like Release_225.zip, where 225 is the$TeamCityBuildNumber

I tried many variations and found an example in QA that suggested the following syntax.
It doesn't work. I can't seem to find the answer in the documentation.

Release_\${TeamCityBuildNumber}.zip

Product: BuildMaster
Version: 5.0.6

#### Linux file copy not working as expected.

replies

Hello,

I'm getting ready to migrate to version 5 of BuildMaster, so I've built a new server and I'm testing my deployment plans first.
However, I'm stuck at the very first step.

The script grabs files from an Subversion source and then transfers them to a Linux host. It looks like the files are being copied, but when they end up on the server, the file name is made up of the full path including a forward slash /

This works fine on my 4.9.7 server. It seems the 5.0 server somehow is copying the files in a Windows format that the Linux server is replicating, but not in a correct file structure.

For example:
this is the folder structure
server (directory)
build (directory)
iso builder (directory)
lib (directory)
functions.ps1 (file)

ends up as a file called: server\build\iso builder\lib\functions.ps1
The directory structure is not created.

Any help appreciated.

Thanks,

David

Product: BuildMaster
Version: 5.0.5

#### NullReferenceException on Plan Edit

replies

When trying to edit a plan, either role or server I get the following error in the interface:

(500) Error: InternalServerError
Object reference not set to an instance of an object.


The following exception is logged in the EventLog as well:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 09-06-2016 11:14:05
Event time (UTC): 09-06-2016 09:14:05
Event ID: 207af82b356c416d8302059ff3c9b527
Event sequence: 13
Event occurrence: 12
Event detail code: 0

Application information:
Application domain: 6717b527-1-131099362020911266
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Otter\Web\
Machine name: NLABOTTER

Process information:
Process ID: 2768
Process name: Otter.Service.exe
Account name: NT AUTHORITY\SYSTEM

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.CreateInitialData()
at Inedo.Web.DP.DpPageBase2.GetDpContextInvocation()
at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.GetDpContextInvocation()
at Inedo.Web.DP.DpPageBase2.<>c__DisplayClass26_0.<RenderPage>b__1(SlimHtmlTextWriter w)
at Inedo.Web.Controls.FauxMasterPage.RenderDirectWriter(Action1 method, SlimHtmlTextWriter writer)
at Inedo.Web.Controls.FauxMasterPage.DynamicPageFragment.WriteHtml(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.Controls.FauxMasterPage.Render(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.DP.DpPageBase2.RenderPage(SlimHtmlTextWriter writer)
at Inedo.Web.DP.DpPageBase2.ProcessRequest(HttpContext context)
at Inedo.Web.Handlers.SimpleHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

Request information:
Request URL: http://localhost:82/plans/edit?raftId=1&planType=ServerConfigurationPlan&planName=NLABOtter
Request path: /plans/edit
User: Express User
Is authenticated: True
Authentication Type:

Is impersonating: False
Stack trace:    at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.CreateInitialData()
at Inedo.Web.DP.DpPageBase2.GetDpContextInvocation()
at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.GetDpContextInvocation()
at Inedo.Web.DP.DpPageBase2.<>c__DisplayClass26_0.<RenderPage>b__1(SlimHtmlTextWriter w)
at Inedo.Web.Controls.FauxMasterPage.RenderDirectWriter(Action1 method, SlimHtmlTextWriter writer)
at Inedo.Web.Controls.FauxMasterPage.DynamicPageFragment.WriteHtml(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.Controls.FauxMasterPage.Render(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.DP.DpPageBase2.RenderPage(SlimHtmlTextWriter writer)
at Inedo.Web.DP.DpPageBase2.ProcessRequest(HttpContext context)
at Inedo.Web.Handlers.SimpleHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

Custom event details:


I am using a git raft (The one from yesterday), that raft actually contains plans for two of my roles, however they are not showing in the interface.

The interface is always showing "Create plan" and it always dies.

(PS: Version is now 1.1.4 (Build 1))

#### Otter ProGe::ensure- package throws error

replies

when I use proget::ensure-package I get jsonreaderexception error.? The type of feed didn't matter. if I use nuget.exe, it's installed successfully.
am I missing something? here is the error.

Unhandled exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Inedo.Otter.Extensions.Operations.ProGet.ProGetClient.<GetPackageInfoAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Inedo.Otter.Extensions.Operations.ProGet.EnsurePackageOperation.<CollectAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Inedo.Otter.PlanExecuter.OtterPlanExecuterBase.<PerformCollection>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Inedo.Otter.PlanExecuter.OtterPlanExecuterBase.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__44.MoveNext()

#### Active Directory Authentication

replies

I have installed ProGet using the integrated SQL database and its hosted on a Windows Server 2012 R2 machine on IIS. I am trying to get Active Directory with multiple domains working for authentication but I keep getting the error below.

Logged: 6/8/2016 11:01:24 AM
Level: Error
Category: HTTP
Message: An error occurred in the web application: The server is not operational.
Details:
URL: http://am-uslhi-ap-v12:81/0x44/ProGet.WebApplication/Inedo.ProGet.WebApplication.Controls.PrincipalPicker/FindPrincipals?directoryId=3&filter=jake.fellows%40hexagon&principalTypes=3&_=1465405168922

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Stack trace: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Inedo.ProGet.WebApplication.Security.UserDirectory.MultiDomainActiveDirectory.GetNetbiosDomainName(String dnsDomainName)
at Inedo.ProGet.WebApplication.Security.UserDirectory.MultiDomainActiveDirectory.CreateSearcher(String domain)
at Inedo.ProGet.WebApplication.Security.UserDirectory.MultiDomainActiveDirectory.<FindPrincipalsInternal>d__24.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
at Inedo.Web.Handlers.JsonDataHttpHandler.SyncHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Is there a specific setting I need to adjust to get this working correctly?

Product: ProGet
Version: 4.0.15

#### NuGet packages not being indexed when published during feedCleanup

replies

Very occasionally (it seems to coincide with while the feedCleanup script is running), NuGet packages can be successfully published to Proget, and end up on the file system, but do not show up in the UI and cannot be downloaded by a client.

I have tried restarting the ProGet service, this does not trigger the package to be reindexed, and I have also checked that the package file name is in the correct syntax.

Firing off a feedCleanup task does seem to get the package to be indexed, but this task takes far too long to be run any more than daily.

Excerpt from feedCleanup log run during package push

Checking for orphaned package index entries...
Found 111 orphaned package entries.
...
Removing Id='soap',Version='1.2.3-S108' from index...


Excerpt from feedCleanup run manually during the day to attempt to resolve the issue (package did show up after this)

Beginning cleanup for octopus (NuGet) feed.
Starting feed consistency check...
Beginning feed package consistency check on 13190 packages...
...
Package validated as soap 1.2.3-S108.


The feed cleanup task ran for 2h 30mins, and during that time, only a single package had this issue, many more were published successfully

Product: ProGet
Version: 4.0.10

#### Git Raft crashing Otter Service

replies

Hello

I have tried to change my "Default" raft to a Git based raft using this guide: http://inedo.com/support/tutorials/storing-otter-plans-and-configurations-in-git

However, my Otter Service is crashing everytime I start now.

Application: Otter.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: LibGit2Sharp.LibGit2SharpException
at LibGit2Sharp.Core.Ensure.HandleError(Int32)
at LibGit2Sharp.Core.Proxy.git_remote_fetch(LibGit2Sharp.Core.Handles.RemoteSafeHandle, System.Collections.Generic.IEnumerable1<System.String>, LibGit2Sharp.Core.GitFetchOptions, System.String)
at LibGit2Sharp.Network.DoFetch(LibGit2Sharp.FetchOptions, LibGit2Sharp.Core.Handles.RemoteSafeHandle, System.String, System.Collections.Generic.IEnumerable1<System.String>)
at LibGit2Sharp.Network.DoFetch(LibGit2Sharp.Core.Handles.RepositorySafeHandle, LibGit2Sharp.Remote, LibGit2Sharp.FetchOptions, System.String, System.Collections.Generic.IEnumerable1<System.String>)
at LibGit2Sharp.Network.Fetch(LibGit2Sharp.Remote, LibGit2Sharp.FetchOptions, System.String)
at Inedo.Otter.Extensions.RaftRepositories.ExternalGitRaftRepository.OpenRepository()
at System.Lazy1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateValue()
at System.Lazy1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].LazyInitValue()
at Inedo.Otter.Extensions.RaftRepositories.GitRaftRepositoryBase.OpenRaftItem(Inedo.Otter.Extensibility.RaftRepositories.RaftItemType, System.String, System.IO.FileMode, System.IO.FileAccess)
at Inedo.Otter.Service.PlanExecuter.PlanTimedExecuterBase.BuildConfigurationPlan(Servers_Extended, System.Collections.Generic.IList1<ServerRoles_Extended>)
at Inedo.Otter.Service.PlanExecuter.RoutineConfigurationTimedExecuter+<BeginRun>d__7.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)


The Git raft is on GitHub, originally I tried using a Personal Access Token, but have actually changed it to a dedicated user now.

Picture of my raft configuration

Picture of the raft content

Otter is now version 1.1.3 (Build 7)

#### remove my build

replies

Now that i have built this software , and installed it, how do i remove it?

Product: BuildMaster
Version: 5.0.5

#### Not able to push packages

replies

Until last week I was able to push packages using
NuGet.exe push <nugetpackage>.nupkg -Source http://<progetServer>/nuget/ContractsAndLibraries -ApiKey b3dac2eb-33fe-4a1f-9370-258d27bae723

command. I am not able to do so anymore. See below for the error. Nuget Version : 3.4.4.1321. Any ideas on what may have changed? Any work arounds? I already have the Anonymous user with “Feeds_AddPackage” task.

C:\Projects\xxxx\xxxx>nuget push xxxx.
1.0.0.0.nupkg -source http://<progetserver>/nuget/ContractsAndLibraries -Api
Key b3dac2eb-33fe-4a1f-9370-258d27bae723
Pushing xxxx.1.0.0.0.nupkg to 'http://<progetserver>/nuget/Con
tractsAndLibraries'...
PUT http://<progetserver>/nuget/ContractsAndLibraries/
Forbidden http://<progetserver>/nuget/ContractsAndLibraries/ 53ms
aries
UserName: Cannot prompt for input in non-interactive mode.

Product: ProGet
Version: 4.1.0

#### Cannot restore package using ProGet feed with FindPackagesById()

replies

I've recently installed ProGet. Using the latest version of the NuGet command line client (3.4.4.1321) and ProGet (4.1.0 beta), we have a package 'foo' with a version '1.10' that ProGet is not exposing to the NuGet client during a package restore of a solution. The NuGet client tries a bunch of different ways to download it, but they all return 404:

> nuget restore path\to\solution.sln
MSBuild auto-detection: using msbuild version '12.0' from 'C:\Program Files (x86)\MSBuild\12.0\bin'.
Restoring NuGet package foo.1.10.0.
GET http://nuget.ourserver.com/Packages(Id='foo',Version='1.10.0')
NotFound http://nuget.ourserver.com/Packages(Id='foo',Version='1.10.0') 13ms
GET http://nuget.ourserver.com/FindPackagesById()?id='foo'
NotFound http://nuget.ourserver.com/FindPackagesById()?id='foo' 12ms
GET https://api.nuget.org/v3-flatcontainer/foo/1.10.0/foo.1.10.0.nupkg
NotFound https://api.nuget.org/v3-flatcontainer/foo/1.10.0/foo.1.10.0.nupkg 137ms
WARNING: Unable to find version '1.10.0' of package 'foo'.
http://nuget.ourserver.com/: The V2 feed at 'http://nuget.ourserver.com/FindPackagesById()?id='foo'' returned an unexpected status code '404 Not Found'.


It was my understanding that ProGet implements the NuGet v2 feed protocol -- but it seems like FindPackagesById() and the Packages(Id=) syntax is not supported. Is this normal?

Product: ProGet
Version: 4.1.0

#### Link universal package dependencies within feed

replies

When viewing the universal package details in the browser, dependencies are listed however I would expect them to hot link to the dependent package already available within the feed. The workaround is to hunt for the dependent package in the Packages view, paging through ALL the packages in the feed.

Also, the package details does not have the package:name listed directly - you have to try and figure it out. This causes confusion when trying to relate the packages.

Product: ProGet
Version: 4.1.0

#### Translating v4.8.3 Deployment Plan to v5.0.4

replies

Hi,

I'm trying to install a fresh BuildMaster and replicate our deployment plans in to it, Is there a way to import a deployment plan from v4.8.3 into v5.0.4 so it can be upgraded automatically?

Root cause, I'm trying to create an 'Action Plan' set to iterate over all of my deployables and I have found the 'Loop' in 5.0.4 but I cant see how to manipulate the variables to get it to iterate my deployables.

Any help will be greatly appreciated.

Thanks,
Chris.

Product: BuildMaster
Version: 5.0.4

#### Universal package dependencies not showing

replies

I'm evaluating ProGet for our group, currently using the free version on a local development environment with IIS.

I'm trying to understand why my universal package is not showing it's dependencies to other universal packages.

I've followed the instructions posted at
http://inedo.com/support/documentation/proget/reference/universal-feed-api-and-package-format
however I've had no success even after trying all the variations I can think of.

In this very simplified example, if package B is dependent on package A where the upack.json definitions are:

Package A

{
"name" : "A",
"version" : "1.0.0",
"group" : "initech"
}

Package B

{
"group" : "initech",
"name" : "B",
"version" : "1.0.0",
"dependencies" : [ "initech:A" ]
}

I would expect package B to show a dependency to Package A in the browser or API however I always get:

Dependencies

There are no dependencies for this package.

Product: ProGet
Version: 4.0.15

#### Problems with minor upgrade from v3.6.1 to v3.8.6

replies

I have been having a battle with upgrading our 3.6.1 instance to 4.0.15.

The problem from previous questions is the major change from 3 to 4 using "Tasks" which means every account we create appears to fall out of the Admin group.

So I thought I'd do a minor upgrade, from 3.6.1 up to 3.8.6, I actually perform an upgrade to the database to 3.7.6 before going to 3.8.6.

I copied the web config to connect to the database the same way and we are using Windows Authentication so changed that in the authentication.

• I stop the app pool,
• update on the database steps,
• then I completely delete the full content in the web application and then copy the web app for 3.8.6, with my altered web config.
• I then start the app pool again.

The problem I am seeing is that I get taken to the log-in page, I did create a no LDAP login, but the admin account I created does not let me in.

If I try to putting in any url (luckily I did one that was invalid) I get the error at the top of the page saying:
Severe Error: There is a problem with the license key.

I need to get this working in a test environment before I can get signoff that the upgrade will not affect anything.

Product: ProGet
Version: 3.8.6