question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli resolve symlinks /opt/balenaEtcher/balena-etcher-electron

See original GitHub issue
  • Etcher version: 1.5.76 deb-install
  • Operating system and architecture: linux mint 19.3 amd64
  • Image flashed:—
  • Do you see any meaningful error information in the DevTools?—

the deb-file install is missing to resolve symlinks at /opt/balenaEtcher/balena-etcher-electron

which leads to error-messages if using the cli:

demo@mint-19-3-cinnamon-64bit:~$ balena-etcher-electron 
/usr/bin/balena-etcher-electron: line 3: /usr/bin/balena-etcher-electron.bin: No such file or directory

you should resolve symlinks at the shell script wrapper - like this:

#!/bin/bash
#bugfix resolve symlinks, orcus 2020-05-01
o_p=$(readlink $BASH_SOURCE)
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
  "${o_p%/*}"/balena-etcher-electron.bin "$@"
else
  "${o_p%/*}"/balena-etcher-electron.bin "$@" --no-sandbox
fi

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
thundroncommented, Jul 2, 2020

@lurch can you try again now? I think I found the issue, it was a naming convention gone wrong

2reactions
orcus-decommented, May 4, 2020

cool - thx for the prompt response - added it to my notes / will share it (I should probably have mentioned that I am not an real user of Balena Etcher, but noticed the issue while doing support at the #linuxmint-help irc help-channel => just sharing the observation and the underlying reason)

cheers orcus

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command line option - balenaEtcher - balena Forums
Is it possible to run Etcher via command line? Give the program the location of the image and the drive of the micro...
Read more >
How to Install and Use balenaEtcher on Debian 11 (Bullseye)
Now you can install balenaEtcher package by using sudo apt-get install balena-etcher-electron command as shown below. This will download and ...
Read more >
Ubuntu - Run executable with customized name from anywhere
1. Run this app with my own command like etcher instead of entering ./balena-etcher-electron. Then simply rename balena-etcher-electron to ...
Read more >
How To Install Etcher On Debian 10 - Blog - ElderNode
It is developed by balena and ay face it is called balenaEtcher too. ... To start the process of installing Etcher on Debian...
Read more >
Balena Etcher Won't Launch SOLVED - Linux.org
After downloading balenaEtcher to my Downloads directory and extracting it the ... mount_balenaGPQI88/balena-etcher-electron: line 10: 6088 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found