1

我在我的 Windows 2012 服务器上成功安装了 Bonobo,没有任何问题。我通过 Web 界面创建了一个 repo,但是当尝试通过 Git 添加远程 repo 时,我收到以下错误:

致命:https ://app.mydomain.com/Bonobo.Git.Server/project1.git/info/refs无效:这是一个 git 存储库吗?

以下是 Bonobo.Git.Server.Errors.log 中显示的 Bonobo 错误日志:

本机库预加载器正在尝试加载本机 SQLite 库“C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll”... w3wp.exe 错误:0:发生错误并被捕获在 Global.asax - System.FormatException:Base-64 字符数组或字符串的长度无效。在 System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) 在 System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) 在 System.Convert.FromBase64String(String s) 在 Bonobo.Git。 System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters 上的 Server.GitAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext) (ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1c(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid1.CallBeginDelegate(AsyncCallback callback, Object callbackState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TState](AsyncCallback callback, Object callbackState, BeginInvokeDelegate1 beginDelegate,EndInvokeVoidDelegate 1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) at System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.Begin(AsyncCallback 回调,对象状态,Int32 超时)在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TState](AsyncCallback 回调,对象 callbackState,开始调用委托1 beginDelegate, EndInvokeVoidDelegate1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.b__4(AsyncCallback asyncCallback, Object asyncState,ProcessRequestState innerState)在 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid 1.CallBeginDelegate(AsyncCallback callback, Object callbackState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.Begin(AsyncCallback 回调,对象状态,Int32 超时)在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TState](AsyncCallback 回调,对象回调状态,BeginInvokeDelegate1 beginDelegate, EndInvokeVoidDelegate1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication。 IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 本机库预加载器正在尝试加载本机 SQLite 库“C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\ SQLite.Interop.dll"... 本机库预加载器正在尝试加载本机 SQLite 库 "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"... 本机库预加载器正在尝试加载本机 SQLite 库“C:\inetpub\wwwroot\Bonobo.Git。Server\bin\x64\SQLite.Interop.dll"... 本机库预加载器正在尝试加载本机 SQLite 库 "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll “...本机库预加载器正在尝试加载本机 SQLite 库“C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll”... 本机库预加载器正在尝试加载本机 SQLite 库 "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"... 本机库预加载器正在尝试加载本机 SQLite 库 "C:\inetpub\ wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"... 本机库预加载器正在尝试加载本机 SQLite 库 "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64 \SQLite.Interop.dll"... 本机库预加载器正在尝试加载本机 SQLite 库 "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"... 本机库预加载器正在尝试加载本机 SQLite 库 "C:\inetpub\wwwroot\Bonobo.Git.Server\ bin\x64\SQLite.Interop.dll"...

我正在使用默认的表单身份验证。任何帮助,将不胜感激。

4

1 回答 1

1

您的参考不正确。从命令行添加遥控器,如下所示:

git remote add origin https://app.mydomain.com/Bonobo.Git.Server/project1.git
于 2015-08-06T20:12:15.247 回答