#Launcher hangs on "Checking for launcher update"

1 messages · Page 1 of 1 (latest)

dreamy shore
#

Hello, I'm trying to play BAR for the first time, I used the AppImage launcher but it hangs on "Checking for launcher update" without more details in the log.

dreamy shore
#

Any idea where that could come from? I'm willing to investigate but I have no starting point.

lyric yew
#

VPN?

dreamy shore
#

I do use a VPN but I disconnected from it, deleted the folder and tried again. Same issue.

lyric yew
#

@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

dreamy shore
#

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.

undone palm
#

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.

dreamy shore
#

Is there a way to enable more detailed logging to see exactly what hangs?

undone palm
#

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?

dreamy shore
#

Yes that is right

undone palm
#

but even if...

#

it should just get the latest one after you run it...

dreamy shore
#

I'll try with the appimage from github

undone palm
#

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 😄

dreamy shore
#

It's all good, I'm grateful you are trying to help at all 🙂

undone palm
#

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

dreamy shore
#

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)

undone palm
#

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? 😄

dreamy shore
#

I've tried to check which DNS requests are made just in case and they all resolve fine

undone palm
#

well there's an alternative of Flatpak

#

if you're into that stuff

dreamy shore
#

A good chunck of the filesystem is read only but nothing in the home directory

#

And network wise nothing should be blocked

undone palm
#

but it's odd either way, we have quite a lot of Linux users here and that's a first

dreamy shore
#

I'd like to avoid Flatpak if at all possible

#

Do you know where is the code for that part?

undone palm
#

it's reading configs from another repo tho

#

💀

dreamy shore
#

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
undone palm
#

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

dreamy shore
#

No it is just in my Downloads folder

undone palm
#

i can only guess at this point

dreamy shore
#

The weirdest is that all steps before that work fine

undone palm
#

exactly

dreamy shore
#

Now I'm in the middle of JS black magic. I'll just sleep on it and dig deeper tomorrow 🙂

empty saffron
#

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.

tired anchor
#

Checking for launcher update is contacting GitHub to check for updates

tired anchor
#

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

rancid forge
#

You can actually also avoid this by changing the (Beyond All Reason instlall path)/launcher_cfg.json and setting auto_download to false

tired anchor
rancid forge
#

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)

empty saffron
#

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

tired anchor
#

Ah, well 🤷‍♂️