Cyberpunk 2077 (epic): update stuck at 0%

I have a very interesting issue where the new 2.11 update asks for user input and can't proceed. Here is the log extract:
[01/02/2024, 01.17.36] LEGENDARY_CONFIG_PATH=/home/<user>/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary update Ginger -y
[cli] INFO: Game needs to be verified before updating, switching to repair mode...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Using existing repair file: /home/<user>/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary/tmp/Ginger.repair
You are about to install Cyberpunk 2077, this application supports selective downloads.
The following optional packs are available (tag - name):
* cn - (Language Pack) 中文(中国)
* de - (Language Pack) Deutsch
* es - (Language Pack) español (España)
* fr - (Language Pack) français
* it - (Language Pack) italiano
* ja - (Language Pack) 日本語
* ko - (Language Pack) 한국어
* pl - (Language Pack) polski
* pt - (Language Pack) português brasileiro
* ru - (Language Pack) русский
Please enter tags of pack(s) to install (space/comma-separated, e.g. "cn, de")
Leave blank to use defaults (only required data will be downloaded).
Additional packs [Enter to confirm]:
[01/02/2024, 01.17.36] LEGENDARY_CONFIG_PATH=/home/<user>/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary update Ginger -y
[cli] INFO: Game needs to be verified before updating, switching to repair mode...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Using existing repair file: /home/<user>/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary/tmp/Ginger.repair
You are about to install Cyberpunk 2077, this application supports selective downloads.
The following optional packs are available (tag - name):
* cn - (Language Pack) 中文(中国)
* de - (Language Pack) Deutsch
* es - (Language Pack) español (España)
* fr - (Language Pack) français
* it - (Language Pack) italiano
* ja - (Language Pack) 日本語
* ko - (Language Pack) 한국어
* pl - (Language Pack) polski
* pt - (Language Pack) português brasileiro
* ru - (Language Pack) русский
Please enter tags of pack(s) to install (space/comma-separated, e.g. "cn, de")
Leave blank to use defaults (only required data will be downloaded).
Additional packs [Enter to confirm]:
Anyone know how to get this to continue?
9 Replies
rival-black
rival-black16mo ago
you would have to run this through terminal (with LEGENDARY_CONFIG_PATH env variable) i think that's the easiest and best way to resolve this i have never seen this message before, so it might be a rare one
plain-purple
plain-purpleOP16mo ago
thanks for the reply... I assume I have to run this (after setting the env variable): /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary update Ginger -y but do you know where that is relative to the Flatpack install?
like-gold
like-gold16mo ago
Access flatpak container with bash: flatpak run --command=bash com.heroicgameslauncher.hgl Then do legendary update Ginger -y
rival-black
rival-black16mo ago
didn't notice that it was flatpak whoops
plain-purple
plain-purpleOP16mo ago
oh ok... didn't know you can enter the flatpack container like that... but now I get this error even though I'm logged in to Epic in the Heroic launcher:
[📦 com.heroicgameslauncher.hgl ~]$ legendary update Ginger -y
Traceback (most recent call last):
File "legendary/cli.py", line 3149, in <module>
File "legendary/cli.py", line 3066, in main
File "legendary/cli.py", line 829, in install_game
File "legendary/core.py", line 254, in login
File "legendary/core.py", line 190, in _login
ValueError: No saved credentials
[4] Failed to execute script 'cli' due to unhandled exception!
[📦 com.heroicgameslauncher.hgl ~]$ legendary update Ginger -y
Traceback (most recent call last):
File "legendary/cli.py", line 3149, in <module>
File "legendary/cli.py", line 3066, in main
File "legendary/cli.py", line 829, in install_game
File "legendary/core.py", line 254, in login
File "legendary/core.py", line 190, in _login
ValueError: No saved credentials
[4] Failed to execute script 'cli' due to unhandled exception!
I figured it out... I just had to run legendary auth from within the container, apparently they don't share credentials thanks for the help! it's updating now 🥳 yeah sooo... I celebrated way too soon... it appears that Heroic hasn't picked up on the fact that the update happened from the CLI and it's still stuck updating the game which makes me wonder... what got updated from the CLI? Did I re-download the whole game again?
correct-apricot
correct-apricot16mo ago
you can easily import it in Heroic ah that's an update
plain-purple
plain-purpleOP16mo ago
yeah it turns out it re-downloaded the whole game in the Flatpack folder (as in the applications specific folder under ~/.var/app)
rival-black
rival-black16mo ago
they should share credentials you need the LEGENDARY_CONFIG_PATH env that i was talking about earlier
plain-purple
plain-purpleOP16mo ago
well too late for that... I had to manually remove it from the installed.json config file since Heroic would keep trying to update it even though I told it to uninstall the game and also manually deleted the files... now I'm re-installing it well for posterity, if anyone stumbles onto this issue in the future... the correct order of operations was: Access flatpak container with bash: flatpak run --command=bash com.heroicgameslauncher.hgl Set the environment variable for legendary config (replace <user> with your user): LEGENDARY_CONFIG_PATH=/home/<user>/config/heroic/legendaryConfig/legendary Then do legendary update Ginger -y

Did you find this page helpful?