-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Unable to Install Affine on Ubuntu 24.04 LTS Due to SUID Sandbox Configuration Issue #6722
Comments
Issue Status: 🆕 *Untriaged*🆕 Untriaged The team has not yet reviewed the issue. We usually do it within one business day. This is an automatic reply by the bot. |
As it is for now, affine appimage has to be integrated with AppImageLauncher for full functionalities, which I think manual installing fuse is no longer required TheAssassin/AppImageLauncher#394. I haven't seen the sandboxing issue before, but there is a long discussion at electron/electron#17972. It seems there are some workaround in there:
Looks like option 2 is something affine can do in the build process. In the meantime, can you try the first workaround? |
fix #6722 add `--no-sandbox --disable-setuid-sandbox` to appimage run
Thank you for your assistance and suggestions. I wanted to clarify that the issue I encountered with Affine on Ubuntu 24.04 LTS stems from the compatibility between AppImages and the FUSE versions. As highlighted in a recent article on OMG! Ubuntu, newer versions of Ubuntu, including 24.04 LTS, ship with FUSE v3, while AppImages require FUSE v2 to function properly. This explains the error message I received when trying to execute Affine, indicating the absence of libfuse.so.2. I followed your advice and installed libfuse2t64 using As a temporary workaround, I tried launching Affine with the Given these circumstances, I'm wondering if there are any further steps or alternative solutions we could explore to ensure a successful installation and execution of Affine on Ubuntu 24.04 LTS. Release app on Flatpak/Snapcraft maybe? |
My next step is to provide a snap package for ubuntu users, targeting next week. |
From toeverything/AFFiNE#6722 (comment) > Disable sandboxing entirely by launching with --no-sandbox. Adding this argument from JS is unfortunately insufficient, as the GPU process is launched before the main process JS is run. Ref: * electron/electron#17972
Love to heard that. I will close this issue because this problem already fixed. |
hey, still have the same issue and it is so bad that i have to add an strace before ./affine --no-sandbox or it does not work very well and crashes, checked everything but still... where can i find your package snap for ubuntu users ? |
What happened?
I am encountering difficulties installing Affine on my Ubuntu 24.04 LTS system. Following the download of the Affine program (affine-0.13.5-stable-linux-x64.appimage), I attempted to execute it using the following command:
./affine-0.13.5-stable-linux-x64.appimage
However, the installation process was interrupted by the following error message:
[18141:0428/091226.592669: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_affinegLhOEo/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped)
Steps to Reproduce:
Downloaded the Affine program (affine-0.13.5-stable-linux-x64.appimage) from the official source.
Executed the AppImage using the command mentioned above.
Expected Behavior:
Affine should have been installed and executed without any issues.
Actual Behavior:
The installation process halted, and the error message cited above was displayed.
Additional Context:
My Ubuntu 24.04 LTS system utilizes Fuse 3, whereas Affine requires Fuse 2 for proper execution.
In an attempt to resolve this issue, I installed libfuse2 as a dependency for Affine.
Despite installing libfuse2, the error persists, indicating a problem with the SUID sandbox helper binary configuration.
System Information:
Operating System: Ubuntu 24.04 LTS
Affine Version: 0.13.5
AppImage Architecture: x64
Proposed Solution:
It appears that the issue lies in the configuration of the SUID sandbox helper binary. I would appreciate any guidance or assistance in resolving this matter to successfully install and utilize Affine on my Ubuntu 24.04 LTS system.
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: