[HELP]Debian 8 host a server

Hello, can someone help me please ? I try to make my server since 6hours, but I always get the same errors :confused:



root@vps411738:/home/cfx-server# sh run.sh
2017-05-17 02:48:54.2384|INFO|CitizenMP.Server|Creating initial server instance.
2017-05-17 02:48:54.3908|INFO|CitizenMP.Server|Pre-parsing resources: mapmanager
2017-05-17 02:48:54.3934|INFO|CitizenMP.Server|Found resource mapmanager in reso                                     urces/[managers]/mapmanager.
2017-05-17 02:49:05.7026|ERROR|CitizenMP.Server|Error creating script environment for resource mapmanager: Object reference not set to an instance of an object
2017-05-17 02:49:05.7092|ERROR|CitizenMP.Server| at [U] Neo.IronLua.LuaStackTraceDebugger+LuaStackTraceChunk.InitChunk(Delegate chunk)
2017-05-17 02:49:05.7092|ERROR|CitizenMP.Server| at [U] Neo.IronLua.LuaStackTraceDebugger.Neo.IronLua.ILuaDebug.CreateChunk(Lua lua,LambdaExpression expr)
2017-05-17 02:49:05.7092|ERROR|CitizenMP.Server| at [U] Neo.IronLua.Lua.CompileChunk(String chunkName,LuaCompileOptions options,TextReader tr,IEnumerable`1 args)
2017-05-17 02:49:05.7092|ERROR|CitizenMP.Server| at [U] Neo.IronLua.Lua.CompileChunk(TextReader tr,String name,LuaCompileOptions options,KeyValuePair`2[] args)
2017-05-17 02:49:05.7092|ERROR|CitizenMP.Server| at [U] Neo.IronLua.LuaDeskop.CompileChunk(Lua lua,String sFileName,LuaCompileOptions options,KeyValuePair`2[] args)
2017-05-17 02:49:05.7092|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:05.7102|ERROR|CitizenMP.Server|Resource mapmanager caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:05.7102|INFO|CitizenMP.Server|Found resource race in resources/[gamemodes]/race.
2017-05-17 02:49:06.1400|ERROR|CitizenMP.Server|Error creating script environment for resource race: Object reference not set to an instance of an object
2017-05-17 02:49:06.1403|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:06.1403|ERROR|CitizenMP.Server|Resource race caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:06.1403|INFO|CitizenMP.Server|Found resource race-test in resources/[gamemodes]/race-test.
2017-05-17 02:49:06.5094|ERROR|CitizenMP.Server|Error creating script environment for resource race-test: Object reference not set to an instance of an object
2017-05-17 02:49:06.5094|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:06.5094|ERROR|CitizenMP.Server|Resource race-test caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:06.5094|INFO|CitizenMP.Server|Found resource channelfeed in resources/[gameplay]/channelfeed.
2017-05-17 02:49:06.8660|ERROR|CitizenMP.Server|Error creating script environment for resource channelfeed: Object reference not set to an instance of an object
2017-05-17 02:49:06.8663|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:06.8663|ERROR|CitizenMP.Server|Resource channelfeed caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:06.8663|INFO|CitizenMP.Server|Found resource irc in resources/[gameplay]/irc.
2017-05-17 02:49:07.2301|ERROR|CitizenMP.Server|Error creating script environment for resource irc: Object reference not set to an instance of an object
2017-05-17 02:49:07.2304|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:07.2304|ERROR|CitizenMP.Server|Resource irc caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:07.2304|INFO|CitizenMP.Server|Found resource obituary in resources/[gameplay]/obituary.
2017-05-17 02:49:07.5979|ERROR|CitizenMP.Server|Error creating script environment for resource obituary: Object reference not set to an instance of an object
2017-05-17 02:49:07.5982|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:07.5982|ERROR|CitizenMP.Server|Resource obituary caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:07.5982|INFO|CitizenMP.Server|Found resource obituary-deaths in resources/[gameplay]/obituary-deaths.
2017-05-17 02:49:07.9632|ERROR|CitizenMP.Server|Error creating script environment for resource obituary-deaths: Object reference not set to an instance of an object
2017-05-17 02:49:07.9632|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:07.9632|ERROR|CitizenMP.Server|Resource obituary-deaths caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:07.9632|INFO|CitizenMP.Server|Found resource mapmanager in resources/[managers]/mapmanager.
2017-05-17 02:49:08.3134|ERROR|CitizenMP.Server|Error creating script environment for resource mapmanager: Object reference not set to an instance of an object
2017-05-17 02:49:08.3134|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:08.3134|ERROR|CitizenMP.Server|Resource mapmanager caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:08.3134|INFO|CitizenMP.Server|Found resource baseevents in resources/[system]/baseevents.
2017-05-17 02:49:08.6707|ERROR|CitizenMP.Server|Error creating script environment for resource baseevents: Object reference not set to an instance of an object
2017-05-17 02:49:08.6707|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:08.6707|ERROR|CitizenMP.Server|Resource baseevents caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:08.6712|INFO|CitizenMP.Server|Found resource chat in resources/[system]/chat.
2017-05-17 02:49:09.0408|ERROR|CitizenMP.Server|Error creating script environment for resource chat: Object reference not set to an instance of an object
2017-05-17 02:49:09.0408|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:09.0411|ERROR|CitizenMP.Server|Resource chat caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:09.0411|INFO|CitizenMP.Server|Found resource hardcap in resources/[system]/hardcap.
2017-05-17 02:49:09.3953|ERROR|CitizenMP.Server|Error creating script environment for resource hardcap: Object reference not set to an instance of an object
2017-05-17 02:49:09.3953|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:09.3953|ERROR|CitizenMP.Server|Resource hardcap caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:09.3953|INFO|CitizenMP.Server|Found resource ■■■■■■■ in resources/[system]/■■■■■■■.
2017-05-17 02:49:09.7425|ERROR|CitizenMP.Server|Error creating script environment for resource ■■■■■■■: Object reference not set to an instance of an object
2017-05-17 02:49:09.7425|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:09.7425|ERROR|CitizenMP.Server|Resource ■■■■■■■ caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:09.7425|INFO|CitizenMP.Server|Found resource scoreboard in resources/[system]/scoreboard.
2017-05-17 02:49:10.0980|ERROR|CitizenMP.Server|Error creating script environment for resource scoreboard: Object reference not set to an instance of an object
2017-05-17 02:49:10.0983|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:10.0983|ERROR|CitizenMP.Server|Resource scoreboard caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:10.0983|INFO|CitizenMP.Server|Found resource sessionmanager in resources/[system]/sessionmanager.
2017-05-17 02:49:10.4592|ERROR|CitizenMP.Server|Error creating script environment for resource sessionmanager: Object reference not set to an instance of an object
2017-05-17 02:49:10.4592|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:10.4592|ERROR|CitizenMP.Server|Resource sessionmanager caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:10.4592|INFO|CitizenMP.Server|Found resource spawnmanager in resources/[system]/spawnmanager.
2017-05-17 02:49:10.8189|ERROR|CitizenMP.Server|Error creating script environment for resource spawnmanager: Object reference not set to an instance of an object
2017-05-17 02:49:10.8192|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:10.8192|ERROR|CitizenMP.Server|Resource spawnmanager caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:10.8192|INFO|CitizenMP.Server|Found resource betaguns in resources/[test]/betaguns.
2017-05-17 02:49:11.2067|ERROR|CitizenMP.Server|Error creating script environment for resource betaguns: Object reference not set to an instance of an object
2017-05-17 02:49:11.2071|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:11.2071|ERROR|CitizenMP.Server|Resource betaguns caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:11.2071|INFO|CitizenMP.Server|Found resource gameInit in resources/[test]/gameInit.
2017-05-17 02:49:11.6136|ERROR|CitizenMP.Server|Error creating script environment for resource gameInit: Object reference not set to an instance of an object
2017-05-17 02:49:11.6136|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:11.6136|ERROR|CitizenMP.Server|Resource gameInit caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:11.6142|INFO|CitizenMP.Server|Found resource keks in resources/[test]/keks.
2017-05-17 02:49:11.9951|ERROR|CitizenMP.Server|Error creating script environment for resource keks: Object reference not set to an instance of an object
2017-05-17 02:49:11.9951|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:11.9951|ERROR|CitizenMP.Server|Resource keks caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:11.9951|INFO|CitizenMP.Server|Found resource fivem in resources/fivem.
2017-05-17 02:49:12.4310|ERROR|CitizenMP.Server|Error creating script environment for resource fivem: Object reference not set to an instance of an object
2017-05-17 02:49:12.4312|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:12.4312|ERROR|CitizenMP.Server|Resource fivem caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:12.4312|INFO|CitizenMP.Server|Found resource fivem-awesome1501 in resources/fivem-awesome1501.
2017-05-17 02:49:12.8266|ERROR|CitizenMP.Server|Error creating script environment for resource fivem-awesome1501: Object reference not set to an instance of an object
2017-05-17 02:49:12.8266|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:12.8266|ERROR|CitizenMP.Server|Resource fivem-awesome1501 caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:12.8266|INFO|CitizenMP.Server|Found resource fivem-map-hipster in resources/fivem-map-hipster.
2017-05-17 02:49:13.1965|ERROR|CitizenMP.Server|Error creating script environment for resource fivem-map-hipster: Object reference not set to an instance of an object
2017-05-17 02:49:13.1965|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:13.1965|ERROR|CitizenMP.Server|Resource fivem-map-hipster caused an error during loading. Please see the above lines for details.
.2017-05-17 02:49:13.1965|INFO|CitizenMP.Server|Found resource fivem-map-skater in resources/fivem-map-skater.
2017-05-17 02:49:13.5573|ERROR|CitizenMP.Server|Error creating script environment for resource fivem-map-skater: Object reference not set to an instance of an object
2017-05-17 02:49:13.5573|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-17 02:49:13.5573|ERROR|CitizenMP.Server|Resource fivem-map-skater caused an error during loading. Please see the above lines for details.
2017-05-17 02:49:13.5582|INFO|CitizenMP.Server|Starting game server on port 30120
2017-05-17 02:49:13.6193|INFO|CitizenMP.Server|Starting HTTP server on port 30120
2017-05-17 02:49:13.7614|ERROR|CitizenMP.Server|Could not find auto-started resource chat.
2017-05-17 02:49:13.7614|ERROR|CitizenMP.Server|Could not find auto-started resource spawnmanager.
2017-05-17 02:49:13.7614|ERROR|CitizenMP.Server|Could not find auto-started resource fivem-map-skater.
2017-05-17 02:49:13.7614|ERROR|CitizenMP.Server|Could not find auto-started resource baseevents.
2017-05-17 02:49:13.7614|ERROR|CitizenMP.Server|Could not find auto-started resource ■■■■■■■.
2017-05-17 02:49:13.7614|ERROR|CitizenMP.Server|Could not find auto-started resource hardcap.
2017-05-17 02:49:13.7622|ERROR|CitizenMP.Server|Could not find auto-started resource scoreboard.

 

did mono --version return 5.0 ?

As above, looks as if you’re using mono 5.

There’s a thread about it on here somewhere. On mobile so can’t really search around for you at the moment but I’m pretty sure that’s your issue.

Yes I have do this :
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo “deb http://download.mono-project.com/repo/debian jessie main” | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt-get update
sudo apt-get install mono-devel
sudo apt-get install mono-complete

I have follow this tutorial : http://www.mono-project.com/download/#download-lin-debian for the installation of mono

Mono JIT compiler version 5.0.0 (Stable 5.0.0.100/9667aa6 Thu May 11 14:31:42 UC 2017)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-proect.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)

That’s the issue, you can’t use mono version 5.

1 Like

Thank you :slight_smile:

1 Like

bearrp.fivem.host yeet