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 31 of 108 (20 questions out of 2142)
1
replies

We have multiple servers in both our test environment and our production environment. For the most part our web.config file is the same for each server in a given environment. We have one setting that differs and for those I have am using a server level variable to define the value to put in the config file on deploy. This works great when using the normal deploy process. What I have noticed is that if instead of deploying it along with a package you do a manual deploy of a web.config change directly to a given server that it doesn't apply any of the server level variables. Is the only way to get that to work is create a different instance of the config file for each server? If there are other options what are they? Or perhaps is this a bug?

Product: BuildMaster
Version: 5.5.3

1
replies

Hi

We are moving all our npm packages from a DEV Proget server to PRODUCTION Server

We would like to export all the internal npm packages (with all the versions) from DEV and import them in PROD

We have tried to export but the export function export only one version of the package

Is there a way to export all the version of the npm packages and import them in another server?

Thanks

Alberto

Product: ProGet
Version: 4.4.2

2
replies

When I try to setup an npm feed and enter the official registry (which is also the default value for the connector) as https://registry.npmjs.org/ the feed does not contain any packages and the health shows up as "Unknown".

What am I doing wrong? NuGet works fine.

Product: ProGet
Version: 4.5.2

1
replies

We launched ProGet within one division of our company via LDAP. It is working well, but we acquired and we are now struggling to add other users using a different domain. The users have been mapped to the AD group (via GALSync) we created for ProGet. However, their credentials are not being accepted within ProGet.

We are considering moving from LDAP to AD since our current configuration doesn't appear to be working. However, we are concerned about the potential disruption this change may impose. I've seen a couple of Q&A entries that resulted in some difficulties and cases where your developers needed to send some C# code.

Questions:

  1. Is there guidance on proper configuration with multiple mapped domains using LDAP or is AD required?
  2. Is there guidance on the prep or process required to navigate from LDAP to AD?
  3. Do the items above require us to be on a specific (newer) version of ProGet?

Thanks,

Christian

Product: ProGet
Version: 3.8.6

1
replies

I'm trying to allow some users to unlist packages but can't find any documentation on exactly what permissions correlate to the Feed permissions when creating a new Task.

Product: ProGet
Version: 4.3.1

8
replies

Currently I have two Otter agents that have executions that have been running for days. I am not sure what is wrong with them, but I want to properly terminate the executions and make sure the agents are in a good state. What is the best practice for dealing with this? I am planning the following approach (pseudo code):

foreach host with long running execution {
      delete the execution using native Otter API
      #Is this service restart needed?
      restart the INEDOAGENTSVC running on the host
}

Image Text

1
replies

PackageA:

{
    "name": "Root",
    "version": "1.0.0"
}

PackageB:

{
    "name": "Dependent",
    "version": "1.0.0",
    "dependencies": ["Root"]
}

My expectation would be that PackageB now has a dependency to PackageA.

But, when uploading this package and going to its Details page, this error occurs:

An error occurred getting the package: Index was outside the bounds of the array.

Trying the same with an empty group name:

PackageB:

{
    "name": "Dependent",
    "version": "1.0.0",
    "dependencies": [":Root"]
}

yields:

An error occurred getting the package: Value cannot be null. Parameter name: packageGroup

The only way it works is when PackageA is in a group.

Product: ProGet
Version: 4.5.2

1
replies

I have a map defined in my application settings as

{
"TestMap": "%(val1: foo, val2: bar)"
}

and I have a basic plan

for server MyTestServer
{
    set $test = $MapItem(%TestMap, val1);
    Execute-PowerShell >>
        $test;
        echo $test;
    >>;
}

