chia-blockchain icon indicating copy to clipboard operation
chia-blockchain copied to clipboard

[Bug] GUI Does not Load on Ubuntu 24.04 with Chia 2.3.0 from packaged installer

Open BrandtH22 opened this issue 3 months ago • 3 comments

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)

paste (6)

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

BrandtH22 avatar May 02 '24 17:05 BrandtH22

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: click_in_firefox

When a user double clicks in the downloads directory: double_click_in_folder

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.

BrandtH22 avatar May 02 '24 17:05 BrandtH22

Additional logs from a user who experienced this:

https://github.com/Chia-Network/chia-blockchain/assets/48610606/f709905a-d9bf-4065-b596-2e5bfd10b44c

opt_chia_chia-blockchain.1000.crash.txt

BrandtH22 avatar May 02 '24 19:05 BrandtH22

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

wjblanke avatar May 08 '24 16:05 wjblanke