[0.16.49]Automatic updates - Update Fail

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.

[0.16.49]Automatic updates - Update Fail

Postby Avacado » Thu Jun 14, 2018 10:37 pm

For the last couple versions, I've been having trouble updating. I get the Error:

Code: Select all
Update failed
Error opening update package: File C:/Users/dan/Games/Factorio/Factorio_x64_0.16.49/Factorio_0.16.49/bin/x64/factorio.exe not found (operation not permitted)


So, I just tried to replicate my issue by downloading a brand new fresh copy of factorio 0.16.49 (MS Windows (64 bit zip package)), extracting it, running it, logging in, enabling experimental updates, closing it, opening it, selecting update now, and then BAM, getting the same error with a brand new fresh copy. The green bar does fill up the whole way before giving me the error.

The location of the factorio executable listed in the error message is the exact spot where the factorio.exe file is (I double checked by pasting that address into my explorer window, which opens factorio).

One of the funny things is I run factorio on 2 computers, both of which only have user permissions (and not admin), but one computer updates fine and the other hasn't been able to update since at least 0.16.45, maybe much before. But even if that was the issue, shouldn't it just prompt me for admin access? Anyway, running it in admin mode doesn't help either, so I'm really not sure how to replicate this other then it occurs for brand new fresh copy of factorio, but only on one of my two computers.
Avacado
Long Handed Inserter
Long Handed Inserter
 
Posts: 72
Joined: Fri Jul 22, 2016 3:17 pm

Re: [0.16.49]Automatic updates - Update Fail

Postby Loewchen » Thu Jun 14, 2018 10:42 pm

As you can reproduce the issue, you could check if this is still the case if you deactivate your anti virus software.
And post your log after a session with the issue please.
Loewchen
Global Moderator
Global Moderator
 
Posts: 4500
Joined: Wed Jan 07, 2015 5:53 pm

Re: [0.16.49]Automatic updates - Update Fail

Postby Avacado » Thu Jun 14, 2018 11:33 pm

Hi,

I turned off my virus scanner (which was just windows defender, so I turned off real-time protection) and still have the same error message.

I've attached my log file.

Thanks!
Attachments
factorio-current.log
(3.91 KiB) Downloaded 9 times
Avacado
Long Handed Inserter
Long Handed Inserter
 
Posts: 72
Joined: Fri Jul 22, 2016 3:17 pm

Re: [0.16.49]Automatic updates - Update Fail

Postby Dune » Fri Jun 15, 2018 12:52 am

this has been reported (at least) twice before, the same error, but is moved to "won't fix" or "not a bug".

60761 and 60869

I've had this happen on each update for the last several as well. To fix, after getting the error, I've found copying the Factorio.exe from the factorio/temp directory, to factorio/bin/x64 and then executing it and running the update again - works.
Dune
Long Handed Inserter
Long Handed Inserter
 
Posts: 81
Joined: Tue Dec 12, 2017 4:27 am

Re: [0.16.49]Automatic updates - Update Fail

Postby orzelek » Fri Jun 15, 2018 8:47 am

Is it possible that Factorio's updater fails to wait long enough until game shutdowns?
That would explain significant amount of people encountering this issue.
orzelek
Smart Inserter
Smart Inserter
 
Posts: 3234
Joined: Fri Apr 03, 2015 10:20 am

Re: [0.16.49]Automatic updates - Update Fail

Postby Rseding91 » Fri Jun 15, 2018 9:53 am

orzelek wrote:Is it possible that Factorio's updater fails to wait long enough until game shutdowns?
That would explain significant amount of people encountering this issue.


The updater should wait until the process stops existing. Unfortunately there's nothing we can do without a way to reproduce the problem (which nobody seems to have).
If you want to get ahold of me I'm almost always on IRC and Discord.
Rseding91
Factorio Staff
Factorio Staff
 
Posts: 7692
Joined: Wed Jun 11, 2014 5:23 am

