You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAsar makes Discord (flatpak) unable to open on Linux #244
On Fedora 44 with Gnome using the latest Discord flatpak, Discord fails to open when OpenAsar is installed.
Here's the end of the output log :
[OpenAsar > BuildInfo] {
releaseChannel: 'stable',
sentryDist: 'stable-linux-x64',
sentryRelease: 'discord-desktop-195d6792dfb9fdaa1380c959f2f57f6cb46518bf',
version: '1.0.141',
newUpdater: false,
localModulesRoot: '/app/discord/modules'
}
Gtk-Message: 20:50:37.913: Failed to load module "pk-gtk-module"
Gtk-Message: 20:50:37.914: Failed to load module "pk-gtk-module"
[7:0608/205037.922021:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:0608/205037.922075:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
(node:7) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, mkdir '/app/discord/modules/pending'
at Object.mkdirSync (node:fs:1363:26)
at mkdir (/app/discord/resources/_app.asar/updater/moduleUpdater.js:1:297)
at exports.init (/app/discord/resources/_app.asar/updater/moduleUpdater.js:1:1388)
at startUpdate (/app/discord/resources/_app.asar/bootstrap.js:1:3065)
(Use Discord --trace-warnings ... to show where the warning was created)
(node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
WARNING: radv is not a conformant Vulkan implementation, testing use only.
Thank you!
Reacted by Luma, Alice Lia Stapleton, Angel, Vinh, Dodo, Whayme, Adrien, Barney, Hesara Thalgaspitiya, Smiles and 3 more
I reproduced this on two Fedora Flatpak Discord installations using Vencord + OpenAsar. The download/injection chain was intact; startup failed in ModuleUpdater.init() while cleaning ${modulesPath}/pending. With module updates skipped under Flatpak, that path can legitimately be absent, but the unconditional recursive rmSync throws ENOENT before Discord reaches the UI.
Making that cleanup idempotent fixed startup after fully restarting the existing Discord process:
I repacked the current OpenAsar nightly with only this source change, reinstalled it on both systems, and verified the Vencord/OpenAsar archive chain on both.
Activity
philip015 commentedon Jun 22, 2026
install discord though rpmfusion and it'll work fine
PaulRicharte commentedon Jun 25, 2026
Can confirm OpenAsar works using rpm version of Discord thank you!
[-]OpenAsar makes Discord unable to open on Linux[/-][+]OpenAsar makes Discord (flatpak) unable to open on Linux[/+]DarkPhilosophy commentedon Jul 22, 2026
I reproduced this on two Fedora Flatpak Discord installations using Vencord + OpenAsar. The download/injection chain was intact; startup failed in
ModuleUpdater.init()while cleaning${modulesPath}/pending. With module updates skipped under Flatpak, that path can legitimately be absent, but the unconditional recursivermSyncthrowsENOENTbefore Discord reaches the UI.Making that cleanup idempotent fixed startup after fully restarting the existing Discord process:
I repacked the current OpenAsar nightly with only this source change, reinstalled it on both systems, and verified the Vencord/OpenAsar archive chain on both.