[0.17.5-0.17.6] Failed to migrate map when joining multiplayer game

Bugs that are actually features.
jaboyne
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Mar 06, 2019 9:24 pm
Contact:

[0.17.5-0.17.6] Failed to migrate map when joining multiplayer game

Post by jaboyne »

I've tried to join a multiplayer game twice and gotten a "failed to apply migration" for the 2018-08-03_Factorio_0.17.0.lua migration. If I delete this and all migrations with a later date in the name, I can join the game fine. I didn't try only deleting the one failing migration.

I am playing on the non-steam Windows x64 zip version downloaded from factorio.com. To install, I just unzipped it into a folder.

I've observed this in version 17.5 trying to connect to non-headless Windows game using a map that the hoster had migrated from 16.51. We did try having the hoster save the game from within the 17.5 version of factorio, exit and restart the game, and restart the hosted game using the map saved from within 17.5. Nothing worked until I deleted the migration files.
The next day, on a different machine with 17.6 installed, I tried to connect to a game that had a map newly generated for 17.6 and was running in headless mode (not sure if the server was Linux or Windows). I again had to delete the migration files before I could connect, but another user (using a Steam version) was able to connect just fine without having to perform any migration deletions.
User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 736
Joined: Sun Mar 13, 2016 9:48 am
Contact:

Re: [0.17.5-0.17.6] Failed to migrate map when joining multiplayer game

Post by DRY411S »

Confirmed me and others in multiplayer have had this issue. Workaround is to delete the migration scripts.
Bilka
Factorio Staff
Factorio Staff
Posts: 3619
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.5-0.17.6] Failed to migrate map when joining multiplayer game

Post by Bilka »

The only bug here is that you updated your installation incorrectly, probably by pasting the new files on top. This does not delete files that are removed in a newer version which leads to this error.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 736
Joined: Sun Mar 13, 2016 9:48 am
Contact:

Re: [0.17.5-0.17.6] Failed to migrate map when joining multiplayer game

Post by DRY411S »

Bilka wrote: Thu Mar 07, 2019 9:38 am The only bug here is that you updated your installation incorrectly, probably by pasting the new files on top. This does not delete files that are removed in a newer version which leads to this error.
Indeed, I don't know how I forgot to add that. :)
jaboyne
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Mar 06, 2019 9:24 pm
Contact:

Re: [0.17.5-0.17.6] Failed to migrate map when joining multiplayer game

Post by jaboyne »

Thank you for the information.

Yes, you're correct, I was just pulling the zip package and copying over the existing files. I'll be sure to delete the directories in my existing installs that are listed in the zip package when unzipping new builds going forward.
Post Reply

Return to “Not a bug”