Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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)

    Scheduled Pinned Locked Moved Support
    gitotter
    2 Posts 1 Posters 6 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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)
      
      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation