Mono errors

Hello,

I moved my ESX server to a new VPS, running on UBUNTU 18.4.
Now, if I start my server I get an error, wich relates to mono, as far as I can see.

Here is the Error:

Stacktrace:
/proc/self/maps:
400ff000-401bf000 rwxp 00000000 00:00 0
4071d000-407bd000 rwxp 00000000 00:00 0
41696000-416a6000 rwxp 00000000 00:00 0
3797ae00000-3797ae80000 rw-p 00000000 00:00 0
c8db2000000-c8db2080000 rw-p 00000000 00:00 0
1f88aae00000-1f88aae80000 rw-p 00000000 00:00 0
21f2b2e00000-21f2b2e03000 rw-p 00000000 00:00 0
21f2b2e03000-21f2b2e80000 r--p 00000000 00:00 0
2864d3a00000-2864d3a03000 rw-p 00000000 00:00 0
317aed080000-317aed0af000 rw-p 00000000 00:00 0
3b09a764a000-3b09a7680000 ---p 00000000 00:00 0
3b09a7680000-3b09a7683000 rw-p 00000000 00:00 0
3b09a7683000-3b09a7684000 ---p 00000000 00:00 0
3b09a7684000-3b09a76ff000 r-xp 00000000 00:00 0
3b09a76ff000-3b09af64a000 ---p 00000000 00:00 0
3b66408c4000-3b66408cc000 rw-p 00000000 00:00 0
7f6f5dcf2000-7f6f5def8000 r--p 00000000 08:03 47186567 /home/container/alpine/opt/cfx-server/citizen/clr2/lib/mono/4.5/System.Data.dll
7f6f5def8000-7f6f5defa000 ---p 00000000 00:00 0
7f6f5defa000-7f6f5defb000 rw-p 00000000 00:00 0
7f6f5defb000-7f6f5df03000 ---p 00000000 00:00 0
7f6f5df03000-7f6f5e0fc000 rw-p 00000000 00:00 0
7f6f5e0fc000-7f6f5e0fe000 ---p 00000000 00:00 0
7f6f5e0fe000-7f6f5e0ff000 rw-p 00000000 00:00 0
7f6f5e0ff000-7f6f5e107000 ---p 00000000 00:00 0
7f6f5e107000-7f6f5e400000 rw-p 00000000 00:00 0
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
Unhandled exception in Mono script environment: System.NullReferenceException: Object reference not set to an instance of an object
(null)GlobalError: UnhandAborted (core dumped)

Does anyone know how i could fix this error?

Has something to do with copying the resource folder over is my guess.

did you install the new essential mode and have advanced shops? ive just made a support ticket about the same thing

What version of the FiveM Linux Server did you install?

https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/

I have the same problem with the latest linux version (1244)

Work on the latest Windows version (1259)


Make sure to follow this and when running the start command make sure you are in the right folder.

Also if you are moving your server try to install the build that the server was running it then move the resources folder over…etc.