Essentialmode Error code help needed

Server: cfx latest.
Distro: Ubuntu 17.10 (Artful)
CoucheDB 1.7
Mods loaded: mysql-async, esplugin_mysql, essentialmode (version 5)

Problem:

Starting up the server is all good.

Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started resource fivem
Started gametype Freeroam
Started resource hardcap
Started resource ■■■■■■■
Started resource scoreboard
Started resource playernames
Started resource loadingscreen
Loaded MySQLAsync.net, Version=2.0.2.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1784814658
Instantiated instance of script MySQLAsync.MySQLAsync.
Started resource mysql-async
Started resource esplugin_mysql
Started resource essentialmode
Started resource es_admin2
Authenticating server license key...
Server license key authentication succeeded. Welcome!
cfx> Resolved live-internal.fivem.net:30110 to 163.172.164.221:30110
Sending heartbeat to live-internal.fivem.net:30110
Started resource fivem-map-skater
Started map fivem-map-skater
-------------------------------------------------------------
--- No errors detected, essentialmode is setup properly. ---
-------------------------------------------------------------
Loaded MySqlConnector, Version=0.26.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1784814658
hitch warning: frame time of 317 milliseconds

Current version: 5.0.0
Updater version: 5.0.0

Everything is fine!

But when i connect terminal starts showing this.

Connecting: Hardman
Sending heartbeat to live-internal.fivem.net:30110
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/db.lua:208: attempt to index a nil value (field 'docs')
stack traceback:
        server/db.lua:208: in upvalue 'callback'
        server/db.lua:84: in local 'userCallback'
        citizen:/scripting/lua/scheduler.lua:271: in upvalue 'handler'
        citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:173>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:173: in function <citizen:/scripting/lua/scheduler.lua:138>

One thought i have is that maybe Essentialmode is picky about Couchdb, that it really needs 2.0 (said so on the page)
But another part of me thinks it could be something else aswell.
If you have had the same issue and solved it i would love to know how.

Best Regards!

This is a problem with EssentialMode… Not FiveM.

moved to: #development:scripts

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