Re: [0.16.49]Automatic updates - Update Fail

Postby Dune » Fri Jun 15, 2018 8:29 pm

Rseding91 wrote:The updater should wait until the process stops existing. Unfortunately there's nothing we can do without a way to reproduce the problem (which nobody seems to have).


Until I figured out that I could copy the Factorio.exe from the factorio/temp directory, I had to re-download & install from the website. I use the zip version, not the installer since I have multiple installs. Vanilla, mods, previous "stable" versions. I'm guessing, I could download any previous than the current version, install it then click 'about" then "check for updates" and then install the update, and I'd get the same problem.

testing my theory - Steps to reproduce

1) navigate to https://factorio.com/download/experimental
2) download alpha 16.49
3) 7-zip, unzip to desktop (i'm including my zip program, just in case that makes any difference). It's faster than the standard windows zip.
4) navigate to folder/bin/x64 - run, login to enable updates. Click About, Check Updates, and... none found (weird). I might need to restart factorio.

pic
Image


- restarted the game, and still no updates found. The website shows up through 16.51 available.

2) (again) downloading alpha 16.48
3) same
4) same, again no updates

pic
Image


Guess I can't reproduce either if the game doesn't admit there are updates available.
Dune
Long Handed Inserter
Long Handed Inserter
 
Posts: 81
Joined: Tue Dec 12, 2017 4:27 am

Re: [0.16.49]Automatic updates - Update Fail

Postby Zavian » Fri Jun 15, 2018 8:56 pm

From memory, a clean install doesn't have experimental updates enabled. (And 0.16.5x is still experimental).
Zavian
Filter Inserter
Filter Inserter
 
Posts: 978
Joined: Thu Mar 02, 2017 2:57 am

Re: [0.16.49]Automatic updates - Update Fail

Postby Dune » Fri Jun 15, 2018 11:56 pm

Zavian wrote:From memory, a clean install doesn't have experimental updates enabled. (And 0.16.5x is still experimental).

Okay, thanks. It's always been enabled for me, but then I've copied in any config files. So I wasn't prepared for that. Just modified the config file in factorio/config to enable experimental releases, and it asked to update when factorio was run. I'll report back after checking if the problem is duplicatable.
Dune
Long Handed Inserter
Long Handed Inserter
 
Posts: 81
Joined: Tue Dec 12, 2017 4:27 am

Re: [0.16.49]Automatic updates - Update Fail

Postby Dune » Sat Jun 16, 2018 12:10 am

Okay, I tested this with version 16.48 & 16.49 (since I'd downloaded both earlier) with the same results.

Steps to reproduce

1) navigate to https://factorio.com/download/experimental
2) download alpha 16.48
3) 7-zip, unzip to desktop (i'm including my zip program, just in case that makes any difference). It's faster than the standard windows zip.
4) modify file factorio/config/config to enable experimental release
5) navigate to folder/bin/x64 - run, login to enable updates.
6) Click About, Check Updates, and Update

The following are screenshots of the failed update. If there's anywhere permissions should be okay, it'd be the desktop. So it's really weird that it doesn't work. Other than if you get the error "file in use" from within the program code.

Image
Image
Image
Dune
Long Handed Inserter
Long Handed Inserter
 
Posts: 81
Joined: Tue Dec 12, 2017 4:27 am

Re: [0.16.49]Automatic updates - Update Fail

Postby orzelek » Sat Jun 16, 2018 7:49 am

It's pretty strange tbh.
You can try to troubleshoot a bit more using this app:
https://docs.microsoft.com/en-us/sysint ... ds/procmon

With Process Monitor you should be able to filter by factorio.exe and see what applications/processes are accessing the file.
It might help locating the culprit (game itself or some other app etc).
orzelek
Smart Inserter
Smart Inserter
 
Posts: 3234
Joined: Fri Apr 03, 2015 10:20 am


Return to Pending

Who is online

Users browsing this forum: No registered users and 1 guest