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 11 of 94 (20 questions out of 1879)
1
replies

We use the above action for things like attaching code coverage reports during a build. There is a corresponding otterscript operation, but the conversion process doesn't convert this legacy action to the operation.

Is this a known bug, and will it be fixed?

Product: BuildMaster
Version: 5.6.7

3
replies
  1. Create a Docker Swarm using the new “Docker Swarm Mode”, built in since Docker 1.12. Swarm should have at least two nodes: 1 manager and one worker.
  2. Upload a Docker image to ProGet.
  3. SSH into the manager node and login to ProGet using:
    docker login <proget host>
  4. SSH into the manager node of the Swarm and try to create a service using the following command, replacing portions that are wrapped in <>:
    docker service create –name <some service name> --replicas 1 --constraint 'node.hostname== <worker host name>' --with-registry-auth <image name>:<version>
  5. Check the status of the service via the command line using:
    docker service ps <service name>
    Services that have failed or been rejected will give an indication as to why. In this case, the message reads: Unable to find image…
  6. Check the ProGet logs, and you will see an error message stating:
    An error occurred in the web application: Value cannot be null. Parameter name: username
  7. Remove the test service using:
    docker service rm <service name>
  8. SSH into the worker node and pull the container image using:
    docker pull <image name>:<version>
  9. SSH into the manager node and try the create again, this time omitting the –with-registry-auth parameter.
  10. The service should be up and running correctly.

The details of the proget error are:

URL: https://repoman.kaneva.com/v1/repositories/kava-docker/library/config-service/images
Referrer: (not set)
User: (unknown)
User Agent: docker/1.13.0 go/go1.7.3 git-commit/49bf474 kernel/3.10.0-514.6.1.el7.x86_64 os/linux arch/amd64
Stack trace: at Inedo.ProGet.Extensibility.UserDirectories.BuiltInDirectory.TryGetAndValidateUser(String userName, String password)
at Inedo.ProGet.WebApplication.ProGetHttpModule.ValidateUser(HttpApplication app, String userName, String password)
at Inedo.Web.InedoHttpModule.AuthenticateRequestAsync(HttpApplication app)
at Inedo.Web.InedoHttpModule.ProcessBegin(Object sender, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Product: ProGet
Version: 4.6.7

1
replies

Can multiple ProGet be installed with the integrated web server and placed behind a Windows Server 2016 NLB configuration?

I am aware of the "High Availability Mode" and "Load Balancing Mode" which require IIS, but I am wondering if the same can be achieved by placing standalone installations behind an NLB.

Related to the first question - what happens if you install multiple standalone nodes and point them to the same database on a clustered SQL environment?

Product: ProGet
Version: 4.6.7

2
replies

Hi,
I'm trying to automate the purge old packages from a docker repository using the upack api, but I'm having problems.

The documentation says:
DELETE or POST /upack/«feed-name»/delete/«group-name»/«package-name»/«package-version»

Where group and version are optional, however using this URL:
curl -X DELETE "http://<server>/upack/winecomdocker/delete/frontendcms_106/"

Is returning:
Expected URL of format [group]/[name]/[version]

Is there anything wrong on the documentation or the call ?

Thanks,
Francisco

Product: ProGet
Version: 4.6.7

2
replies

Hi Team,

I am new to proget NuGet feed, I have some doubts in free license editions, please find the queries below,

  1. is there any restrictions in the feed count(number of feeds)
  2. I hope there is no expiration for this free license

Regards,
Nagaraj

Product: ProGet
Version: 4.6.7

4
replies

In an effort to store our PowerShell code as Script assets instead of embedded script and using "PSEval". PSEval currently works in that it properly return data from PowerShell scripts (even can return lists). When I use PSCall, I am unable to figure out how to get the output. Here is a sample:

# Script asset
function Get-Data {
     $OutVar = "HELLO WORLD"
}


template Test-PowerShellOutput
{
# Otter script
PSCall Get-Data {
     OutVar => $OutData
}

Log-Debug $OutData;
}

I also would really like to be able to return a list or map using PSCall.

3
replies

Hi, i am trying to install ProGet silently with /ConfigureIIS, however it never actually installs as IIS. Whenever i check the debug logs it still says ConfigureIIS = False.

I'm following instructions from the silent installation page:
http://inedo.com/support/documentation/proget/installation/silent-installation

My full command is:
ProGetSetup.exe /S /Edition=LicenseKey /LicenseKey=x /InstallSqlExpress /ConfigureIIS

Is this parameter suppose to work?

Product: ProGet
Version: 4.6.7

4
replies

Hi

We're trying to push a windows image from docker 1.13.1 on windows to proget.
The error we receive is: error parsing HTTP 400 response body: invalid character 'B' looking for beginning of value: "Bad Request"

In docker log file we get
[13:15:45.769][WindowsDockerDaemon][Info ] time="2017-02-10T13:15:45.769251100+01:00" level=warning msg="failed to upload schema2 manifest: error parsing HTTP 400 response body: invalid character 'B' looking for beginning of value: "Bad Request""
[13:15:45.769][WindowsDockerDaemon][Info ] time="2017-02-10T13:15:45.769251100+01:00" level=error msg="Attempting next endpoint for push after error: error parsing HTTP 400 response body: invalid character 'B' looking for beginning of value: "Bad Request""

Which looks similar to this issue https://github.com/docker/docker/issues/27580
And that issue seems related to the Jfrog registry.

So our question is if it should be possible to push a windows docker image to proget?

Product: ProGet
Version: 4.6.7

2
replies

For some reason, none of our scheduled tasks are running. It looks like they stopped running when we installed ProGet 4.6.2. If I try to run them manually, I just get a clock cursor for a moment, then it is done, without having run the task.

Any ideas?

Product: ProGet
Version: 4.6.2

2
replies

We get an internal server error downloading 2 of our packages. Any version of those packages fail but all other packages are fine. I copied the error below and just removed servername and package name from the logs. This is one of our own packages and is configured the same as any other so we are having issues working out why proget dislikes these 2 packages.
Logged: 2/8/2017 7:37:03 PM Level: Warning Category: NuGet API Message: An error occurred processing a GET request to http://xxxxxxxx:1521/nuget/Opal/package/yyyyyyy/2.0.7: Object reference not set to an instance of an object. Details: at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.StripSymbols(Stream packageStream) at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.<TransmitPackageAsync>d__1.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.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.<ProcessGetRequestAsync>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 Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.<ProcessRequestAsync>d__6.MoveNext()

Product: ProGet
Version: 4.6.7

1
replies

Is there any examples of how to configure Agentless servers in Otter? I'm not able to get servers to report statuses when configured as PowerShell (agentless). We have no custom WinRM settings and ensured the machine has the HTTP listener. I've tried Integrated Security with the Otter service running as an admin on the remote machine. Additionally configured a username/password credential for the same account. Nothing seem to be working.

1
replies

I asked a previous question on bulk delete.

The answer as retention policies.

is it true that this is not available for free version, and only enabled for an enterprise version.

If so, how do we get the pricing details for the version that provides this capability? If not, how do we do this with the free version?

Product: ProGet
Version: 4.6.7

1
replies

I am using the powershell agent type on a small number of servers (13). If I run a configuration job manually, they all come back as 'current.' However, if I let otter run until it performs the check, I get a mix of current and unknown. I have included my only role, and the error I am getting.

Here is my only role:

General

{
Ensure-Directory c:\Temp;
}

Here is the stack trace for Category "ServerChecker"

System.Management.Automation.RemoteException: Method invocation failed because [System.IO.DirectoryInfo] doesn't contain a method named 'EnumerateFileSystemInfos'.
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- 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.Agents.PowerShell.PowerShellExtensions.<InvokeAsync>d__1.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.Agents.PowerShell.PowerShellAgentClient.<ExecuteScriptAsync>d__12.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.Agents.PowerShell.PowerShellFileOperationsExecuter.<GetFileSystemInfosAsync>d__21.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.Agents.PowerShell.PowerShellAgentClient.<CheckAndUpdateAgent>d__9.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.Otter.Extensions.Agents.PowerShell.PowerShellAgent.<CheckAndUpdateAgent>d__18.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.Otter.Service.Servers.ServerCheckerTimedExecuter.<CheckPowerShellAgentAsync>d__12.MoveNext()

3
replies

Hi

We recently upgraded to Proget 4.6.7 from an older version, and wanted to test out the package promoting API in our pipeline. We tried following the example from the documentation, but all we get is the following message: An API key is required to promote packages.

We have set up an API key with access to the package promotion API, and we tried it out with the /api/promotions/list endpoint, which worked. But the documentation does not specify how the API key should be included in the POST request for /api/promotions/promote. Adding it to the URL, like in the list example, does not work. Could you clarify how we should do this?

Product: ProGet
Version: 4.6.7

1
replies

Hello,

We'd like to set up scheduled builds for a specific release. Currently, the only settings available are oldest, newest, or all active releases. Is there any way we could set up automatic release package creation & builds for a single, specific release?

Thanks,

Artem

Product: BuildMaster
Version: 5.6.6

2
replies

I'm trying to follow the following tutorial:
https://github.com/Microsoft/nodejstools/wiki/Install-Node.js-and-get-started-with-NTVS

But it works with npm registry but it does not with proget npm feed with upstream connector to npm registry


Registry url: http://fh1-proget01/npm/internal/
    Path to npm: C:\Program Files\nodejs\npm.cmd
    Downloading package cache to C:\Users\rbittencourt\AppData\Local\Microsoft\Node.js Tools\NpmCache\384010e6-6fd9-4a6b-987b-689be65484ba\all_packages.json
    Downloading list of packages from http://fh1-proget01/npm/internal/-/all
    Downloaded 1MB of the package list (43MB total)
    Downloaded 2MB of the package list (43MB total)
    Downloaded 3MB of the package list (43MB total)
    Downloaded 4MB of the package list (43MB total)
    Downloaded 5MB of the package list (43MB total)
    Downloaded 6MB of the package list (43MB total)
    Downloaded 7MB of the package list (43MB total)
    Downloaded 8MB of the package list (43MB total)
    Downloaded 9MB of the package list (43MB total)
    Downloaded 10MB of the package list (43MB total)
    Downloaded 11MB of the package list (43MB total)
    Downloaded 12MB of the package list (43MB total)
    Downloaded 13MB of the package list (43MB total)
    Downloaded 14MB of the package list (43MB total)
    Downloaded 15MB of the package list (43MB total)
    Downloaded 16MB of the package list (43MB total)
    Downloaded 17MB of the package list (43MB total)
    Downloaded 18MB of the package list (43MB total)
    Downloaded 19MB of the package list (43MB total)
    Downloaded 20MB of the package list (43MB total)
    Downloaded 21MB of the package list (43MB total)
    Downloaded 22MB of the package list (43MB total)
    Downloaded 23MB of the package list (43MB total)
    Downloaded 24MB of the package list (43MB total)
    Downloaded 25MB of the package list (43MB total)
    Downloaded 26MB of the package list (43MB total)
    Downloaded 27MB of the package list (43MB total)
    Downloaded 28MB of the package list (43MB total)
    Downloaded 29MB of the package list (43MB total)
    Downloaded 30MB of the package list (43MB total)
    Downloaded 31MB of the package list (43MB total)
    Downloaded 32MB of the package list (43MB total)
    Downloaded 33MB of the package list (43MB total)
    Downloaded 34MB of the package list (43MB total)
    Downloaded 35MB of the package list (43MB total)
    Downloaded 36MB of the package list (43MB total)
    Downloaded 37MB of the package list (43MB total)
    Downloaded 38MB of the package list (43MB total)
    Downloaded 39MB of the package list (43MB total)
    Downloaded 40MB of the package list (43MB total)
    Downloaded 41MB of the package list (43MB total)
    Downloaded 42MB of the package list (43MB total)
    Download complete - updating database
    Reading 44585489 bytes from C:\Users\rbittencourt\AppData\Local\Microsoft\Node.js Tools\NpmCache\384010e6-6fd9-4a6b-987b-689be65484ba\all_packages.json (03/02/2017 16:40:24)
    Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 0, position 0.
       at Newtonsoft.Json.JsonTextReader.ParseValue()
       at Newtonsoft.Json.JsonTextReader.ReadInternal()
       at Newtonsoft.Json.JsonTextReader.Read()
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass6_0.<ParseResultsAndAddToDatabase>b__0()
       at SQLite.SQLiteConnection.RunInTransaction(Action action)
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ParseResultsAndAddToDatabase(TextReader reader, String dbFilename, String registryUrl)
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass23_2.<ExecuteAsync>b__2()
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    --- 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.TaskAwaiter.ValidateEnd(Task task)
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<ExecuteAsync>d__23.MoveNext()
    Download or parsing failed - deleting C:\Users\rbittencourt\AppData\Local\Microsoft\Node.js Tools\NpmCache. Try refreshing the catalog again. Otherwise restart Visual Studio, and try again.
    Deleting 384010e6-6fd9-4a6b-987b-689be65484ba
    Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 0, position 0.
       at Newtonsoft.Json.JsonTextReader.ParseValue()
       at Newtonsoft.Json.JsonTextReader.ReadInternal()
       at Newtonsoft.Json.JsonTextReader.Read()
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass6_0.<ParseResultsAndAddToDatabase>b__0()
       at SQLite.SQLiteConnection.RunInTransaction(Action action)
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ParseResultsAndAddToDatabase(TextReader reader, String dbFilename, String registryUrl)
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass23_2.<ExecuteAsync>b__2()
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    --- 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.TaskAwaiter.ValidateEnd(Task task)
       at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<ExecuteAsync>d__23.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 Microsoft.NodejsTools.Npm.SPI.NpmCommander.NmpCommandRunner.<ExecuteAsync>d__2.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 Microsoft.NodejsTools.Npm.SPI.NpmCommander.<DoCommandExecute>d__12.MoveNext()

Product: ProGet
Version: 4.6.7

3
replies

Hello

API Keys are broken after I upgrade Otter from 4.6 to 5.2

I use the following Powershell to autoregister an host after I install the Otter


``
$SERVEUR=$env:computername
[xml]$XmlDocument = Get-Content -Path "C:\Program Files\InedoAgent\InedoAgentService.exe.config"
$AESKey=($XmlDocument.configuration.appsettings.add | where-object {$_.key -eq "EncryptionKey"}).value
$body = @{
name="$SERVEUR";
hostname="$SERVEUR";
active=$true;
serverType="windows";
drift="reportOnly";
port="46336";
roles=@("Baseline");
environments=@("Integration");
encryptionType="AES";
encryptionKey=$AESKey
}
$URI="https://maestro.opcalim.org/api/infrastructure/servers/create/"+$SERVEUR+"?key=TEST"
Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri $URI -Body (ConvertTo-Json $body)
$URI="https://maestro.opcalim.org/api/configuration/check?server="+$SERVEUR+"&key=CONFIGURATION"
Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri $URI

`

This works fine until I upgrade to 5.2.
Now I have the following error msg:

``
PS Microsoft.PowerShell.Core\FileSystem::\opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6> \opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6\register-otter.ps1
Invoke-RestMethod : An API key is required to view or update infrastructure.
At \opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6\register-otter.ps1:21 char:1

  • Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri ...
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
    

Invoke-RestMethod : Error reading JObject from JsonReader. Path '', line 0, position 0.
At \opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6\register-otter.ps1:24 char:1

  • Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri ...
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
    

``

I recreate the API Key and it gives me the same result

New bug or bad syntax ?

Best Regards

Philippe

1
replies

After I mistakenly applied a change to our production build servers that broke some builds, I am pondering how I can implement the concept of "pre-production". I am currently using a Git Raft for the default raft. I am thinking that I can create a second Raft, that uses the same Git repo but a different branch?

I was also thinking of having a second Otter Server instance for the pre-production environment whose Default raft points to the same Git repo, but a different branch.

Some goals:

  1. Make moving servers between environments as simple as merging Git repos and moving servers from pre-prod to prod Otter environment
  2. The process should be clear, and not prone to mistakes or errors
2
replies

We have been using Proget for a while now and we are happy with the general functionality, but I was wondering if we have a problem with performance.

When we want to do npm installs for our projects, it takes very long to download all the packages from Proget inside our local domain. The server on which it is installed is a virtual machine and it has enough memory to hold all the data Proget is demanding ( in my opinion)

At the moment we are having 10min install times to get all the packages on the build system. We don't have too many packages for a typical SPA, but of course they include lots of small ones.

If we do the same thing straight to the npm registry itself, it doesn't seem to do as much communication as Proget does.

What should the expected performance be of Proget against the registry website itself.

I was hoping it to be very fast, but that doesn't seem to be the case...
Any tips on how to improve the performance would appriciated.

Product: ProGet
Version: 4.4.2

1
replies

The Jenkins extension doesn't seem to work in conjunction with the Folder's add-on for Jenkins. This allows nesting Jobs within a folder.
In the Jenkins URL it ends up in something like \job\folder\job\jobname

Would there be a way for me to enter the Job name to work with this from the BuildMaster side?
I understand it's an add-on for Jenkins but this is historical for us and to change it would be a big task at this point.

Product: BuildMaster
Version: 5.6.6

Ask A Question
Page: 1234567891113141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394