Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Ensure-Asset with Git Raft
-
Using
Ensure-Asset
on a Git Raft gives the following error message:DEBUG: Looking for asset file at path C:\ProgramData\Otter\Extensions\RestartOtter.ps1... DEBUG: Asset file does not exist, creating... Unhandled exception: LibGit2Sharp.BareRepositoryException: Index is not available in a bare repository. at LibGit2Sharp.Repository.get_Index() at Inedo.Otter.Extensions.RaftRepositories.GitRaftRepositoryBase.GetRaftItem(RaftItemType type, String name) at Inedo.Otter.Extensions.Operations.Files.EnsureAssetOperation.<ConfigureAsync>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 Inedo.Otter.PlanExecuter.OtterPlanExecuterBase.<PerformExecution>d__46.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.PlanExecuter.OtterPlanExecuterBase.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__44.MoveNext()
The Git Raft is located on GitHub
-
We have identified and fixed the bug responsible for this, and will have it fixed in the next maintenance release (Otter 1.1.5). Thanks for the bug report!