chia-blockchain
chia-blockchain copied to clipboard
[Bug] GUI Does not Load on Ubuntu 24.04 with Chia 2.3.0 from packaged installer
What happened?
Reproduction steps:
- clean install of ubuntu 24.04
- clean install of chia 2.3.0
- attempt to load the chia gui (no effect from clicking the gui icon, below image is from chiaminejp and uses the cli to run the GUI)
Workaround, thank you chiaminjp!!:
run sudo chmod 4755 /opt/chia/chrome-sandbox
then launch the GUI
Version
2.3.0
What platform are you using?
Linux
What ui mode are you using?
GUI
Relevant log output
No response
Note, on ubuntu 24 there is no native GUI software for installing chia. Previous versions of ubuntu had the Software Installer application which could be used but ubuntu 24 replaces this with the app store which does not support the .deb files.
When a user clicks on the downloaded file in firefox:
When a user double clicks in the downloads directory:
Current workarounds-
GUI: install the gnome software package manager and use that to install the deb
CLI: use dpkg sudo dpkg -i ./chia-blockchain_2.3.0_amd64.deb or use the apt package manager to install the deb sudo apt install ./chia-blockchain_2.3.0_amd64.deb NOTE - this is really not a workaround for the deb package as apt will actually install the apt package instead so one can just run sudo apt install chia-blockchain without ever downloading the deb and have the same result.
Additional logs from a user who experienced this:
https://github.com/Chia-Network/chia-blockchain/assets/48610606/f709905a-d9bf-4065-b596-2e5bfd10b44c
This is in the rpm in electron-builder.js
"--rpm-attr=4755,root,root:/opt/chia/chrome-sandbox",
but not in the deb
Ubuntu 24 must have done something to need this now so we should add it to the deb
Fixed in 2.4.0