Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Linux installer doesn't run out of the box on Ubuntu 24.04 #379

Open
2 tasks done
wyphan opened this issue Jun 4, 2024 · 4 comments
Open
2 tasks done

[Bug] Linux installer doesn't run out of the box on Ubuntu 24.04 #379

wyphan opened this issue Jun 4, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@wyphan
Copy link

wyphan commented Jun 4, 2024

Before Reporting

  • I found no existing issues matching my bug
  • My issue is not caused by a plugin or theme

Describe the Bug

The Linux AppImage installer fails to run on a base amd64 installation of Ubuntu Linux 24.04 LTS. Here is the error message:

$ ./BetterDiscord-Linux.AppImage 
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

This is because by default Ubuntu 22.04 comes with libfuse3.so.3 instead, from the libfuse3-3 package.

For now, the missing shared library can still be installed using sudo apt install libfuse2t64. It might be helpful to document this extra step.

Also, I haven't checked whether this is specific to Ubuntu, or it came from upstream Debian. It might also affect recent versions of other distros.

Expected Behavior

AppImage binary should work out of the box.

Steps To Reproduce

  1. Download the installer from the official project website
  2. Mark it as executable with chmod +x
  3. Try to execute it.

Operating System

Linux

Discord Version

Stable

BetterDiscord Version

N/A

Anything else?

No response

@wyphan wyphan added the bug Something isn't working label Jun 4, 2024
@wyphan
Copy link
Author

wyphan commented Jun 4, 2024

Oh, turns out, installing the libfuse2t64 package still doesn't fix the problem 😂

Now the error message goes like:

$ ./BetterDiscord-Linux.AppImage 
[90380:0604/170300.295693:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_BetterQQY0SY/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

@Huderon
Copy link

Huderon commented Jun 4, 2024

afaik that's a Debian issue. I assume you've found it, but you should be able to just run the AppImage with the --no-sandbox flag

@wyphan
Copy link
Author

wyphan commented Jun 5, 2024

Do you think it has something to do with AppArmor? I remember I had to tweak something before protontricks would work for me on this system.

@Huderon
Copy link

Huderon commented Jun 5, 2024

I'm a bit of a dummy, so I don't really understand it all, but you can read up on the cause here

@zerebos zerebos transferred this issue from BetterDiscord/BetterDiscord Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants