Problems with ESX

I’ve installed ESX for my localhost server, cuz I want to try to edit it but when I join in server anything looks like that is default script (looks like server doesn’t load scripts). Map is empty (no blips, etc), I got random character and no GUI on screen.

EDIT: And I forgot, server doesn’t input anything to database.

My log:

[         0] Initializing Mono
[        15] Initializing Mono completed
[        31] Hello!
[       171] Found new resource async in F:/FiveMServer/resources//async
[       187] Found new resource esplugin_mysql in F:/FiveMServer/resources//esplugin_mysql
[       187] Found new resource essentialmode in F:/FiveMServer/resources//essentialmode
[       202] Found new resource fivem in F:/FiveMServer/resources//fivem
[       218] Found new resource fivem-awesome1501 in F:/FiveMServer/resources//fivem-awesome1501
[       218] Found new resource fivem-map-hipster in F:/FiveMServer/resources//fivem-map-hipster
[       234] Found new resource fivem-map-skater in F:/FiveMServer/resources//fivem-map-skater
[       249] Found new resource fxmigrant in F:/FiveMServer/resources//fxmigrant
[       265] Resource loading for fxmigrant failed:
[       265] Could not open resource metadata file F:/FiveMServer/resources//fxmigrant/__resource.lua.
[       280] Found new resource mysql-async in F:/FiveMServer/resources//mysql-async
[       280] Found new resource runcode in F:/FiveMServer/resources//runcode
[       296] Found new resource es_extended in F:/FiveMServer/resources//[essential]/es_extended
[       312] Found new resource esx_menu_default in F:/FiveMServer/resources//[esx]/esx_menu_default
[       312] Found new resource esx_menu_dialog in F:/FiveMServer/resources//[esx]/esx_menu_dialog
[       327] Found new resource esx_menu_list in F:/FiveMServer/resources//[esx]/esx_menu_list
[       343] Found new resource race in F:/FiveMServer/resources//[gamemodes]/race
[       343] Found new resource race-test in F:/FiveMServer/resources//[gamemodes]/race-test
[       374] Found new resource channelfeed in F:/FiveMServer/resources//[gameplay]/channelfeed
[       374] Resolved live-internal.fivem.net:30110 to 178.32.9.100:30110
[       390] Found new resource irc in F:/FiveMServer/resources//[gameplay]/irc
[       390] Found new resource obituary in F:/FiveMServer/resources//[gameplay]/obituary
[       405] Found new resource obituary-deaths in F:/FiveMServer/resources//[gameplay]/obituary-deaths
[       421] Found new resource playernames in F:/FiveMServer/resources//[gameplay]/playernames
[       436] Found new resource mapmanager in F:/FiveMServer/resources//[managers]/mapmanager
[       452] Found new resource baseevents in F:/FiveMServer/resources//[system]/baseevents
[       452] Found new resource chat in F:/FiveMServer/resources//[system]/chat
[       468] Found new resource hardcap in F:/FiveMServer/resources//[system]/hardcap
[       483] Found new resource ■■■■■■■ in F:/FiveMServer/resources//[system]/■■■■■■■
[       483] Found new resource scoreboard in F:/FiveMServer/resources//[system]/scoreboard
[       499] Found new resource sessionmanager in F:/FiveMServer/resources//[system]/sessionmanager
[       514] Found new resource spawnmanager in F:/FiveMServer/resources//[system]/spawnmanager
[       530] Found new resource betaguns in F:/FiveMServer/resources//[test]/betaguns
[       530] Found new resource gameInit in F:/FiveMServer/resources//[test]/gameInit
[       546] Found new resource keks in F:/FiveMServer/resources//[test]/keks
[       608] Started resource sessionmanager
[       624] Started resource mapmanager
[       655] Started resource chat
[       655] Started resource spawnmanager
[       670] Started gametype Freeroam
[       670] Started resource fivem
[       686] Started resource hardcap
[       702] Started resource ■■■■■■■
[       717] Started resource playernames
[       733] Started resource mysql-async
[      1560] Loaded SQLite.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1148626287
[      1669] Loaded System.Data.SQLite, Version=1.0.109.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139 into ScriptDomain_1148626287
[      2137] Failed to instantiate instance of script SQLite.Main: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: SQLite.Interop.dll

