I got a new server, I copied files from the old one, changed set mysql_connection_string to database but on launch I get this error in the console:

Started resource sessionmanager 
Started resource mapmanager 
Started resource chat 
Started resource spawnmanager 
Started gametype Freeroam 
Started resource fivem 
Started resource hardcap 
Started resource ■■■■■■■ 
Started resource mysql-async 
Started resource async 
Error loading script server/sqlite/sv_database.js in resource essentialmode: SyntaxError: Invalid or unexpected token 
stack: 
/home/zap396166/g66200/gta5-fivem/server-data/resources/essentialmode/server/sqlite/sql.js:3 
var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRON 

SyntaxError: Invalid or unexpected token 
at createScript (vm.js:79:10) 
at Object.runInThisContext (vm.js:138:10) 
at Module._compile (module.js:617:28) 
at Object.Module._extensions..js (module.js:660:10) 
at Module.load (module.js:566:32) 
at tryModuleLoad (module.js:506:12) 
at Function.Module._load (module.js:498:3) 
at Module.require (module.js:597:17) 
at require (internal/module.js:11:18) 
at server/sqlite/sv_database.js:1:13 
Failed to load script server/sqlite/sv_database.js.

Hey did you found an answer ?

did you ever find a fix to this

I haven’t, sorry…

Anyone know how to fix this?