I tried to update from 1.1.104 for 1.1.106 but got the message
Update failed: Checking update packages failed: File D:/Factorio/Factorio normal/data/changelog-switch.txt has unexpected content
Restarting the game doesn't change this.
I added the logs of both game sessions and the mentioned file.
[1.1.104] Update failed: changelog-switch.txt has unexpected content
[1.1.104] Update failed: changelog-switch.txt has unexpected content
- Attachments
-
- changelog-switch.txt
- (7.36 KiB) Downloaded 52 times
-
- factorio-previous.log
- (41.35 KiB) Downloaded 57 times
-
- factorio-current.log
- (37.51 KiB) Downloaded 55 times
Re: [1.1.104] Update failed: changelog-switch.txt has unexpected content
The file is missing the two latest entries, but chances are other files are incomplete or missing as well.
You could download the zip install and replace your file with that one.
You could download the zip install and replace your file with that one.
Re: [1.1.104] Update failed: changelog-switch.txt has unexpected content
This is suspicious, i managed to reproduce that exact issue by using standalone 1.1.100 that was updated using built in updater to 1.1.104, and at that point when i enabled experimental updates it failed to update to 1.1.106. By using fresh, standalone 1.1.104, enabling experimental updates it correctly updates to 1.1.106.
Re: [1.1.104] Update failed: changelog-switch.txt has unexpected content
This should be fixed, the issue was that when I was making a set of "fat" update packages that were supposed to bring parity to all files to fix all of the updating trouble in the past, I seem to have thought that changelog-switch.txt is not included in the regular version. I have corrected this.
ovo
Re: [1.1.104] Update failed: changelog-switch.txt has unexpected content
Can you confirm this should be fixed? I just tried updating today from 106 to 107 and getting the same error:Sanqui wrote: ↑Wed Mar 27, 2024 6:03 pm This should be fixed, the issue was that when I was making a set of "fat" update packages that were supposed to bring parity to all files to fix all of the updating trouble in the past, I seem to have thought that changelog-switch.txt is not included in the regular version. I have corrected this.
Error Util.cpp:86: File /opt/factorio/data/changelog-switch.txt has unexpected content
Re: [1.1.104] Update failed: changelog-switch.txt has unexpected content
This is the headless version, correct? It should work now. Sorry for the trouble.
ovo
Re: [1.1.104] Update failed: changelog-switch.txt has unexpected content
Just tried again this morning and it still had an error, regarding a comma in the .json file. I was able to manually remove the comma's it was complaining about and got the update to work. Sharing the error snippet, but thank you for getting this done!!
Local player-data.json available, timestamp 1713803483\n 0.594 Info PlayerData.cpp:83: Cloud player-data.json unavailable\n 0.595 Factorio initialised\n 0.595 Info Updater.cpp:280: Applying update /tmp/core-linux_headless64-1.1.106-1.1.107-update-fix2.zip\n 0.596 Error Util.cpp:86: Error opening update package: JSON parser error in package metadata: Invalid comma before \'}\' at /tmp/core-linux_headless64-1.1.106-1.1.107-update-fix2.zip/info.json:29\n 0.625 Goodbye\n'