[      2137]   at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_config_none (System.Data.SQLite.SQLiteConfigOpsEnum)

[      2137]   at System.Data.SQLite.SQLite3.StaticIsInitialized () [0x0001d] in <2dbd34e157eb4fefbab8047bc0d9632d>:0 

[      2137]   at System.Data.SQLite.SQLiteLog.Initialize (System.String className) [0x00026] in <2dbd34e157eb4fefbab8047bc0d9632d>:0 

[      2137]   at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString, System.Boolean parseViaFramework) [0x00046] in <2dbd34e157eb4fefbab8047bc0d9632d>:0 

[      2137]   at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString) [0x00000] in <2dbd34e157eb4fefbab8047bc0d9632d>:0 

[      2137]   at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteConnection:.ctor (string)

[      2137]   at SQLite.Main..ctor () [0x0004f] in <d9601824428540b9a7e0ba8d7ddf823e>:0 

[      2137]   at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)

[      2137]   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

[      2137]    --- End of inner exception stack trace ---

[      2137]   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

[      2137]   at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

[      2137]   at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

[      2137]   at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

[      2137]   at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

[      2137]   at System.Activator.CreateInstance (System.Type type) [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

[      2137]   at CitizenFX.Core.InternalManager.CreateAssemblyInternal (System.Byte[] assemblyData, System.Byte[] symbolData) [0x00069] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\InternalManager.cs:78 
[      2184] Started resource essentialmode
[      2199] Started resource esplugin_mysql
[      2215] Started resource async
[      2262] Error loading script config.weapons.lua in resource es_extended: config.weapons.lua:43: attempt to call a nil value (global 'GetHashKey')
[      2262] stack traceback:
[      2262] 	config.weapons.lua:43: in main chunk
[      2262] Failed to load script config.weapons.lua.
[      2355] Started resource es_extended
[      2371] Started resource esx_menu_default
[      2386] Started resource esx_menu_list
[      2386] Started resource esx_menu_dialog
[      2402] Stopping resource sessionmanager
[      2418] Started resource sessionmanager
[      2418] Authenticating server license key...
[      4960] Server license key authentication succeeded. Welcome!
[      5023] Sending heartbeat to live-internal.fivem.net:30110
[      5085] Performing version check against: https://api.kanersps.pw/em/version?version=6.2.2&uuid=104561f7-f46a-41eb-5ee4-7bc68a6924e6
[      5085] 
[      5132] Error resuming coroutine: @mysql-async/lib/MySQL.lua:191: attempt to call a nil value (global 'GetResourceState')
[      5132] stack traceback:
[      5132] 	@mysql-async/lib/MySQL.lua:191: in function <@mysql-async/lib/MySQL.lua:189>
[      5132] Started map fivem-map-hipster
[      5148] Started resource fivem-map-hipster
[      6583] 
[      6583] [EssentialMode] Current version: 6.2.2
[      6599] [EssentialMode] Updater version: 6.2.2
[      6599] 
[      6599] [EssentialMode] Everything is nice and updated!
[      6614] 
[      6645] ^1Advertisement: ^7Want to have EssentialMode pre-installed on a good and affordable server host? Go to the following link: https://zap-hosting.com/EssentialMode
[     49561] hitch warning: frame time of 320 milliseconds
[     50326] hitch warning: frame time of 1047 milliseconds
[     50606] hitch warning: frame time of 797 milliseconds
[     50825] hitch warning: frame time of 177 milliseconds
[     60559] hitch warning: frame time of 384 milliseconds
[     60996] hitch warning: frame time of 9351 milliseconds
[     61526] hitch warning: frame time of 496 milliseconds
[     61776] hitch warning: frame time of 472 milliseconds
[     61854] hitch warning: frame time of 241 milliseconds
[     68453] hitch warning: frame time of 279 milliseconds
[     68671] hitch warning: frame time of 194 milliseconds
[     81448] Connecting: ShomY
[     82618] Sending heartbeat to live-internal.fivem.net:30110
[    120557] Error running system event handling function for resource esplugin_mysql: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/scheduler.lua:655: No such export mysql_fetch_all in resource mysql-async
[    120557] stack traceback:
[    120557] 	[C]: in function 'error'
[    120557] 	citizen:/scripting/lua/scheduler.lua:655: in metamethod '__index'
[    120557] 	@mysql-async/lib/MySQL.lua:147: in field 'fetchAll'
[    120557] 	server.lua:5: in upvalue 'handler'
[    120557] 	citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
[    120557] stack traceback:
[    120557] 	[C]: in function 'error'
[    120557] 	citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
[    120557] 	citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
[    120588] hitch warning: frame time of 351 milliseconds
[    262627] Sending heartbeat to live-internal.fivem.net:30110
[    384839] System.InvalidOperationException: Only extension types 10/11 (Citizen funcref) are handled by this class.

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackExt (System.IO.BinaryReader reader, System.Int32 length) [0x00030] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:357 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackExt8 (System.Byte a, System.IO.BinaryReader reader) [0x00007] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:316 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackAny (System.IO.BinaryReader reader) [0x0000f] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:32 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackMap (System.IO.BinaryReader reader, System.Int32 length) [0x00017] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:42 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackFixMap (System.Byte a, System.IO.BinaryReader reader) [0x00005] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:240 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackAny (System.IO.BinaryReader reader) [0x0000f] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:32 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackArray (System.IO.BinaryReader reader, System.Int32 length) [0x0000a] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:56 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackFixArray (System.Byte a, System.IO.BinaryReader reader) [0x00005] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:217 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.UnpackAny (System.IO.BinaryReader reader) [0x0000f] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:32 

[    384839]   at CitizenFX.Core.MsgPackDeserializer.Deserialize (System.Byte[] data, System.String netSource) [0x0001b] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:24 

[    384839]   at CitizenFX.Core.InternalManager.TriggerEvent (System.String eventName, System.Byte[] argsSerialized, System.String sourceString) [0x00021] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\InternalManager.cs:194 
[    384870] hitch warning: frame time of 775 milliseconds
[    442653] Sending heartbeat to live-internal.fivem.net:30110
[    477644] Sending heartbeat to live-internal.fivem.net:30110
[    485756] hitch warning: frame time of 161 milliseconds
[    485787] hitch warning: frame time of 801 milliseconds
[    601025] Connecting: ShomY
[    601664] Sending heartbeat to live-internal.fivem.net:30110
[    602304] [SAVED] All players
[    627186] Error running system event handling function for resource esplugin_mysql: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/scheduler.lua:655: No such export mysql_fetch_all in resource mysql-async
[    627186] stack traceback:
[    627186] 	[C]: in function 'error'
[    627186] 	citizen:/scripting/lua/scheduler.lua:655: in metamethod '__index'
[    627186] 	@mysql-async/lib/MySQL.lua:147: in field 'fetchAll'
[    627186] 	server.lua:5: in upvalue 'handler'
[    627186] 	citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
[    627186] stack traceback:
[    627186] 	[C]: in function 'error'
[    627186] 	citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
[    627186] 	citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
[    627186] hitch warning: frame time of 247 milliseconds
[    781689] Sending heartbeat to live-internal.fivem.net:30110
[    961730] Sending heartbeat to live-internal.fivem.net:30110
[   1141771] Sending heartbeat to live-internal.fivem.net:30110
[   1202346] [SAVED] All players

i have the same thing

From what you can see, you have a problem with the connection between you and the database.
Try to install the scripts one by one and the basics.
on youtube there are several well explained videos for the installation of esx(server already armed) on the local host, I recommend you to see them.

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