wine-origin-updater icon indicating copy to clipboard operation
wine-origin-updater copied to clipboard

Ran the updater script, but Origin still thinks it's out of date

Open YamiYukiSenpai opened this issue 6 years ago • 24 comments

I installed Origin through Lutris, and even after running the script, Origin still thinks it's out of date.

I made sure it's not running in the background.

YamiYukiSenpai avatar Dec 14 '18 21:12 YamiYukiSenpai

I had this problem for a while, too. Eventually, it goes away. Does it keep trying to run the installer or just display a banner?

On Fri, Dec 14, 2018, 4:22 PM YamiYukiSenpai <[email protected] wrote:

I installed Origin through Lutris, and even after running the script, Origin still thinks it's out of date.

I made sure it's not running in the background.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DrDoctor13/wine-origin-updater/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ALJ3MQE6HRtBR-1zEw2UkseWPe6uL3mQks5u5BaYgaJpZM4ZUSgP .

DrDoctor13 avatar Dec 14 '18 21:12 DrDoctor13

Can confirm that Version 10.5.31 of Origin seems to have this issue for me as well. Looking at the source of updateorigin.sh I imagine the problem is upstream and origin have not published a fully patched .exe as their recent download version and are relying on people downloading then updating.

What happens after updateorigin.sh is run is

  • Screen comes up saying "Origin Requires an Update", with selections for Always keep Origin up to date, Update origin, or keep offline.
  • If either of the update options are selected the "Installing the latest version of origin" Screen comes up.
  • Once the progress bar finishes, origin closes.
  • The next time origin is run it is back to the "Origin requires an update" screen.

This has been happening for me for the last 4 days.

bytemech avatar Dec 15 '18 11:12 bytemech

Also experiencing this issue on Lutris using wine-4.0-rc7 (32-bit prefix). The script runs without error, and "does it's thing" (downloads Origin, unpacks the installer, and moves a bunch of files around). But, Origin still requests that I update. I'm running the script from within the Origin install directory.

AlexJDowson avatar Jan 23 '19 22:01 AlexJDowson

Origin is such a piece of crap. I installed it on a Windows VM, copied the installation files to my wine prefix and it won't log me in. I enter the right credentials and they ask me to send an email. Ok, no problem. I enter the right 2FA code, and it says that I can't login right now. Wow.

0xFFFFFFFFFFFFFFFFFF avatar Jan 25 '19 19:01 0xFFFFFFFFFFFFFFFFFF

I have same issue. "unzip ./OriginSetup.exe" in Origin directory fixed my problem

File OriginClientService.exe is different in root of "OriginSetup.exe" and in "update/OriginUpdate_10_5_34_21025.zip".

FiXIDeA avatar Jan 29 '19 11:01 FiXIDeA

Same issue. Also the solution from @FiXIDeA did not work for me unfortunately.

phrogg avatar Jun 21 '19 18:06 phrogg

Hi all, because my daughter bugged me for a day, i had time to debug and found the problem. The updateorigin.sh always downloads the latest version and some time in the past, origin enabled the option (local.xml) to allow Beta version to be installed. Here we are. The Installer tries to install an older version (10.5.41.27263) while the local version is newer (Beta but a total disaster: 10.5.42.27950 )! I did the following tto fix the problem as follows: 1.) Disable the BetaVersion flag in the local.xml file by: (Check your WINEPREFIX before continuing !) My local install is located in the home under Games/Origin so firtstly, i want to export the WINEPREFIX:

export WINEPREFIX=~/Games/origin

2.) Change to the ProgramData/Origin directory by:

cd $WINEPREFIX/drive_c/ProgramData/Origin/

3.) Edit the local.xml file usiong you favorite editor. I use vi. (vi local.xml) Be sure to disable the Beta Version installation

"<"Setting value="false" key="BetaOptIn" type="1"/">"

Save the file. 4.) Remove all but the localContent and the local.xml file by. Double check that you're are in the Origin dir by entering the command: pwd Should be:

/home/user/Games/origin/drive_c/ProgramData/Origin

Then:

mv local.xml LocalContent ../
rm -rf *
mv ../local.xml ../LocalContent .

5.) Now the version part. I found the update (with the right version) file in the Program directory of origin. (update) Decoded the xml and found the download link. Stay in the $WINEPREFIX/ProgramData/Origin directory. Of course you can do the unzip -o stuff, but i wanted to know what files will be changed so i used rsync for that part. Download, unzip and delete the temp dir afterwards. Check your origin version 64 or 32 bit: PATH32="drive_c/Program Files/Origin" PATH64="drive_c/Program Files (x86)/Origin" I have installed origin using 64 bit so here we go:

mkdir temp
cd temp
wget https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginUpdate_10_5_41_27263.zip
unzip -o OriginUpdate_10_5_41_27263.zip -d $WINEPREFIX/Program\ Files\ \(x86\)/Origin/

Now you have the right version installed. Remove the temp dir by issuing the commands:

cd ..
rm -rf temp

You're done Start lutris and then start Origin. We have cleared the cache, so you've to relogin. (First login) Now the games files will be verfied without errors but can take some time. Be sure to disable following settings: Disable Origin in Game Disable automatic updates Disable beta version installation Hope this helps

Best regards Franz

fskale avatar Jul 10 '19 20:07 fskale

@fskale nice answer, wouldn't it be easier to just do this: unzip -o OriginUpdate_10_5_41_27263.zip -d ../. Then it also would be unimportant which bit version you have.

phrogg avatar Jul 10 '19 20:07 phrogg

@fskale nice answer, wouldn't it be easier to just do this: unzip -o OriginUpdate_10_5_41_27263.zip -d ../. Then it also would be unimportant which bit version you have.

No, because as an expert, i want to point out how you can debug things and fix it step by step for the "no commandline" users. Also, you have to let origin to rebuild its cache by removing the debris of the beta version.

fskale avatar Jul 10 '19 20:07 fskale

Yeah man, I just meant to replace this one line. With this line: unzip -o OriginUpdate_10_5_41_27263.zip -d $WINEPREFIX/Program\ Files\ \(x86\)/Origin/. Nothing against your great tut. Just this one line.

phrogg avatar Jul 10 '19 20:07 phrogg

Yeah man, I just meant to replace this one line. With this line: unzip -o OriginUpdate_10_5_41_27263.zip -d $WINEPREFIX/Program\ Files\ \(x86\)/Origin/. Nothing against your great tut. Just this one line. The working dir is ProgramData/Origin, you'll want to extract the files to the program Directory. The data dir is only for storing cache data, updater residue and therefore is not the program installation destination.

fskale avatar Jul 10 '19 21:07 fskale

Ohh ok, I thought you wanted to create the temp directory in the game folder. Sorry then.

phrogg avatar Jul 10 '19 21:07 phrogg

@fskale Unless I'm wrong, it seems your situation is only for when Origin is receiving updates from the beta channel. This script only downloads stable updates and thus should only be run on stable installations of Origin.

It would be possible to tweak this script to pull beta updates from wherever Origin looks for them, but I don't have the time to do so right now. Origin is already volatile enough as is under Wine. If anyone else on this issue is using the beta version of Origin (admittedly, I should've asked which versions were being affected), I would advise switching to the stable release channel.

But thank you for looking into this with the depth that you did, @fskale.

DrDoctor13 avatar Jul 10 '19 22:07 DrDoctor13

@DrDoctor13 But the interesting thing is I don't think I signed up for any beta updates but still having this issue.

phrogg avatar Jul 10 '19 22:07 phrogg

If that's the case, the only cause I can think of is that EA accidentally pushed an update then removed it from their servers.

On Wed, Jul 10, 2019, 6:57 PM Phil Roggenbuck [email protected] wrote:

@DrDoctor13 https://github.com/DrDoctor13 But the interesting thing is I don't think I signed up for any beta updates but still having this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DrDoctor13/wine-origin-updater/issues/9?email_source=notifications&email_token=ACZHOMKWWUZOHJ23F7KCKIDP6ZSN5A5CNFSM4GKRFAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZU7RII#issuecomment-510261409, or mute the thread https://github.com/notifications/unsubscribe-auth/ACZHOMIV5P6CNISWPIQOYFDP6ZSN5ANCNFSM4GKRFAHQ .

DrDoctor13 avatar Jul 10 '19 23:07 DrDoctor13

If that's the case, the only cause I can think of is that EA accidentally pushed an update then removed it from their servers. On Wed, Jul 10, 2019, 6:57 PM Phil Roggenbuck @.***> wrote: @DrDoctor13 https://github.com/DrDoctor13 But the interesting thing is I don't think I signed up for any beta updates but still having this issue. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#9?email_source=notifications&email_token=ACZHOMKWWUZOHJ23F7KCKIDP6ZSN5A5CNFSM4GKRFAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZU7RII#issuecomment-510261409>, or mute the thread https://github.com/notifications/unsubscribe-auth/ACZHOMIV5P6CNISWPIQOYFDP6ZSN5ANCNFSM4GKRFAHQ .

Hi, the accidental pushing of the beta version took place between 03 and 09 July. My kids didn't check the beta option in the settings though. However, when it still doesn't work, check the client log located in the users folder under LocalSettings/Origin.

fskale avatar Jul 11 '19 05:07 fskale

@fskale Thank you, after Origin always crashing after the update yesterday i found this! And it helped!

spychodelics avatar Jul 14 '19 14:07 spychodelics

anyone checked this recently?? seems it's broken again . I can't login because the app thinks the client is outdated and none of this fixes worked for me.

Macribit avatar Sep 12 '19 22:09 Macribit

Someone on reddit has recommended a fix to me, but I have not had enough time to test it. Someone on Reddit sent me a fix I have not had time to test, I have directed them here.

DrDoctor13 avatar Sep 13 '19 17:09 DrDoctor13

I also had this issue again and can't really remember how I fixed it. Can you guys try these steps?

  • Launch Origin and choose that "update just for now" option
  • Wait for the Updater to disappear
  • Close all running wine applications
  • Navigate to the path $WINE_PREFIX/drive_c/ProgramData/Origin/SelfUpdate/
  • You should be able to see a directory called Staged
  • Copy and overwrite the content from this directory to your origin installation
  • Try launching Origin again, does it try to update again?
  • If so, try to manually set the Origin version in the windows registry
  • Close all running wine applications
  • Open regedit, navigate to HKEY_LOCAL_MACHINE\Software\Wow6432Node\Origin
  • Change ClientVersion to 10.5.46.29856

Please note that I am using a stable (not beta) build under a 64-Bit prefix. Also, Origin tells me after some time that it needs an update, but does not force me to (it is a message shown above my games library). You can simply ignore this.

0xFFFFFFFFFFFFFFFFFF avatar Sep 15 '19 10:09 0xFFFFFFFFFFFFFFFFFF

I also had this issue again and can't really remember how I fixed it. Can you guys try these steps?

  • Launch Origin and choose that "update just for now" option
  • Wait for the Updater to disappear
  • Close all running wine applications
  • Navigate to the path $WINE_PREFIX/drive_c/ProgramData/Origin/SelfUpdate/
  • You should be able to see a directory called Staged
  • Copy and overwrite the content from this directory to your origin installation
  • Try launching Origin again, does it try to update again?
  • If so, try to manually set the Origin version in the windows registry
  • Close all running wine applications
  • Open regedit, navigate to HKEY_LOCAL_MACHINE\Software\Wow6432Node\Origin
  • Change ClientVersion to 10.5.46.29856

Please note that I am using a stable (not beta) build under a 64-Bit prefix. Also, Origin tells me after some time that it needs an update, but does not force me to (it is a message shown above my games library). You can simply ignore this.

It works! Thank you!

FiXIDeA avatar Sep 15 '19 10:09 FiXIDeA

Works for me aswell. Thanks!

phrogg avatar Sep 15 '19 12:09 phrogg

Yes, thank you this worked today for me as well! I use 64-bit prefix and I tried to use the update script but Origin kept wanting to update and I couldn't get why. Now that I got it working I noticed that the update.zip file which the update script pulled was 10_5_63_37653 but the file which the Origin itself downloaded with kuba1909's method was actually 10_5_61_37414

HN2000 avatar Feb 09 '20 19:02 HN2000

"just this once" option did not work for me but automatically update works

proton 6.9 ge-2

nicman23 avatar Jun 03 '21 09:06 nicman23