Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Error with Catalina: Etcher can't read image file, throws error. #2933

Closed
LazyHRanch opened this issue Oct 14, 2019 · 48 comments
Closed

Comments

@LazyHRanch
Copy link

Recently upgraded to macOS Catalina and found Etcher not working. I get an error:
"Something Went wrong. If it is a compressed image, please check that the archive is not corrupted."

I know it's not the image because I'm using the same images that I used in the previous MacOS version and I verified it on a PC that the image is OK. I also tried a couple of different images to make sure it wasn't related to a specific image.

I noticed that I had to "Open" Etcher twice after installing to get through the warnings but then it opened up just fine. Amy suggestions or is anyone else seeing this error?

@LazyHRanch LazyHRanch changed the title Etcher not opening up burn images on Catalina MacOS Error with Catalina: Etcher can't read image file, throws error. Oct 14, 2019
@lurch
Copy link
Contributor

lurch commented Oct 14, 2019

Duplicate of #2833 ?

@LazyHRanch
Copy link
Author

LazyHRanch commented Oct 14, 2019

It looks like that issue (#2833) is with opening Etcher directly. I can get Etcher to run but when I try to write to the SD card is when I'm getting the above error. And yes it does ask for permissions when starting the burn process.
Etcher

@lurch
Copy link
Contributor

lurch commented Oct 14, 2019

Sorry if I didn't understand your issue. I don't have a Mac myself, I was just pointing out that there are already "known problems" with running balenaEtcher on macOS Catalina.
Perhaps your error is indeed different.

@rouralberto
Copy link

Exactly the same happening here. Once you give permissions to the app to be executed, you go to flash any image and... fails with above screenshot message.

@taiansu
Copy link

taiansu commented Oct 15, 2019

I can confirm that this issue is a duplicate of #2833, which just also provides the error message in DevTools. In the thread, there is a temporary solution by launching etcher using CLI.

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

That solves the error showing the screenshot on this issue, on my machine, at least.

@SebiWolze
Copy link

I can confirm that this issue is a duplicate of #2833, which just also provides the error message in DevTools. In the thread, there is a temporary solution by launching etcher using CLI.

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

That solves the issue of the screenshot on this issue, on my machine, at least.

That worked for me.
Before I had the same issue like on the screenshots before.

@AegerBorder
Copy link

That worked for me.
Before I had the same issue like on the screenshots before.

Yep. Another confirmation here. Thanks for this workaround.

@majkassab
Copy link

I can confirm that this issue is a duplicate of #2833, which just also provides the error message in DevTools. In the thread, there is a temporary solution by launching etcher using CLI.

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

That solves the error showing the screenshot on this issue, on my machine, at least.

That worked for me. thx

@stephendwolff
Copy link

I had the same issue, and the fix worked for me too.

Even as sudo, the app asks for permission - this time though for 'access to a removable volume', rather than the username and password dialog. Perhaps one of the new 'entitlements' for macOS need to be added in the plist when building? Is there one for removable volumes?

@thundron
Copy link
Contributor

Closing as duplicate of #2833 , we have a PR open that will solve issues with macOS Catalina.
@stephendwolff Yes, we need to find the right entitlements for Etcher, as USB devices + a couple more don't seem to suffice for now

@AdvaitT17
Copy link

Worked for me as well! Thanks

@Aculisme
Copy link

Worked here too. Thanks!

@ygreq
Copy link

ygreq commented Feb 7, 2020

Can this bug be fixed, please?
The terminal command worked for me as well, btw

@lurch
Copy link
Contributor

lurch commented Feb 7, 2020

@ygreq I don't have a Mac myself, but from what I've read elsewhere I thought this bug was fixed? 🤷‍♂️
What version of Etcher are you using?

@ygreq
Copy link

ygreq commented Feb 7, 2020

I was using 1.5.59. I just updated to 1.5.76. And it works! Thank you for the heads up, lurch!!

@LanceHaverkamp
Copy link

As of March 2020, this is still not fixed in Linux. It asks for the root password, then fails.

@lurch
Copy link
Contributor

lurch commented Mar 20, 2020

@LanceHaverkamp I suggest you open a new issue and describe your problem in as much detail as possible.

@StefanoSGI
Copy link

+1 same issue reported in #2933 (comment) still happening on Mac OS Catalina 10.15.4 with Etcher v.1.5.83 trying to flash 2020-02-13-raspbian-buster-lite.img.

  • Pick image
  • Select target
  • Click Flash!
  • Enter password to authorize app
  • This appears:

Screenshot 2020-05-03 at 4 17 22 PM

@lurch
Copy link
Contributor

lurch commented May 4, 2020

@StefanoSGI Are you running on Catalina as a "non-admin" user? If so, does this summarise what you're experiencing?

@StefanoSGI
Copy link

@lurch the account I'm using is an Admin on my laptop.

@stevyhacker
Copy link

@StefanoSGI still happening, the same scenario with ubuntu images and its derivatives images on Mac OS Catalina latest and admin user account.

@stevyhacker
Copy link

stevyhacker commented Jun 8, 2020

Just tested the latest build 1.5.95 on Mac OS and it works fine now 😁

@ph00lt0
Copy link

ph00lt0 commented Jul 9, 2020

Unfortunately I have the same issue. Just installed lastest version, nothing seems to help, neither starting it through terminal.

@davidmgrantham
Copy link

davidmgrantham commented Jul 15, 2020

I having the same issue on build 1.5.101.
OS: MacOS Catalina 10.15.5

I also ran with sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher.

Error:

The writer process ended unexpectedly.
Please try again, and contact the Etcher
team if the problem persists.

@jazzi
Copy link

jazzi commented Aug 23, 2020

I had the same issue on build 1.5.45 and now problem solved after upgraded to build 1.5.104
OS: MacOS Catalina 10.15.6

@tomaspiaggio
Copy link

tomaspiaggio commented Sep 3, 2020

I am also experiencing the issue. I am running a Macbook Pro 15 on Catalina (10.15.6). I have been flashing lots of images these last two weeks and I experienced this issue multiple times, with multiple different images (from the top of my memory fedora 32, Debian 10). These are the logs I am getting:

Screen Shot 2020-09-02 at 22 47 28

I did not get into reading the code, but this might help somebody.

EDIT: switched to windows and can confirm that this problem only occurs on mac. Do not know if this is new information. Just thought could help.

@sscotth
Copy link

sscotth commented Sep 8, 2020

Same issue 1.5.106 w/ Catalina 10.15.6

sudo worked

@tazdrum73
Copy link

Catalina 10.15.6
BalenaEtcher 1.5.109

Same issue. Tried sudo and it did not work, but if I switch to root and start the app as root from cli it works.

@ghost
Copy link

ghost commented Sep 29, 2020

Yosemite OS

U need format flashdrive (FAT system with Disk Utility) before flash distro.
Otherwise it will give the same error... This is the trick!

tested with and without sudo...
sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

@canehusker
Copy link

I can confirm that this issue is a duplicate of #2833, which just also provides the error message in DevTools. In the thread, there is a temporary solution by launching etcher using CLI.

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

That solves the issue of the screenshot on this issue, on my machine, at least.

That worked for me.
Before I had the same issue like on the screenshots before.

Yes, that worked. Thank you. Running it from Mac (Catalina 10.15.6) kept failing.

@HelenGuohx
Copy link

I uncompressed the file in terminal to get the image. And The problem solved.
My OS version is macOS mojave 10.14.6
Etcher version is Version 1.5.109 (1.5.109)

@SamuelMiller
Copy link

Hello, I intermittently get the same error even when running with sudo privileges through the terminal in Catalina--at least half the time or more. Sometimes, restarting my computer solves it, sometimes not.

@sebastianfelipe
Copy link

I can confirm that this issue is a duplicate of #2833, which just also provides the error message in DevTools. In the thread, there is a temporary solution by launching etcher using CLI.

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

That solves the error showing the screenshot on this issue, on my machine, at least.

This man is a genius!

@PierreScerri
Copy link

I have done it as follows (on MacOS Catalina 10.15.3):

Launch Disk Utility
Format destination drive (FAT32 - GUID)
Unmount the drive.
Launch Balena Etcher normally.
Flash normally.

I have followed this sequence on 2 drives that were giving the error.

Hope it helps

@AlexanderJGomez
Copy link

I have done it as follows (on MacOS Catalina 10.15.3):

Launch Disk Utility
Format destination drive (FAT32 - GUID)
Unmount the drive.
Launch Balena Etcher normally.
Flash normally.

I have followed this sequence on 2 drives that were giving the error.

Hope it helps

Tried running with sudo command but did not work. Unmounting the drive fixed it for me, thanks!

@almolinagithub
Copy link

The above worked for me too.

@maslaral
Copy link

The above worked for me. Except in addition to unmounting the drive, I had to launch Etcher via the command line with sudo.

@mhazley
Copy link

mhazley commented Nov 27, 2020

@AlexanderJGomez cheers - this worked!

@raindog308
Copy link

Have tried all fixes here - sudo, running as root, reformatting as GUID, yet the same issue (same error) persists.

This is Etcher 1.5.111 on macOS 10.15.6 Catalina.

@PierreScerri
Copy link

Did you unmount the drive before using Balena?

@raindog308
Copy link

If I unmount it, it does not show up in the Select Target. If I mount it (just insert the card and it automounts), it shows up as "Apple SDXC Reader Media" on /dev/disk4.

@raindog308
Copy link

I see the issue...in Finder, you can only eject the volume (e.g., "UNTITLED") which also ejects the reader. In Disk Utility, it's possible to eject the volume and still leave the reader mounted. When I do that, it works.

@tszumowski
Copy link

@raindog308 I literally was just about the write the same thing haha.
Hitting "Unmount" here did it for me. I didn't have to run as sudo either:

image

@PierreScerri
Copy link

Yes, as I said previously, just unmount the drive in disk utility and use Balena to write the image.

@tszumowski
Copy link

Yes, as I said previously, just unmount the drive in disk utility and use Balena to write the image.

Whoops! I missed your post in the mix of the others. Yes, your steps are perfect

@PierreScerri
Copy link

Thank you.

@WorldWideWebDev
Copy link

On your Mac, Go to Firewall/ Privacy/ scroll down to Files and Folders, Ensure "Balena Etcher " Has access to "Removable Volumes" by ticking the box.

@PierreScerri
Copy link

@WorldWideWebDev Balena is not listed under Files and Folders on my Mac. Cannot add it as the '+' is disabled even with the padlock unlocked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests