How can I disable the Webadmin

How can I disable the Webadmin from Linux???

The new cfx.re or a different custom webadmin script?

The New from FiveM Project cfx.re

I’m not 100% sure on that one. There might be a resource somewhere in the files, or it may be hardcoded into the server-files (.dlls). I’m sure someone from the cfx team can answer the question.

just want to issue it just because 1. I do not need that and 2. gives this long error:

Exception while handling request. System.NullReferenceException: Object reference not set to an instance of an object
  at FxWebAdmin.IdentifierHelpers.GetProvider (System.String identifier) [0x00000] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/IdentifierHelpers.cs:76 
  at FxWebAdmin.IdentifierHelpers.Format (System.String identifier) [0x000bd] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/IdentifierHelpers.cs:42 
  at FxWebAdmin.IdentifierHelpers.Format (System.Collections.Generic.IEnumerable`1[T] identifiers) [0x00033] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/IdentifierHelpers.cs:27 
  at AspNetCore.Views_Home_Index.<ExecuteAsync>b__11_0 () [0x00627] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/Views/Home/Index.cshtml:117 
  at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSectionAsyncCore (System.String sectionName, System.Boolean required) [0x000c1] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at AspNetCore.Views_Shared__Layout.<ExecuteAsync>b__0_0 () [0x003a5] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/Views/Shared/_Layout.cshtml:38 
  at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSectionAsyncCore (System.String sectionName, System.Boolean required) [0x000c1] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at AspNetCore.Views_Shared__LayoutBase.ExecuteAsync () [0x00232] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/Views/Shared/_LayoutBase.cshtml:22 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync (Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) [0x000c7] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync (Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context, System.Boolean invokeViewStarts) [0x001db] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext context, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewBufferTextWriter bodyWriter) [0x00171] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) [0x0010a] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.String contentType, System.Nullable`1[T] statusCode) [0x00158] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData, System.String contentType, System.Nullable`1[T] statusCode) [0x00177] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewResult result) [0x0010a] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync (Microsoft.AspNetCore.Mvc.ActionContext context) [0x00090] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultAsync (Microsoft.AspNetCore.Mvc.IActionResult result) [0x000a5] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync] () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.ResultNext[TFilter,TFilterAsync] (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+Scope& scope, System.Object& state, System.Boolean& isCompleted) [0x003df] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultFilters () [0x00030] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+Scope& scope, System.Object& state, System.Boolean& isCompleted) [0x00840] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0 
  at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x001d2] in <dd7bbb1eb6cb4178a82cd5136b2606b8>:0 
  at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0 
  at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00195] in <bbf35367c9a54318b7d7f6cd02f70142>:0 
  at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00282] in <bbf35367c9a54318b7d7f6cd02f70142>:0 
  at FxWebAdmin.HttpServer+<>c__DisplayClass10_1`1[TContext].<StartAsync>b__2 () [0x007b8] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/HttpServer.cs:141 

And im on the newest build version.

no, you definitely aren’t

Sure my server is based on Linux and i use this version: http://prntscr.com/p6edxz

Ok what version i needed?

I use Debian 9.5…

If you need to stop webadmin, just set in server.cfg this line:

stop webadmin
4 Likes

Thank you! This worked!