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

3
replies

When preparing to execute a remediation configuration job:

Inedo.Otter.Service.Executions.ActiveJobExecution.BuildConfigurationExecuter always throws a NullReferenceException.

The code (found in the above mentioned method):

      using (RaftRepository raft = RaftRepository.OpenRaft(job.Raft_Name))
        variables = await raft.GetVariablesAsync().ConfigureAwait(false);

always fails. job.Raft_Name is always null, which causes RaftRepository.OpenRaft to return null. In turn, raft.GetVariablesAsync() results in a NullReferenceException.

As this stands, it is impossible to execute a configuration remediation job.

Product: Otter
Version: 2.0.11

1
replies

I would like to run proget and sql in separate docker for windows containers. I think I need to do a manual install since the installer contacts the database during the install which is being done by docker build so there is no database yet.

Where do I get the zip files mentioned in the manual install page:
ProGet-SqlScripts.zip
ProGet-Service.zip
ProGet-WebApp.zip

Thanks,
Norm

Product: ProGet
Version: 5.1.11

2
replies

Pushing package versions differing in the prerelease version number appears defunct.

The issue may be reproduced as follows:

  1. Push a Nuget package 1.0.0-beta.1
  2. Push a Nuget package 1.0.0-beta.2

What is expected:

  • To have two versions of the package present in the feed.

What actually happens:

  • When the newer package is pushed, the old file is overwritten, but the old name/version remains.

This problem also happens when pushing via Drop path.

Product: ProGet
Version: 5.1.11

1
replies

I have just begun evaluating Otter. I currently have a Windows 2012 R2 instance running the Otter Agent.

The server is a member of the IIS role, which itself is a member of the Configurable role.

The Configurable role has a plan that is defined as:

##AH:UseTextMode
call Ensure-PowerShell-5();

The Ensure-PowerShell-5 module is stored in a Git based Raft, named Default. The module itself is defined as:

##AH:UseTextMode
##AH:Description Ensure PowerShell version 5 or later is installed.
module Ensure-PowerShell-5
{
    # Ensure PowerShell version 5 or later is installed
    {
        PSEnsure
        (
            Key: PowerShell-v5,
            Value: True,
            Collect: $PSVersionTable.PSVersion.Major -ge 5,
            Configure: '@(Get-Service | Where-Object {$_.Name -eq "INEDOBMAGT"}).Count',
            Debug: true,
            Verbose: true
        );

        # Only executes if PSEnsure Configure executed
        Restart-Server();
    }
}

The Ensure-PowerShell-5 module is currently incomplete, but it does properly detect configuration drift. When attempting to remediate the drift by choosing the Remediate with Job button on the Servers page, the execution fails.

The Service log contains the error:

Category: ExecutionDispatcherRunner
Message: Could not initiate execution #334
Details: 
System.NullReferenceException: Object reference not set to an instance of an object.
at Inedo.Otter.Service.Executions.ActiveJobExecution.<BuildConfigurationExecuter>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Otter.Service.Executions.ActiveJobExecution.<CreateJobExecutionAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Otter.Service.Executions.ActiveExecution.<CreateAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Otter.Service.Executions.ExecutionDispatcherRunner.<RunAsync>d__7.MoveNext()

Orchestration Plans will run successfully.

Any assistance in determining the cause of this failure would be greatly appreciated. As it stands, I can detect drift, but am unable to remedy the situation.

Product: Otter
Version: 2.0.11

1
replies

my connectors error :
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.EndGetResponse(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 --.....

Product: BuildMaster
Version: 6.0.10

1
replies

Is there a way to easily update the dependencies for a NuGet package? We need to cap the max version of an associated NuGet, and are trying to find out how to update the dependencies without deleting the package and re-promoting it. We have updated the .nuspec file with the updated dependencies, but that doesn't show in ProGet UI or when looking at the package from VS2017.

Thoughts?

Product: ProGet
Version: 5.1.11

1
replies

We are using ProGet as our NuGet repository and after the recent upgrade we noticed that when a newer version of a package are uploaded they do not appear in the feed. They are there in ProGet and if we open the earlier version and go to the "All Versions" tab, the new version is listed and clicking on that will bring up the new version. However, they don't show up in the feed.

How do I fix this?

Product: ProGet
Version: 5.1.11

5
replies

Directory is set to "active Directory (New)".

When I add a permission for a specific user from my AD everything seems to work fine, but if I add a group, that contains that user, no permission is granted. Any suggestion on how to troubleshoot this would be appreciated.

Product: ProGet
Version: 5.1.11

9
replies

I installed ProGet on a new server and something went wrong because nothing was working and I had noticed that it installed the app under c:\Program Files and I wanted that moved to another directory.

So l tried uninstalling ProGet. Trying to uninstall has been a big pain in the... Once I removed all the files from server (at least I think I did) and searched thru the registry and deleted any reference to 'Inedo' and or 'ProGet'. Also deleted files in c:\Program data. Next attempting to run the installation package (ProGetInstaller.exe) again and the app says ProGet is already installed. Is there any way to fully uninstall ProGet so I can reinstall it?

I did find this: https://inedo.com/support/questions/4092
But following the manual installing in reverse does not solve the problem.

Please advise.

Product: ProGet
Version: 5.1.11

2
replies

Hi Folks,

I have to assign all the roles to a server despite there are dependencies in order to get a variable assign.

Exemple:

  • role A : $VALUE=TEST
  • role B : depend on role A
  • role C : depend on role B + Server

The value $VALUE is empty and the configuration in role C failed.
If I have this configuration, it is working

  • role A : $VALUE=TEST, + Server
  • role B : depend on role A + server
  • role C : depend on role B + server

I think the inheritance should work as there are dependencies in the role, but I might be wrong ... but it must be definitively work like this :-)

Best regards
Philippe

Product: Otter
Version: 2.0.11

2
replies

Hi,
I upgrade from Otter 2.0.9 to 2.0.10 and then to 2.0.11
The extensions Inedocore and Git cannot be upgraded respectively from 1.0.6 to 1.0.7 (InedoCore) and from 1.0.3 to 1.0.4. (Git)
For each upgraded versions, I try several ways:

  • standard update
  • remove extension and reinstall
  • download upack
    unsuccessfully.

Any help would be appreciated

Best regards

Philippe

Product: Otter
Version: 2.0.11

2
replies

Hi,

We have tried moving our installation from a self-hosted setup to a IIS-hosted setup following your descriptions (https://inedo.com/support/kb/1013/hosting-through-iis-instead-of-the-integrated-web-server).

We have a valid TLS setup, and can now access the ProGet front-end from the new URL. But:

  • The web application cannot check the status of the ProGet service. The "Service Status page on the Administration section shows "The Hedgehog web application does not have sufficient privileges to query the service status".
  • When trying to pull packages from VS or manually calling the v2 api, we get a 404 ("There is no page or resource at the URL you requested: /FindPackagesById()/").

The IIS web app is running in root, under "Classic" and using a well privileged user (we have tried both local admins, local system etc). It has ISAPI enabled.

So.. What to do here? Can a proper writeup be provided with full coverage on how to set this up properly?

PS:

Product: ProGet
Version: 5.1.11

1
replies

The npm documentation says I should be able to create a token and then supply it to the registry. Here is the npm documentation

How do I enable my ProGet hosted npm registry to a create tokens?

I tried running :

npm token create //This gave me a 404 error

Also, I tried:

GET:http://mypackagelibraryurl/-/npm/v1/tokens
POST:http://mypackagelibraryurl/-/npm/v1/tokens

Both requests returned a 404 - 'tokens' is not in the npm registry.

Product: ProGet
Version: 5.1.11

1
replies

Here are the full details of the issue we are having with the Maven connector. Is this a FIPS issue? Servers are probably hardened more than most where I work, but this was not a problem until we upgraded to 5.1.7.

Message

The type initializer for 'Lucene.Net.Store.FSDirectory' threw an exception.

Details

System.TypeInitializationException: The type initializer for 'Lucene.Net.Store.FSDirectory' threw an exception. ---> System.SystemException: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
at System.Security.Cryptography.MD5.Create()
at Lucene.Net.Store.FSDirectory..cctor() ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
at System.Security.Cryptography.MD5.Create()
at Lucene.Net.Store.FSDirectory..cctor()
--- End of inner exception stack trace ---
at Lucene.Net.Store.FSDirectory..cctor()
--- End of inner exception stack trace ---
at Inedo.ProGet.Feeds.Maven.MavenConnector.Search(String searchTerm)
at Inedo.ProGet.Feeds.Maven.MavenFeed.Search(String searchTerm)
at Inedo.ProGet.WebApplication.UnifiedFeedBrowsing.Feeds.MavenFeedDataFactory.GetPackagesAsync(Feed feed, String searchTerm, Int32 count)
at Inedo.ProGet.WebApplication.Pages.Feeds.BrowseFeedPage.<GetPackagesAsync>d__10.MoveNext()

Product: ProGet
Version: 5.1.7

Ask A Question
Page: 1 3 5 6 7 8 128