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!

Git Raft not working after upgrading to 1.2.0 (Build 17)



  • After upgrading to Otter 1.2.0 (Build 17) I get the following error when attempting to edit or view anything stored in my Git Raft.

    Image Text

    The following information is stored in Recent Errors:
    An error occurred in the web application: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.

     URL: http://localhost:82/roles/role?serverRoleId=5
    Referrer: http://localhost:82/roles
    User: Express User
    User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
    Stack trace:    at LibGit2Sharp.Core.Proxy.git_repository_open_ext(String path, RepositoryOpenFlags flags, String ceilingDirs)
       at LibGit2Sharp.Repository.IsValid(String path)
       at Inedo.Otter.Extensions.RaftRepositories.ExternalGitRaftRepository.OpenRepository()
       at System.Lazy`1.CreateValue()
       at System.Lazy`1.LazyInitValue()
       at Inedo.Otter.Extensions.RaftRepositories.GitRaftRepositoryBase.OpenRaftItem(RaftItemType type, String name, FileMode fileMode, FileAccess fileAccess)
       at Inedo.Otter.WebApplication.Controls.ConfigurationPlanView.Initialize(Int32 raftId, RaftItemType type, String itemName)
       at Inedo.Otter.WebApplication.Controls.ConfigurationPlanView..ctor(ServerRoles_Extended role, ClientResourceManager resourceManager)
       at Inedo.Otter.WebApplication.Pages.ServerRoles.ServerRoleDetailsPage.CreateChildControls()
       at Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


  • Looks like there was a packaging issue with the 1.2.0 installer. We'll get a fixed installer posted right away, but you can fix in the meantime by going to the Otter install directory (default is Program Files\Otter) and copying the lib and NativeBinaries directories from the Service directory to the Web\bin directory.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation