Page 1 of 1

[0.17.11] [Headless Server] Server tries to migrate map without need

Posted: Thu Mar 14, 2019 2:04 am
by pazon123
Since my friend was running a headless server (which works normally without issues on 0.17.11), but he wanted me to generate a world for him and send it over since he couldn't figure out how to manage settings of world gen on the headless.

- So I generate it in 0.17.11, save it on the same version, send the zip, he places it into the save, the server is on 0.17.11.

However when I try to join it, it says:
"Cannot load downloaded map: Trying to apply migration 2017-04-26_Factorio_0.15.3.lua (Base Mod) while joining multiplayer game."

The server ran into this issue, and the work around was to change the name of the migrations folder to something else in the actual factorio files both on client and server.

Possible bug? I don't know if it applies to all versions, or just something with v17.x

Save in question:
17xSave.zip
Save that I made, no mods.
(1.89 MiB) Downloaded 84 times

Re: [1.17.11] [Headless Server] Server tries to migrate map without need

Posted: Thu Mar 14, 2019 2:08 am
by tehfreek
There are probably stale files on the server install. Wipe it clean (the game server, not the whole server) and reinstall from scratch.

Re: [1.17.11] [Headless Server] Server tries to migrate map without need

Posted: Thu Mar 14, 2019 2:10 am
by pazon123
It was a fresh install for 0.17.11 for today.

Re: [1.17.11] [Headless Server] Server tries to migrate map without need

Posted: Thu Mar 14, 2019 3:45 am
by invisus
tehfreek wrote: Thu Mar 14, 2019 2:08 am There are probably stale files on the server install. Wipe it clean (the game server, not the whole server) and reinstall from scratch.
pazon123 wrote: Thu Mar 14, 2019 2:10 am It was a fresh install for 1.17.11 for today.
This does sound like similar issues I've seen posted previously, where the problem was indeed stales files after an upgrade. In those cases, the new files were copied over the old, rather than completely clearing the old installation before copying the new files.

Edit: Small correction to the version mentioned: 0.17.11 - Still experimental "alpha" game; hasn't hit v1.0.0 yet, etc.

Re: [1.17.11] [Headless Server] Server tries to migrate map without need

Posted: Thu Mar 14, 2019 3:29 pm
by pazon123
invisus wrote: Thu Mar 14, 2019 3:45 am This does sound like similar issues I've seen posted previously, where the problem was indeed stales files after an upgrade. I
I know there can't be stale files in his server, as this was his first time downloading and running a factorio server for his new machine (he had one previously on a different machine, but didn't transfer it)


Also I fixed all my version numbers, sorry for that!

Re: [0.17.11] [Headless Server] Server tries to migrate map without need

Posted: Thu Mar 14, 2019 6:58 pm
by Rseding91
Thanks for the report - this error means the *client* has stale files not the server.

Re: [0.17.11] [Headless Server] Server tries to migrate map without need

Posted: Fri Mar 15, 2019 1:56 pm
by pazon123
But that might be true, but when a fresh install of 17.11 server was installed, although I don't have the exact logs (I'll find them), It was attempting to do the same when trying to load the save. When my friend changed the name of migrations in the server, it properly loaded the save. He and I could not load into the server until we did the same. Do the experimental server builds have stale files?