etcher
etcher copied to clipboard
deb install ubuntu 24.04 ended up wrong, balena doesnt start
- 1.7.9
After upgrading to ubuntu 24.04 balena doesnt start. Got it working, but just to let you know.
PRETTY_NAME="Ubuntu 24.04 LTS" 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:25:01 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Notice I have upgraded to 24.04 recenty from another version
- What do you think should have happened:
I first clicked on icon: nothing happened on commandline balena-etcher-electron did nothing either
- What happened: nothing happened, except errors.
so some troubleshooting:
balena-etcher-electron
balena-etcher-electron: command not found
$ whereis balena-etcher-electron
balena-etcher-electron: /usr/bin/balena-etcher-electron
$ /usr/bin/balena-etcher-electron
bash: /usr/bin/balena-etcher-electron: No such file or directory
ls -all /usr/bin/balena-etcher-electron
lrwxrwxrwx 1 root root 50 apr 25 2022 /usr/bin/balena-etcher-electron -> /opt/balena-etcher-electron/balena-etcher-electron
$ /opt/balena-etcher-electron/balena-etcher-electron
bash: /opt/balena-etcher-electron/balena-etcher-electron: No such file or directory
$ ls -all /opt/balena-etcher-electron/balena-etcher-electron
ls: cannot access '/opt/balena-etcher-electron/balena-etcher-electron': No such file or directory
$ ls -all /opt/
total 32
drwxr-xr-x 6 root root 4096 mei 13 2023 .
drwxr-xr-x 23 root root 4096 jun 2 17:16 ..
drwxr-xr-x 6 root root 4096 mei 13 2023 Ardour-7.4.0
-rwxr-xr-x 1 root root 4930 mei 13 2023 Ardour-7.4.0.uninstall.sh
drwxr-xr-x 5 root root 4096 apr 25 2022 balenaEtcher
drwxr-xr-x 3 root root 4096 nov 21 2021 brave.com
drwxr-xr-x 5 root root 4096 dec 9 2022 sublime_text
the above shows links are placed wrong somehow.
So after finding the right binary, still some sandbox thing was wrong:
/opt/balenaEtcher/balena-etcher-electron
[10244:0726/100342.062330: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 /opt/balenaEtcher/chrome-sandbox is owned by root and has mode 4755.
/opt/balenaEtcher/balena-etcher-electron: line 10: 10244 Trace/breakpoint trap (core dumped) "${script_dir}"/balena-etcher-electron.bin "$@"
$ sudo chmod 4755 /opt/balenaEtcher/chrome-sandbox
Now it runs
/opt/balenaEtcher/balena-etcher-electron
[Axios v1.7.9] Transitional option 'clarifyTimeoutError' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.9] Transitional option 'forcedJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
So I fixed the link, but thought I would let you know.