Installer
Installer copied to clipboard
[Bug] BD Installer hangs after "Downloading asar file"
Before Reporting
- [X] I found no existing issues matching my bug
- [X] My issue is not caused by a plugin or theme
Describe the Bug
Using the BetterDiscord app image on Fedora 39 it seems that every attempt at installing BetterDiscord leads to an installer hang. Running the app image through the terminal does not give any notable output, it just simply hangs. Sometimes it complains that it failed to download the package from the official website giving a 502 error, sometimes it just hangs while downloading the asar file.
Usual output before hanging
Downloading asar file
❌ Failed to download package from the official website
❌ Status code did not indicate success: 502
Falling back to GitHub...
Expected Behavior
Better discord installer works
Steps To Reproduce
- Download app image
- Run app image
- Go through install process
- See hang on install
Operating System
Linux
Discord Version
Stable
BetterDiscord Version
v1.3.0
Anything else?
Installer window is still responsive, it just stops doing anything.
I will open up a fedora VM momentarily to see if I can replicate the issue. Where did you get your Discord package from?
I will open up a fedora VM momentarily to see if I can replicate the issue. Where did you get your Discord package from?
I get it from the RPM fusion repos.
I don't know nothing about nothing, but adding any kind of delay before the fallback request seemed to fix it for me. Was only able to reproduce on Fedora though so maybe that's just bunk?
Same thing happens here but Downloading asar file ❌ Failed to download package from the official website ❌ Status code did not indicate success: 403 Falling back to GitHub...
Did the fallback to github not work in your case?
same issue for me on windows and the fallback to github doesnt work
same issue for me on windows and the fallback to github doesnt work
#368 is unrelated
I will open up a fedora VM momentarily to see if I can replicate the issue. Where did you get your Discord package from?
I get it from the RPM fusion repos.
I completely forgot to update the status on my testing for this issue. My Sincerest apologies. With the package mentioned installed, I was not able to replicate this issue. Perhaps I did not install the correct version of Fedora. My knowledge of what they produce is rather limited. However, From my knowledge of the installation process, it shouldn't be too hard to manually install BD either way.
You can try manually compiling the Asar or downloading it from the BetterDiscord repo. then you want to modify your discord installation and simply require
the downloaded Asar file in the desktop_discord_core index.js
This wont fix your installer issue, but it will get BD running on your system.