But upon execution I am getting the following stack trace.

Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Inedo.Extensions.VariableFunctions.Maps.MapItemVariableFunction.Evaluate(IGenericBuildMasterContext context)
   at Inedo.BuildMaster.BuildMasterVariableEvaluationContext.TryEvaluateFunction(RuntimeVariableName functionName, IList`1 arguments)
   at Inedo.ExecutionEngine.Variables.FunctionTextValue.Evaluate(IVariableEvaluationContext context)
   at Inedo.ExecutionEngine.Variables.ProcessedString.Evaluate(IVariableEvaluationContext context)
   at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.EvaluateExpressionAsync(String expression, IExecuterContext context)
   at Inedo.ExecutionEngine.Executer.ExecuterThread.<EvaluateExpressionAsync>d__73.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 Inedo.ExecutionEngine.Executer.ExecuterThread.<ExecuteAsync>d__50.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 Inedo.ExecutionEngine.Executer.ExecuterThread.<ExecuteNextAsync>d__34.MoveNext()

What is the correct way to define and access a map?

Product: BuildMaster
Version: 5.5.3

1
replies

The rest of our CI system works autonomously, and it would be nice if the releases could be handled without manual input. Is this currently possible?

Product: ProGet
Version: 4.5.1

1
replies

I have ProGet installed with a trial licence, how can I change this to use the Free Edition?

Product: ProGet
Version: 4.5.1

5
replies

Hi,

using MSBuild on an MVC (web application) project does not publish correctly

I have used BM 4.8 and there was a build MVC project. Does this option exist in BM 5.3?

I have tried to added a target to the project file and run msbuild to publish the project. This does what I expect, however when I create artifact, the artifact has an extra subdirectory in the zip file.

should be:
zip -> list of files and directories

the artifact contains:

zip -> eb -> list of files and directories

The extra subfolder screw up the deploying of the artifact.

Product: BuildMaster
Version: 5.5.3

1
replies

Suddenly Proget stopped working on our Build machines.

c:\Program Files (x86)\NuGet.CmdLine>nuget list -allversions PinForce.Database.B
usiness http://pf-build5:81/nuget/DCANuGet
Expected an absolute, well formed http URL without a query or fragment.
Parameter name: serviceRoot

Windows Application logs

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 27/10/2016 8:00:58 PM
Event time (UTC): 27/10/2016 9:00:58 AM
Event ID: 70fc3cafc4e242a5a22ba1e1f00d1495
Event sequence: 2
Event occurrence: 1
Event detail code: 0

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

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

Exception information:
Exception type: ActivationException
Exception message: Activation code is invalid.
at Inedo.ProGet.WebApplication.WUtil.Licensing.ValidateLicense()
at Inedo.ProGet.WebApplication.ProGetHttpModule.<BeginFirstRequest>b__9(Object _s, GetHandlerEventArgs _e)
at Inedo.Web.Handlers.DynamicHttpHandling.System.Web.IHttpHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Request information:
Request URL: http://pf-build5:81/nuget/DCANuGetDebug
Request path: /nuget/DCANuGetDebug
User host address: 10.1.0.218
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 3
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Inedo.ProGet.WebApplication.WUtil.Licensing.ValidateLicense()
at Inedo.ProGet.WebApplication.ProGetHttpModule.<BeginFirstRequest>b__9(Object _s, GetHandlerEventArgs _e)
at Inedo.Web.Handlers.DynamicHttpHandling.System.Web.IHttpHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Custom event details:

Product: ProGet
Version: 3.1.5

2
replies

Can someone verify if the following behaviors are intended when writing scripts directly inside a PSExec operation?

  1. Runtime variables are not evaluated when quoted.
  2. Runtime variables are evaluated to empty when the script text is a single line.

I've created a small plan that illustrates the behavior.

##AH:UseTextMode
template foobar
{
    # General
    for server MyServer
    {
        set $var1 = foo;

        set $var2 = bar;

        Execute-PowerShell echo '$var1\$var2\test';

        Execute-PowerShell >>echo '$var1';
echo '$var2';
echo '$var1\$var2\test';>>;

        Execute-PowerShell echo $var1\$var2\test;

        Execute-PowerShell >>echo $var1;
echo $var2;
echo $var1\$var2\test;>>;

        Execute-PowerShell >>echo $var1;
echo $var2;
echo '$var1\$var2\test';>>;

        Execute-PowerShell >>echo '$var1';
echo '$var2';
echo $var1\$var2\test;>>;
    }
}

Also can someone provide a clear example of defining and accessing the inner values of a List type and a Map type variable? I see there is a ListItem function and a MapItem function but I am having trouble successfully using them.

Finally, is there any way to search the Q&A knowledge base other than tags? I'm sure this variable question has been asked before but the tag search seems pretty limited.

Product: BuildMaster
Version: 5.5.3

1
replies

Hi,

You removed the option to include pre-releases in feed. Do you have idea if this option will be available again?

It disappeared in release 4.4.1, if not my mistake. I update to 4.5.1 and have the same behaviour.

Thanks

Product: ProGet
Version: 4.5.1

1
replies

Good Morning,

I am trying to install the free version of Proget on a disconnected environment, however because it requires an internet connection I am running into difficulty. Would it be possible to send me a free license key please.

Kind regards

Gun

Product: ProGet
Version: 4.3.1

4
replies

I am using upack push to upload universal packages to a remote feed, but at times the operation exits with the following error:

Unhandled exception: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at ProGet.Client.Program.push(String package, String target, String user)

What is the timeout on the upack push command, and can it be altered at runtime?

5
replies

We have multiple releases configured for an application. If one release is in progress, and a second release is triggered, the second release will run and possibly interfere with the first release.

Is there a way to prevent this, so only one release can run at a time for a single application?

Product: BuildMaster
Version: 5.5.1

1
replies

Is it possible to have each iteration of a loop block run in parallel? I know the general block can run statements in parallel but most of my build steps that can benefit from parallelism also benefit from being in a loop. i.e. applying database scripts

Product: BuildMaster
Version: 5.5.3

0
replies

According to the documenation this name should be the same:
https://inedo.com/support/tutorials/proget/getting-started-with-proget-private-docker-registries

However, when doing "docker push nuget.tobania.be:443/linux/php-5.6:1.0.0" the pushed package needs to be pulled with "docker pull nuget.tobania.be:80/linux/library/php-5.6:<tag>".

Why is the package named "library/php-5.6" instead of simply "php-5.6"?

Product: ProGet
Version: 4.5.0

2
replies

I am using the $GetCredentialProperty(cred,Password) to pass a password into a powershell script in a PSEnsure statement. The execution log renders all of the input parameters, including the password (as DEBUG log items). Is there a way to redact the the password? perhaps just turning off DEBUG log messages would be sufficient, but I do not know how to turn those DEBUG log messages off.


#PSEnsure Statement
PSEnsure
(
Key: ConfigureNpm,
Value: 0,
CollectScript: Test-DefaultNpmRegistry,
ConfigureScript: Set-NpmConfiguration,
UseExitCode: true,
CollectScriptParams: %(
RegistryUrl: "$DefaultNpmPullRegistryUrl"
),
ConfigureScriptParams: %(
RegistryUrl: $DefaultNpmPullRegistryUrl,
RegistryUsername: $GetCredentialProperty(devbuilder,Username),
RegistryPassword: $GetCredentialProperty(devbuilder,Password),
UserProfileName: $GetCredentialProperty(devbuilder,Username)
)
);


#Log Output
DEBUG: Found script Set-NpmConfiguration.ps1 in Default raft.
DEBUG: Assigning parameter RegistryUrl=http://proget.internal.com/npm/npm
DEBUG: Assigning parameter RegistryUsername=builderusername
DEBUG: Assigning parameter RegistryPassword=<PASSWORD_IS_RENDERED_HERE>
DEBUG: Assigning parameter UserProfileName=builderusername

Ask A Question
Page: 1 26 27 28 29 31 33 34 35 36 108