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 2 of 128 (20 questions out of 2554)
3
replies

Hello

I try to add the following DSC config to a server thru a configuration

`# FSRM - Workfolder - Quotas

{

   PSDsc FSRMDsc::FSRMQuota
   
  (
        OtterConfiguration_key : FSRMQuota-WorkFolders,
        Path                : ${WorkFolder-DossierBase},
        Description         : 'Quota 10GB Soft (monitoring)',
        Ensure              : 'Present',
        Size                : 1OGB,
        SoftLimit           : True
    );

}

Despite whatever I have been trying, I was not able to convert the value for Size - @(string[]) ,@('10GB'), ....
I have an error about converting STRING to SINT64

Does anyone can help me about the syntax ?

Best Regards
Philippe

Product: Otter
Version: 2.0.13

5
replies

Last week I clean installed Windows Server 2016 with all updates, SQL Server 2017 with CU11, and ProGet 5.1.14. I configured ProGet feeds and bulk imported existing npm and NuGet packages. Everything was working fine.

Today I tried to upgrade to ProGet 5.1.15, which has just been released, via InedoHub. It seemed to succeed, however on closer inspection the ProGet Web Server standalone Windows service failed to start. Changing the service recovery to always restart the service just puts it into a crash loop where it continuously crashes just after service start.

Event log entries look like the following:

Faulting application name: ProGet.Service.exe, version: 5.1.15.5, time stamp: 0x5bca7f76
Faulting module name: KERNELBASE.dll, version: 10.0.14393.2580, time stamp: 0x5bbdace7
Exception code: 0xe0434352
Fault offset: 0x0000000000034048
Faulting process id: 0x1658
Faulting application start time: 0x01d46a5a1b885e2b
Faulting application path: C:\Program Files\ProGet\Service\ProGet.Service.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 9ac7d4e2-f1fa-458a-8b47-06af94da3c80
Faulting package full name: 
Faulting package-relative application ID:

Product: ProGet
Version: 5.1.15

10
replies

Is it possible to update a variable for a server based on code? For example, can I create a variable called OS and have it populate based on CIM_OperatingSystem or WMI? More specifically edit a variable on a server?

Product: Otter
Version: 2.0.13

1
replies

When sending a request to FindPackagesById(), the response contains a Cache-Control header with a value of private.

The MSBuild scripts associated with dotnet tool are not ignoring the Cache-Control header and in some cases is caching the response to FindPackagesById(). This can cause a dotnet tool update command to not recongize newer versions of a tool.

The Cache-Control header for any API request should probably return: no-cache, no-store, must-revalidate to ensure that the HTTP client does not cache the response.

Product: ProGet
Version: 5.1.15

1
replies

I have been evaluating Otter recently, but am coming up against a problem. To simplify it to its basic level, I don't think assigned Roles are being correctly determined when running Plans, which is having a knock-on effect on determining which Server is in scope when using Plans that target a Role or Envrionment.

In my evaluation environment, I have a Role, DatabaseServer, and a small Environment hierarchy which represents an application:

  • App
    • App Live
    • App SIT
    • App UAT

So far, I have defined a Server Server001, and assigned it to the App SIT environment and DatabaseServer role.

I build an Orchestration Plan -- which, to simplify the problem, just logs various variables:

Log-Information Current = $ToJson(%(Server: $ServerName,
                                    Environment: $EnvironmentName,
                                    Role: $RoleName,
                                    IsSimulation: $IsSimulation));

Log-Information ServersIn = $ToJson(%(Env: @ServersInEnvironment(), 
                                      Role: @ServersInRole(), 
                                      RoleAndEnv: @ServersInRoleAndEnvironment()));

Log-Information All = $ToJson(%(Envs: @AllEnvironments(), 
                                Roles: @AllRoles(), 
                                Servers: @AllServers()));

From here, I use the tie(?) icon to create a number of jobs, each targeting in different ways:

  1. If I target Server001 specifically, the result seems to show the server and environment correctly, but not the role:

    Skipping collection run; execute only.
    Collection run succeeded.
    Beginning execution run...
    Current = {"ServerName":"Server001","Environment":"App SIT","Role":"","IsSimulation":"true"}
    ServersIn = {"Env":["Server001"],"Role":[],"RoleAndEnv":[]}
    All = {"Envs":["App","App Live","App SIT","App UAT"],"Roles":["DatabaseServer"],"Servers":["LOCALHOST","Server001"]}
    Cleaning up temporary files on Inedo Agent (v??, Server001:46336)...
    Execution run complete.
    Execution run succeeded.
    
  2. If I target the DatabaseServer role specifically, I don't get any matched server, environment or role:

    Skipping collection run; execute only.
    Collection run succeeded.
    Beginning execution run...
    Current = {"Server":"","Environment":"","Role":"","IsSimulation":"true"}
    ServersIn = {"Env":[],"Role":[],"RoleAndEnv":[]}
    All = {"Envs":["App","App Live","App SIT","App UAT"],"Roles":["DatabaseServer"],"Servers":["LOCALHOST","Server001"]}
    Execution run complete.
    Execution run succeeded.
    
  3. If I target the App SIT environment, the result shows the environment, but empty server and role values:

    Skipping collection run; execute only.
    Collection run succeeded.
    Beginning execution run...
    Current = {"Server":"","Environment":"App SIT","Role":"","IsSimulation":"true"}
    ServersIn = {"Env":[],"Role":[],"RoleAndEnv":[]}
    All = {"Envs":["App","App Live","App SIT","App UAT"],"Roles":["DatabaseServer"],"Servers":["LOCALHOST","Server001"]}
    Execution run complete.
    Execution run succeeded.
    
  4. If I target both the App SIT environment and the DatabaseServer role (by filling in both fields), I get the same as in #3.

I believe this is causing my overall problem, where Jobs that apply Plans targeting Servers are successful, but those that target Roles and/or Environments are failing with This operation requires a valid server context. Use a "for server ..." block to set the server context., but I don't know how to resolve this. I thought I might have to use a Loop block to iterate over @ServersInRoleAndEnvironment, but this list variable appears to be empty in all the above cases, so I'm not sure where to go here.

This seems (to me) like a fundamental thing that Otter should do for me, so I must be missing something obvious, but I just can't seem to reason about it.

Product: Otter
Version: 2.0.12

2
replies

So, I need to keep track of some persistent server state information as part of a deployment process. Since Buildmaster allows for Server-scoped variables, I figured these would be ideal for keeping track of the information. However, I can't seem to find a way to modify these variables as part of a plan. There seems to be an API method available to do so, but that's kind of a last resort. What would be the best way to modify a server variable as part of a deployment plan?

Product: BuildMaster
Version: 5.8.2

1
replies

When browsing the PowerShell modules hosted in a PowerShell feed, there is a section labeled "installation instructions" on the details tab. What is required when publishing a module in order to populate the installation instructions section? Is this something that I can define in the module manifest?

Thanks,

Alex

Product: ProGet
Version: 5.1.14

1
replies

Hi,

We are using Proget for a local NPM feed. Some npm packages have external dependencies (like node-sass), which sit on github. Is there a way to house theese on proget as well?

Product: BuildMaster
Version: 6.0.10

2
replies

Since we upgraded from ProGet 4.x to ProGet 5, the NuGet feed is very slow. Searching for packages takes up to 30 seconds. The performance of version 4 was moderate. Now it's very annoying.

How can we improve the performance?
We do have around 1500 NuGet packages.

Product: ProGet
Version: 5.1.13

3
replies

I just installed Proget 5.1.12 version last week and i observed that the older version don't get into proget feed even though the version is specified. I had to manually download all the version from Nuget.org and upload to nuget feed.

The other concern I had was nuget v3 is not configurable in the connector.

Product: ProGet
Version: 5.1.12

5
replies

I have a PSDsc configuration that I am having a problem with:

##AH:UseTextMode

PSDsc Registry
(
Otter_ConfigurationKey: Key,

Key : "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1",

ValueName : "1601",

ValueType : 'Dword',

ValueData : "1"

);

PSDsc Registry
(
Otter_ConfigurationKey: Key,

Key : "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1",

ValueName : "2100",

ValueType : 'Dword',

ValueData : "3"

);

PSDsc Registry
(
Otter_ConfigurationKey: Key,

Key : "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3",

ValueName : "1601",

ValueType : 'Dword',

ValueData : "1"

);

PSDsc Registry
(
Otter_ConfigurationKey: Key,

Key : "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3",

ValueName : "2100",

ValueType : 'Dword',

ValueData : "3"

);

This setting ensures IE harding of the security zones, but the trouble is two of they keys are the same, and two of the valuename or valuedata are the same as well. I have tried several combinations of trying to get the key to be more dynamic, but I can't seem to be able to work with Otter_ConfigurationKey: at all:

-Tried custom name, that doesn't work, must match a dsc property.
-tried an array like @('key','valuedata') as well as (@('key','valuedata') ), no dice there. Tried adding " " and ' ' just for kicks, no luck there.

While I love guessing, I like knowing much better. Anyone have any ideas to get this to work?

Product: Otter
Version: 2.0.12

0
replies

(0x80131904): Transaction (Process ID 72) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Seem to be getting more of this the more servers I add. I have about 40 servers added atm. Anyone know anything about this?

Product: Otter
Version: 2.0.12

2
replies

Hello. I'm running into a problem deploying configuration files and could use some help. I have a config file (web.config) that I have setup a template for with key/value substitutions. When BuildMaster deploys the file, it deploys an old version of the template. The deploy log says:

Found configuration file "Web.config" for deployable "".

Using TcpAgent agent on QA

Using Web.config v4.

The problem is, the web.config template is at v10, which is what should be deployed. Is there a reason BuildMaster is pulling an old version, and is there a way to make it always pull the latest version? I have tried restarting BuildMaster in case something is cached, but that didn't help.

Product: BuildMaster
Version: 6.0.10

2
replies

HI,

I need to execute a .bat or an equivalent powershell to be able to perform like below.
I know I can create a powershell script in Plan but I couldn’t pass the parameters.

@powershell Set-ExecutionPolicy Unrestricted
CLS

@powershell.exe -NoExit -ImportSystemModules "%~dp0..\cleanup01.ps1" "\SFT\settings\WFE-F0Sb.xml"

What I created in Plan--> Powershell is as follow:

param($projectDir, $Instance)
$ErrorActionPreference= 'silentlycontinue'
powershell -file $projectDir -projectDir $projectDir -Instance $instance

Product: BuildMaster
Version: 6.0.10

4
replies

I'm trying to use a Docker feed but cannot get docker to log into the feed. I keep getting a 401 unauthorized.
I've tried several different accounts but it just never works.
Our Proget server is setup in IIS and I am using HTTPS and the base url in the Advanced settings is blank, the default. We do use integrated auth in IIS.

I did see that there was a fix back in 5.1.3 to allow the use of an API key but I could not find any documentation about how to use that with the docker login command.

Are there some other requirements for the container feeds?

Product: ProGet
Version: 5.1.10

1
replies

I built a simple extension that exposes a custom file system. I loaded the extension and I see it in the admin ui now. However, if I try to set the location for a particular feed I see the message that Amazon Web Services and azure aren’t available in the free version. I would expect that, but I don’t see an option to set my extension. Is this allowed in the free version?

Product: ProGet
Version: 5.1.12

1
replies

Hi,

I can't use the FTP extension .
I have installed the FTP Legacy.
But, It's mentionned this :

FTPLegacy 6.0.0 6.0.0 Contains legacy actions for communicating with a server using FTP. The FTP Extension is also required.

So, I have the FTP Extension, but i receive this message :

Could not load type 'Inedo.BuildMaster.Extensibility.Operations.ExecuteOperation' from assembly 'BuildMasterCore, Version=6.0.10.9, Culture=neutral, PublicKeyToken=112cfb71329714a6'.

I guess that the FTP extension is not compatible with the version 6 of buildmaster.

So I remove it.

And when I trie to invoke the the method to get a file through ftp, in a plan, I can't see it in the visual editor.
I have check all the legacy stuff in the Advances Settings.

Where I am wrong ?

Thanks for the help.

Kind regards,

D.

Product: BuildMaster
Version: 6.0.10

1
replies

Hello,

I'm trying to setup SCM trigger...
The dialog has the following hint at the top:
"An SCM trigger will create a release package and promote it to the first pipeline stage automatically when the selected source control provider detects a commit."

it seems that it doesn't work as noted in that hint.
I've created legacy source control provider, application, pipeline and plans, created SCM trigger which monitors TFS source path. Everything works well, trigger sees the changes, creates new release, but it doesn't create package and doesn't promote it to the first stage of pipeline....

Could you clarify?

Product: BuildMaster
Version: 6.0.10

2
replies

The Get-Asset operation does not ensure the $WorkingDirectory exists. This leads to an exception if the directory has not been created by a previous operation.

The Ensure-Directory operation will create the $WorkingDirectory, but it then becomes a configuration item that is reported on the Server's configuration page.

I cannot locate a function that simply creates a directory if it does not exist. The Get-Asset operation should ensure that the working directory exists when copying the asset, similar to some other operations.

Is there a workaround other than Ensure-Directory?

Product: Otter
Version: 2.0.12

2
replies

The executionPolicy within a block seems to be ignored.

I have a module defined as:

module X 
{
  {
    with executionPolicy = always 
    {
      Restart-Server();  
    }
    
    PSEnsure 
    {
       .. removed to brevity ...
    }
    
    Execute-PowerShell dir
    (
    );
    
    {
       Execute-PowerShell dir ();
    }
    
    with executionPolicy=onChange
    {
      Restart-Server()
    }
  }
}

In testing, the first Restart-Server never executes. I am working under the assumption it should always execute.

The first Execute-PowerShell dir -- executes only if the PSEnsure finds a change. This is expected.

The second Execute-PowerShell dir -- never executes, even when PSEnsure finds a change. Shouldn't a nested scope also be included in the change execution?

The second Restart-Server never executes.

Based on these results, it seems that executionPolicy has no discernible effect. How does executionPolicy actually work?

Product: Otter
Version: 2.0.12

Ask A Question
Page: 2 4 5 6 7 128