[0.15.1] Migration error on connect to a headless server

This subforum contains all the issues which we already resolved.
Post Reply
rkfg
Long Handed Inserter
Long Handed Inserter
Posts: 62
Joined: Thu Jan 15, 2015 11:11 pm
Contact:

[0.15.1] Migration error on connect to a headless server

Post by rkfg »

This is not quite a bug but may be worth to mention. My headless server only has migrations since "2014-10-22_Factorio_0.11.0.json" and up.
But the client (installed via Steam long ago and updated to 0.15.1 today) had much older migrations starting from "2014-01-09_Factorio_0.9.0.json":

Code: Select all

-rwxr-xr-x  1 rkfg rkfg  229 Feb 29  2016 2014-01-09_Factorio_0.9.0.json
-rwxr-xr-x  1 rkfg rkfg  557 Feb 29  2016 2014-01-28_Factorio_0.9.0.lua
-rwxr-xr-x  1 rkfg rkfg 1.1K Feb 29  2016 2014-02-16_Factorio_0.9.1.lua
-rwxr-xr-x  1 rkfg rkfg  107 Feb 29  2016 2014-02-26_Factorio_0.9.2.lua
-rwxr-xr-x  1 rkfg rkfg   34 Feb 29  2016 2014-03-08_Factorio_0.9.3.lua
-rwxr-xr-x  1 rkfg rkfg  237 Feb 29  2016 2014-03-16_Factorio_0.9.4.lua
-rwxr-xr-x  1 rkfg rkfg  175 Feb 29  2016 2014-03-17_Factorio_0.9.4.json
-rwxr-xr-x  1 rkfg rkfg  450 Feb 29  2016 2014-03-17_Factorio_0.9.4.lua
-rwxr-xr-x  1 rkfg rkfg  267 Feb 29  2016 2014-03-20_Factorio_0.9.5.lua
-rwxr-xr-x  1 rkfg rkfg   21 Feb 29  2016 2014-09-28_Factorio_0.11.0.lua
-rwxr-xr-x  1 rkfg rkfg   97 Feb 29  2016 2014-10-22_Factorio_0.11.0.json
<...>
So when I connected to the server I got an error about failed migration. It seems that Steam didn't remove those old files and verifying the cache didn't help either. I had to manually delete the /data/base/migrations directory and reverify the game files, then it only downloaded the required ones and it all worked fine.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.1] Migration error on connect to a headless server

Post by Rseding91 »

That sounds like steam is broken in its verification logic. I'll see if we can make it (for our game) remove files that wouldn't be added during install.
If you want to get ahold of me I'm almost always on Discord.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.1] Migration error on connect to a headless server

Post by Rseding91 »

Looking into it, there's nothing we can do at this point.

Steam doesn't support removing files we don't want in the install directory so switching between versions leaves behind files it shouldn't.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”