Localwp crashes on Ubuntu

I upgraded LocalWP to the latest version, it crashes when I try to open it.


What steps can be taken to replicate the issue?

1- Install LocalWP on Ubuntu 24.04.2 LTS
2- It will open, first time.
3- Restart Ubuntu
4- Now LocalWP will crash


System Details

  • Local Version:
    Local 10.1.1

  • Operating System (OS) and OS version:
    Ubuntu 24.04.2 LTS


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
crash.zip (1.9 MB)


Is it still working normally if you downgrade back to the previous release @josf? I’m checking with our Devs on this as I don’t have an Ubuntu setup to test. Thank you for your patience and communication with us here!

I did do that, it works fine. Still, I’d like to keep it up to date.

Thanks for your logs and the crash file, @josf. The stack trace decoded shows:

FATAL: sandbox/linux/suid/client/setuid_sandbox_host.cc:166
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 /opt/Local/chrome-sandbox is owned by root and has mode 4755.

I wasn’t able to reproduce this with Local 10.1.1 under Ubuntu 24.04.4, but it seems to be a known apparmor issue specific to Ubuntu 24 and Electron apps in some cases: [Bug]: The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. · Issue #42510 · electron/electron · GitHub

You could try quitting Local 10.1.1 after the first launch, then running these commands:

sudo chown root /opt/Local/chrome-sandbox
sudo chmod 4755 /opt/Local/chrome-sandbox