[HELP] Issue when trying to start server on Linux


#1

Hey, i just installed FiveM to my VPS server wrunning Ubuntu 16.10 [x64] then i get this error:

Unhandled Exception:
System.MissingMethodException: Method 'Array.Empty' not found.
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x41a1d6b0 + 0x00133> in <filename unknown>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x41a1d680 + 0x00019> in <filename unknown>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x41a1d650 + 0x00019> in <filename unknown>:0
  at CitizenMP.Server.Program.Start (System.String configFileName) <0x41a1d390 + 0x0020f> in <filename unknown>:0
  at CitizenMP.Server.Program.Main (System.String[] args) <0x40e39d90 + 0x0008f> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method 'Array.Empty' not found.
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x41a1d6b0 + 0x00133> in <filename unknown>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x41a1d680 + 0x00019> in <filename unknown>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x41a1d650 + 0x00019> in <filename unknown>:0
  at CitizenMP.Server.Program.Start (System.String configFileName) <0x41a1d390 + 0x0020f> in <filename unknown>:0
  at CitizenMP.Server.Program.Main (System.String[] args) <0x40e39d90 + 0x0008f> in <filename unknown>:0


#2

on the first run, you have to add this line after the server directory: chmod u+x run.sh

example:
cd /cfx-server (access to FiveM server directory)
chmod u+x run.sh (to give rights to your server)
./run.sh (to run the server)

you need to type the chmod line only on first start


#3

Thanks work now i need to update some stuff


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.