If you updated your system to the latest mono on linux you have buged your server. When you see something like this
2017-05-12 21:00:12.9956|INFO|CitizenMP.Server|Creating initial server instance.
2017-05-12 21:00:13.1736|INFO|CitizenMP.Server|Pre-parsing resources: mapmanager
2017-05-12 21:00:13.1760|INFO|CitizenMP.Server|Found resource mapmanager in resources/[managers]/mapmanager.
2017-05-12 21:00:34.7191|ERROR|CitizenMP.Server|Error creating script environment for resource mapmanager: Object reference not set to an instance of an object
2017-05-12 21:00:34.7272|ERROR|CitizenMP.Server| at [U] Neo.IronLua.LuaStackTraceDebugger+LuaStackTraceChunk.InitChunk(Delegate chunk)
2017-05-12 21:00:34.7272|ERROR|CitizenMP.Server| at [U] Neo.IronLua.LuaStackTraceDebugger.Neo.IronLua.ILuaDebug.CreateChunk(Lua lua,LambdaExpression expr)
2017-05-12 21:00:34.7272|ERROR|CitizenMP.Server| at [U] Neo.IronLua.Lua.CompileChunk(String chunkName,LuaCompileOptions options,TextReader tr,IEnumerable`1 args)
2017-05-12 21:00:34.7272|ERROR|CitizenMP.Server| at [U] Neo.IronLua.Lua.CompileChunk(TextReader tr,String name,LuaCompileOptions options,KeyValuePair`2[] args)
2017-05-12 21:00:34.7272|ERROR|CitizenMP.Server| at [U] Neo.IronLua.LuaDeskop.CompileChunk(Lua lua,String sFileName,LuaCompileOptions options,KeyValuePair`2[] args)
2017-05-12 21:00:34.7272|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:34.7279|ERROR|CitizenMP.Server|Resource mapmanager caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:34.7295|INFO|CitizenMP.Server|Found resource race in resources/[gamemodes]/race.
2017-05-12 21:00:35.4465|ERROR|CitizenMP.Server|Error creating script environment for resource race: Object reference not set to an instance of an object
2017-05-12 21:00:35.4465|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:35.4465|ERROR|CitizenMP.Server|Resource race caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:35.4469|INFO|CitizenMP.Server|Found resource race-test in resources/[gamemodes]/race-test.
2017-05-12 21:00:36.1044|ERROR|CitizenMP.Server|Error creating script environment for resource race-test: Object reference not set to an instance of an object
2017-05-12 21:00:36.1044|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:36.1044|ERROR|CitizenMP.Server|Resource race-test caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:36.1051|INFO|CitizenMP.Server|Found resource channelfeed in resources/[gameplay]/channelfeed.
2017-05-12 21:00:36.7608|ERROR|CitizenMP.Server|Error creating script environment for resource channelfeed: Object reference not set to an instance of an object
2017-05-12 21:00:36.7610|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:36.7610|ERROR|CitizenMP.Server|Resource channelfeed caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:36.7610|INFO|CitizenMP.Server|Found resource irc in resources/[gameplay]/irc.
2017-05-12 21:00:37.4251|ERROR|CitizenMP.Server|Error creating script environment for resource irc: Object reference not set to an instance of an object
2017-05-12 21:00:37.4251|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:37.4251|ERROR|CitizenMP.Server|Resource irc caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:37.4251|INFO|CitizenMP.Server|Found resource obituary in resources/[gameplay]/obituary.
2017-05-12 21:00:38.0844|ERROR|CitizenMP.Server|Error creating script environment for resource obituary: Object reference not set to an instance of an object
2017-05-12 21:00:38.0844|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:38.0844|ERROR|CitizenMP.Server|Resource obituary caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:38.0844|INFO|CitizenMP.Server|Found resource obituary-deaths in resources/[gameplay]/obituary-deaths.
2017-05-12 21:00:38.7563|ERROR|CitizenMP.Server|Error creating script environment for resource obituary-deaths: Object reference not set to an instance of an object
2017-05-12 21:00:38.7563|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:38.7563|ERROR|CitizenMP.Server|Resource obituary-deaths caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:38.7569|INFO|CitizenMP.Server|Found resource mapmanager in resources/[managers]/mapmanager.
2017-05-12 21:00:39.4343|ERROR|CitizenMP.Server|Error creating script environment for resource mapmanager: Object reference not set to an instance of an object
2017-05-12 21:00:39.4343|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:39.4343|ERROR|CitizenMP.Server|Resource mapmanager caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:39.4349|INFO|CitizenMP.Server|Found resource baseevents in resources/[system]/baseevents.
2017-05-12 21:00:40.1217|ERROR|CitizenMP.Server|Error creating script environment for resource baseevents: Object reference not set to an instance of an object
2017-05-12 21:00:40.1219|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:40.1219|ERROR|CitizenMP.Server|Resource baseevents caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:40.1219|INFO|CitizenMP.Server|Found resource chat in resources/[system]/chat.
2017-05-12 21:00:40.7989|ERROR|CitizenMP.Server|Error creating script environment for resource chat: Object reference not set to an instance of an object
2017-05-12 21:00:40.7990|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:40.7990|ERROR|CitizenMP.Server|Resource chat caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:40.7990|INFO|CitizenMP.Server|Found resource hardcap in resources/[system]/hardcap.
2017-05-12 21:00:41.4798|ERROR|CitizenMP.Server|Error creating script environment for resource hardcap: Object reference not set to an instance of an object
2017-05-12 21:00:41.4799|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:41.4799|ERROR|CitizenMP.Server|Resource hardcap caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:41.4799|INFO|CitizenMP.Server|Found resource ■■■■■■■ in resources/[system]/■■■■■■■.
2017-05-12 21:00:42.1492|ERROR|CitizenMP.Server|Error creating script environment for resource ■■■■■■■: Object reference not set to an instance of an object
2017-05-12 21:00:42.1492|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:42.1492|ERROR|CitizenMP.Server|Resource ■■■■■■■ caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:42.1492|INFO|CitizenMP.Server|Found resource scoreboard in resources/[system]/scoreboard.
2017-05-12 21:00:42.8164|ERROR|CitizenMP.Server|Error creating script environment for resource scoreboard: Object reference not set to an instance of an object
2017-05-12 21:00:42.8164|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:42.8164|ERROR|CitizenMP.Server|Resource scoreboard caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:42.8164|INFO|CitizenMP.Server|Found resource sessionmanager in resources/[system]/sessionmanager.
2017-05-12 21:00:43.4829|ERROR|CitizenMP.Server|Error creating script environment for resource sessionmanager: Object reference not set to an instance of an object
2017-05-12 21:00:43.4829|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:43.4829|ERROR|CitizenMP.Server|Resource sessionmanager caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:43.4829|INFO|CitizenMP.Server|Found resource spawnmanager in resources/[system]/spawnmanager.
2017-05-12 21:00:44.1600|ERROR|CitizenMP.Server|Error creating script environment for resource spawnmanager: Object reference not set to an instance of an object
2017-05-12 21:00:44.1600|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:44.1600|ERROR|CitizenMP.Server|Resource spawnmanager caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:44.1600|INFO|CitizenMP.Server|Found resource betaguns in resources/[test]/betaguns.
2017-05-12 21:00:44.8347|ERROR|CitizenMP.Server|Error creating script environment for resource betaguns: Object reference not set to an instance of an object
2017-05-12 21:00:44.8350|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:44.8350|ERROR|CitizenMP.Server|Resource betaguns caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:44.8350|INFO|CitizenMP.Server|Found resource gameInit in resources/[test]/gameInit.
2017-05-12 21:00:45.5018|ERROR|CitizenMP.Server|Error creating script environment for resource gameInit: Object reference not set to an instance of an object
2017-05-12 21:00:45.5020|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:45.5020|ERROR|CitizenMP.Server|Resource gameInit caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:45.5020|INFO|CitizenMP.Server|Found resource keks in resources/[test]/keks.
2017-05-12 21:00:46.1721|ERROR|CitizenMP.Server|Error creating script environment for resource keks: Object reference not set to an instance of an object
2017-05-12 21:00:46.1721|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:46.1721|ERROR|CitizenMP.Server|Resource keks caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:46.1721|INFO|CitizenMP.Server|Found resource fivem in resources/fivem.
2017-05-12 21:00:46.8401|ERROR|CitizenMP.Server|Error creating script environment for resource fivem: Object reference not set to an instance of an object
2017-05-12 21:00:46.8401|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:46.8401|ERROR|CitizenMP.Server|Resource fivem caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:46.8401|INFO|CitizenMP.Server|Found resource fivem-awesome1501 in resources/fivem-awesome1501.
2017-05-12 21:00:47.5441|ERROR|CitizenMP.Server|Error creating script environment for resource fivem-awesome1501: Object reference not set to an instance of an object
2017-05-12 21:00:47.5441|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:47.5441|ERROR|CitizenMP.Server|Resource fivem-awesome1501 caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:47.5441|INFO|CitizenMP.Server|Found resource fivem-map-hipster in resources/fivem-map-hipster.
2017-05-12 21:00:48.1771|ERROR|CitizenMP.Server|Error creating script environment for resource fivem-map-hipster: Object reference not set to an instance of an object
2017-05-12 21:00:48.1771|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:48.1771|ERROR|CitizenMP.Server|Resource fivem-map-hipster caused an error during loading. Please see the above lines for details.
.2017-05-12 21:00:48.1771|INFO|CitizenMP.Server|Found resource fivem-map-skater in resources/fivem-map-skater.
2017-05-12 21:00:48.8262|ERROR|CitizenMP.Server|Error creating script environment for resource fivem-map-skater: Object reference not set to an instance of an object
2017-05-12 21:00:48.8262|ERROR|CitizenMP.Server| at [U] CitizenMP.Server.Resources.ScriptEnvironment.Create()
2017-05-12 21:00:48.8262|ERROR|CitizenMP.Server|Resource fivem-map-skater caused an error during loading. Please see the above lines for details.
2017-05-12 21:00:48.8273|INFO|CitizenMP.Server|Starting game server on port 32119
2017-05-12 21:00:48.9008|INFO|CitizenMP.Server|Starting HTTP server on port 32119
2017-05-12 21:00:49.0587|ERROR|CitizenMP.Server|Could not find auto-started resource chat.
2017-05-12 21:00:49.0587|ERROR|CitizenMP.Server|Could not find auto-started resource spawnmanager.
2017-05-12 21:00:49.0587|ERROR|CitizenMP.Server|Could not find auto-started resource baseevents.
2017-05-12 21:00:49.0587|ERROR|CitizenMP.Server|Could not find auto-started resource ■■■■■■■.
2017-05-12 21:00:49.0589|ERROR|CitizenMP.Server|Could not find auto-started resource hardcap.
2017-05-12 21:00:49.0589|ERROR|CitizenMP.Server|Could not find auto-started resource scoreboard.
2017-05-12 21:00:49.0589|ERROR|CitizenMP.Server|Could not find auto-started resource fivem.
2017-05-12 21:00:49.0589|ERROR|CitizenMP.Server|Could not find auto-started resource fivem-map-skater.
To fix above issue we need to rollback to Mono 4.8 Version
This is tested on Ubuntu 16.04
sudo apt-get remove mono-complete
sudo apt-get purge mono-runtime
sudo ls /etc/apt/sources.list.d
sudo rm -i /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get autoremove
echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-complete
mono --version
WARNING: This will lock your Mono to version 4.8. If you want to update again to latest version you need to remove repo
sudo ls /etc/apt/sources.list.d
sudo rm -i /etc/apt/sources.list.d/mono-xamarin.list
Then add latest repo Mono Install
I’m not responsible for any damage caused by following above. If you don’t know what you are doing ask somewone to do it for you.
Have fun