Problem with running a server clone with a different world ID

Have some feedback for Life is Feudal: Your Own? Post it here!

Posts: 3
Joined: 18 Jan 2016, 16:52

Problem with running a server clone with a different world ID

Post by Hvantomas » 11 Nov 2019, 11:29

Good afternoon. Came across such problem: I take a backup copy of a database and files of the server, I expand base in newly created with a name lif_2 (initial base lif_1), I edit settings world_2.xml (I put in parameter ID instead of "1" number "2"), I start the server with parameter-worldid 2. The server starts to start, but after a couple of seconds the console closes and there is an error in the logs, which indicates the cause of the failed start:

WARN 2019-11-11 01:16:41.596 {02} <initServer> [0] DB::RS(1 ms) SELECT `Value` FROM `_patch_execute_status` LIMIT 1;
ERRR 2019-11-11 01:16:41.596 {02} <initServer> [0] CmServerInfoManager::_applyDbPatch() - validation of patch file execution failed
ERRR 2019-11-11 01:16:41.596 {02} <initServer> [0] [line #1165] CmServerInfoManager::initLocalWorld() - can't access to db for world id=2
ERRR 2019-11-11 01:16:41.597 {02} <initServer> [0] Fatal: Can't init local world (id=2). Terminating.
quit() -- quit requested!

The server connects to mariaDB under the account with root rights. If you create a new server with the world ID "2", then everything is OK, it will start. It turns out that in the structure of the database there is some binding to the id, which will not run the world with another id when cloning it. How to be?

Return to Feedback section