-
Notifications
You must be signed in to change notification settings - Fork 790
unable to launch when installed from .deb in Ubuntu 24.04 #1102
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
Comments
i just noticed that there is no |
OK, made a discovery. i tried running from $ yarn dev
running Frappe Books in dev mode
root: /home/me/books
[28345:0128/131405.066574:FATAL:setuid_sandbox_host.cc(157)] 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 /home/me/books/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.
/home/me/books/node_modules/electron/dist/electron exited with signal SIGTRAP Here's what permissions/ownership for that file looks like: $ ls -al /home/me/books/node_modules/electron/dist/chrome-sandbox
-rwxr-xr-x 1 me me 52808 Jan 28 12:51 /home/me/books/node_modules/electron/dist/chrome-sandbox Then i found this comment, which says:
The comment goes on to show how to apply this exception to a single application So i tried disabling the sandboxing restriction, and now the binary launches: $ frappe-books
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
[34414:0128/133709.983686:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! Fwiw, i can also launch from yarn now, but the window didn't render. $ yarn dev
running Frappe Books in dev mode
root: /home/me/work/internal/projects/books
Debugger listening on ws://127.0.0.1:5858/5509f194-bf98-4465-9e4e-9407a9a522fb
For help, see: https://nodejs.org/en/docs/inspector
VITE v4.5.5 ready in 784 ms
➜ Local: http://127.0.0.1:6969/
➜ press h to show help
[...] Related threads:
|
This is what i have done for the time being:
Now i can launch it. |
I am sorry but I have been stuck in same problem for 3 days now and I have a question as I am facing same error as yours: What do you mean by AppImage? I did read the issue you referred us to but still didn't get how you applied it. The issue you used as a reference had the AppImage in their path, but our problem isn't in same path..??
|
@Moniaar each Frappe Books version has an AppImage file which can be downloaded from the Releases page. If you are following the instructions at #1102 (comment), you don't need to build with yarn. |
@smcoll thank you! I was able to run it on my ubuntu after adding this script in my package.json file and used npm start to view and npm start dist to build:
and as you said I didn't need yarn at all :)!. |
Uh oh!
There was an error while loading. Please reload this page.
i was running version 0.20.0 from a .deb in Ubuntu 22.04, but now i can't run it in Ubuntu 24.04.
i also tried the 0.24.0 and 0.26.1 debs and got the same result.
The text was updated successfully, but these errors were encountered: