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 38 of 105 (20 questions out of 2087)
8
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.IEnumerable`1<System.String>, LibGit2Sharp.Core.GitFetchOptions, System.String)
   at LibGit2Sharp.Network.DoFetch(LibGit2Sharp.FetchOptions, LibGit2Sharp.Core.Handles.RemoteSafeHandle, System.String, System.Collections.Generic.IEnumerable`1<System.String>)
   at LibGit2Sharp.Network.DoFetch(LibGit2Sharp.Core.Handles.RepositorySafeHandle, LibGit2Sharp.Remote, LibGit2Sharp.FetchOptions, System.String, System.Collections.Generic.IEnumerable`1<System.String>)
   at LibGit2Sharp.Network.Fetch(LibGit2Sharp.Remote, LibGit2Sharp.FetchOptions, System.String)
   at Inedo.Otter.Extensions.RaftRepositories.ExternalGitRaftRepository.OpenRepository()
   at System.Lazy`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateValue()
   at System.Lazy`1[[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.IList`1<ServerRoles_Extended>)
   at Inedo.Otter.Service.PlanExecuter.RoutineConfigurationTimedExecuter+<BeginRun>d__7.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

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

Raft Configuration

Picture of the raft content

Raft content

Otter is now version 1.1.3 (Build 7)

0
replies

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

Product: BuildMaster
Version: 5.0.5

0
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
Please provide credentials for: http://<progetserver>/nuget/ContractsAndLibr
aries
UserName: Cannot prompt for input in non-interactive mode.

Product: ProGet
Version: 4.1.0

2
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'.
  C:\Users\user\AppData\Local\NuGet\Cache: Package 'foo.1.10.0' is not found on source 'C:\Users\user\AppData\Local\NuGet\Cache'.
  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

1
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

1
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

2
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

2
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

0
replies

Hello,

Since yesterday, all package uploaded with symbols, are not visible in last VS2015 nuget manager for install them but we can update them from the manager, We can install from nuget manager console too.
Any idea?

We are currently using the free licence.

Thanks,

Benjamin Hugot

Product: ProGet
Version: 4.0.15

1
replies

After upgrading to v4.0.9 I have lost admin rights on my account.

I can view the feeds with another account that does not have admin rights.

is there something I can run?

Product: ProGet
Version: 4.0.9

1
replies

Hi,

I have had a version of the database for our live instance of proget moved to a development server, but I am trying to use the bmdbupdate to update the database, as the account I need to use to update the database does not allow interactive logins.

I was hoping for example of the simple script I can run with bmdbupdate.exe UPDATE /conn which would include the markup of a valid submission of the /conn option.

The attempts I have made so far came back saying:
"Only one command can be specified"

an example of what I have tried:
bmdbupdate UPDATE /conn=[Data Source=DB1;Initial Catalog=ProGet;Integrated Security=SSPI;User ID=Account;Password=Password;]

Product: ProGet
Version: 3.6.1

2
replies

I have just installed ProGet 4.0.15 and while NuGet is working perfectly I cannot get anything from npm! I created the connector and feed but when I try to search from the ProGet feed page I get nothing in return no matter what I search. I also tried from the npm command line and saw that I am getting back a '404 - File or Directory not found' . I have deleted and recreated the feed and connector with no difference in behaviour. How to fix this?

Product: ProGet
Version: 4.0.15

3
replies

I have a rather annoying issue.

One of my plans are stuck in limbo, I am unable to edit the plan because its invalid. (Think its because I changed one of the Call Templates)

Trying to change it from Visual to code is impossible, modifying it in Visual mode is impossible. And the Recent Errors displays the following error message:

An error occurred in the web application: Value cannot be null. Parameter name: literal
URL: http://localhost:82/plans/edit?raftId=1&planType=RoleConfigurationPlan&planName=SQL Server
Referrer: http://localhost:82/plans/edit?raftId=1&planType=RoleConfigurationPlan&planName=SQL Server
User: Express User
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Stack trace: at Inedo.Web.DP.DpPageBase.ProcessError(HttpContext context, Exception ex)
at Inedo.Web.Handlers.SimpleHandler.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)

How do I get the plan unlocked, so that I can fix it?

0
replies

Hello,

With the ProGet version 3.0.2 we have the possibility to create a new package, easily.
We use option "Create new package" (Assembles a package on the server by defining metadata and uploading files).

But with ProGet version 3.5.8, this option not exist.
Why ? possible otherwise ?

Thanks for your help.

Best regards,
Frédéric

Product: ProGet
Version: 3.5.8

1
replies

We have a non-prod environment that is not exposed over internet. We wanted to configure it over SSL and were trying to use self-signed cert. When we do this, when we are trying to upload packages from Jenkins it throws an invalid certificate warning. What is the proposed solution here?

Regards
Badal

Product: ProGet
Version: 3.8.6

2
replies

Good morning,

We are currently using Proget for Bower repositories (and also Nuget and NPM).
We realize that the current standard for Bower repositories is close to simply link a package name to the corresponding git repositories URL, but for various reasons (ease of automation for CI and CD, tracability, separation of source management and artifact management, etc) we are wondering if and when you would change the way you manage Bower artifact to an Archive-package manner. i.e. .zip .tar.gz packages.

Inspiring ourselves from the way Artifactory is managing Bower packages (creating a custom bower resolver, publishing a .tar.gz file) we were able to create a working proof of concept in around a week, so I'm pretty sure you guys would not have any problems implementing it.

Thank you and have a nice day

Product: ProGet
Version: 4.0.15

1
replies

Could we have a sample similar to http://inedo.com/support/tutorials/writing-a-simple-operation-using-the-otter-sdk. On how to use EnsureOperation and PersistedConfiguration

I was pleasantly surprised with the ExecuteOperation, simple and easy to understand.

But the EnsureOperation totally broke my system....
https://gist.github.com/NsdWorkBook/4f99a0178caec4807ec601a6e34ab5a1

1
replies

I have the following Template that I am trying to use.
However I keep getting the following error: Cannot assign a Vector value to a Scalar variable.

##AH:UseTextMode
template SQL-ScalarQuery<$ConnectionString, $CommandText, out $Result>
{
    set $Script = >>
        `$c = `$null;
        `$command = `$null;
        TRY {
            `$c = New-Object System.Data.SqlClient.SqlConnection
            `$c.ConnectionString = $ConnectionString
            `$c.Open();
            `$command = `$c.CreateCommand();
            `$command.CommandText = `$CommandText;
            `$Result = `$command.ExecuteScalar();

            if (`$Result -ne `$null)
            {
                return `$Result.ToString();
            }
            else
            {
                return "";
            }
        }
        FINALLY {
            `$c.Dispose();
            `$command.Dispose();
        }
    >>;

    set $Result = $PSEval($Script);
}

Sample of me trying to use this template:

set $IsSysAdmin = "";
call SQL-ScalarQuery(
    ConnectionString: $SQLServerConnectionString,
    CommandText: >>
        SELECT CAST(IS_SRVROLEMEMBER('sysadmin') as INT)
    >>,
    Result: $IsSysAdmin
);

if $IsSysAdmin == "0"
{
    error;
    Log-Error The user running the Otter Agent must be sysadmin on the local sql server;
}

Screenshot of the error

1
replies

I have ProGet configured to use Active directory. When I use CHOCOLATEGUI The Gui interface that works with "https://chocolatey.org/api/v2" I try and configure it with "http://tfs.celltrust.com:82/feeds/Gen2ChocolateyTest" a chocolatey Feed with 6 chocolatey packages in it. The GUi will not accept the configuration and displays "Failed to query source". If a use a browser and query "http://tfs.celltrust.com:82/feeds/Gen2ChocolateyTest" I am asked for my domain login. I am the admin on ProGet and enter my credentials and then get the list of packages as I would expect. I am a little perplexed that I am asked for my credentials. I thought that when ProGet was configured for active directory that I would be using Integrated authentication and I would not be challenged for my credentials as I was in the Free version before I bought the licence.

I am fairly certain that the CHOCOLATEGUI is running into the challenge for the credentials and failing because it does not have any to offer even though I am logged in with the same domain account I use to Admin ProGet. Both ProGet and the system running the CHOCOLATEGUI are both Windows Server 2012 R2 Statndard and joined to the domain.

Any help or guidance would be appreciated.

Product: ProGet
Version: 4.0.15

1
replies

This question – Release/Build History – mentions that, besides a trigger in a beta extension and 'release archiving' feature that may or may not have been implemented, old artifacts "need to be deleted manually". How do I delete an artifact manually? Is there anything to it other than just deleting the relevant files and directories under the BuildMaster\Artifacts\ directory?

Product: BuildMaster
Version: 4.8.6

Ask A Question
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105