#Launcher hangs on "Checking for launcher update"
1 messages · Page 1 of 1 (latest)
Any idea where that could come from? I'm willing to investigate but I have no starting point.
VPN?
I do use a VPN but I disconnected from it, deleted the folder and tried again. Same issue.
@undone palm is pro in finding/solving these issues normally
maybe some anti-vir preventing it to store/save it locally?
did you install it for a user, or for the machine?
if you did user, try reinstalling for machine
or vice versa
No anti-vir, I installed as a user (launching the appimage)
Not sure what installing for machine would be in this context, I mean I'm not going to run it as root.
You're linux user so you don't have this option
Per machine makes it install in program files and per user makes it install it in user folder which no other non-admin user on the computer can access.
Honestly i'm clueless on this one if it just hangs without any error
iirc this stage is downloaded from github releases but i could be wrong.
Is there a way to enable more detailed logging to see exactly what hangs?
I tried looking up what this step does but no luck: https://github.com/search?q=org%3Abeyond-all-reason+"launcher_update"&type=code
this is what it should be trying to download https://github.com/beyond-all-reason/BYAR-Chobby/tags
at stage 5
are you running the latest appimage?
1.1861.0
@dreamy shore
from what i understand you don't "install" the appimage on Linux, you just run it as an app and it just leaves the files it creates somewhere...
right?
Yes that is right
anyway, if it's not latest, get latest.
https://github.com/beyond-all-reason/BYAR-Chobby/releases/tag/v1.1861.0
it's possible that the website link is pointing to previous one
but even if...
it should just get the latest one after you run it...
I'll try with the appimage from github
I'm sorry my only experience with linux is a few days of Mint that i've spent to set up a potato laptop for my parents TV 😄
It's all good, I'm grateful you are trying to help at all 🙂
I'm not gonna lie Mint feels good tho a newcomer to this world. Give me full compatibility with all the windows apps and i'm switching to linux without hesitation.
but that's offtopic
Well, I'm full on neckbeard at this point, going for obscure distros :p
Situation is the same with the appimage from github (which makes sense they are unsurprisingly the same file)
allright so it's not even trying to update
can't even check if it needs to update
that's... interesting
your obscure distro missing or blocking something? 😄
I've tried to check which DNS requests are made just in case and they all resolve fine
A good chunck of the filesystem is read only but nothing in the home directory
And network wise nothing should be blocked
but it's odd either way, we have quite a lot of Linux users here and that's a first
I'd like to avoid Flatpak if at all possible
Do you know where is the code for that part?
most likely here
https://github.com/beyond-all-reason/spring-launcher
it's reading configs from another repo tho
might also be here...
https://github.com/beyond-all-reason/pr-downloader
and this is the lobby, that also stores configs...
https://github.com/beyond-all-reason/BYAR-Chobby
💀
Not as simple as I hoped haha
I already tried looking up strings from the log but I don't find anything:
Checking for config update from: https://launcher-config.beyondallreason.dev/config.json...
Config files are identical
Step: {
"name": "launcher_update"
}
Checking for launcher update
if it reached step 5 then all the other downloads seem to work
is your appimage file in some weird place in the filesystem maybe?
i don't know how that filesystem works 😄
on windows i just have some folders that need admin permissions and that's it
No it is just in my Downloads folder
i can only guess at this point
The weirdest is that all steps before that work fine
exactly
I found the relevant code (once again I'm remembered that github search is broken): https://github.com/beyond-all-reason/spring-launcher/blob/master/src/launcher_wizard.js#L178
What I gather is that https://www.electron.build/auto-update doesn't emit the events that it should.
Now I'm in the middle of JS black magic. I'll just sleep on it and dig deeper tomorrow 🙂
did you ever end up solving this? i have the same issue. i extracted the appimage (./Beyond-All-Reason-1.1861.0.AppImage --appimage-extract) and ran ./AppRun. i glanced at the strace, which might be too low-level to debug this, and saw various recvmsg syscalls getting EAGAIN on some netlink file descriptor.
Checking for launcher update is contacting GitHub to check for updates
so exactly what you figured out
Alternative is to use flatpak
When you use flatpak, this step doesn't exist
because update is fetched via flatpak
If there is some bug there, it's the most likely bug in the electorn builder updater
You can actually also avoid this by changing the (Beyond All Reason instlall path)/launcher_cfg.json and setting auto_download to false
That way you only avoid automatically starting update. You have to be able to run update to install game files first time and then to update lobby, engine etc.
Yes, but that does happen successfully
Its just the launcher that fails to update (but you already have the latest version from the appimage I imagine)
ok, for me the problem goes away if i properly run the AppImage. doh!
originally, i didn't have fuse installed on my system, and the error output said i might be able to extract the image with the --appimage-extract option. that worked, and i was able to manually run ./AppRun in the squashfs directory. however, the launcher_update would silently hang.
i installed fuse (libfuse.so.2, not the newer libfuse.so.3) and didn't do the appimage-extract, and the launcher_update worked. my guess is there's either some parameters that I should have passed to ./AppRun (nothing obvious though) or something else set up by the actual AppImage: perhaps some network gofer on the other side of the socket i saw? (sandboxing stuff, perhaps).
anyway, if you get this issue, try not running ./AppRun directly. =)
for any other linux people who stumble on this post, i also needed to install openal in addition to fuse. for gentoo linux, i installed them like so: emerge -avq sys-fs/fuse:0 media-libs/openal
Ah, well 🤷♂️