Etcher giving error when trying to flash SD card on Linux Mint 19.2

Hi
I;m trying to write a diskimage of the Octopi setup for a Raspberry Pi on my Linux Mint 19.2 computer. I’m using the 1.5.67 appimage of Etcher, writing to a 32GB Sandisk micro-SD card.
I’ve tried half a d0zen times, and each time I get the error, “Something went wrong. If it is compressed image, please check that the archive is not corrupted”.

The iso image (2019-09-26-octopi-buster-lite-0.17.0.img) is not compressed, and the mg5 checksum of the original zip file checks out.
The microSD card had a previous version of Octopi on it, and so far I have tried deleting all partitions, creating a single ext4 partition, then tried changing that to a FAT32 partition, also tried it with no partition on the SD Card, each time I get the same error.

I looked through anything similar in the forums, and tried the Ctrl+Shft+i. the last entry - in red - is shown below:

/tmp/.mount_balenaf8…resin-corvus.js:233 {“stack”:“Error: The elevated process died unexpectedly\n at Object.exports.createError (file:///tmp/.mount_balenaf8fehu/resources/app.asar/generated/gui.js:1797:17)\n at Object.exports.createUserError (file:///tmp/.mount_balenaf8fehu/resources/app.asar/generated/gui.js:1836:18)\n at file:///tmp/.mount_balenaf8fehu/resources/app.asar/generated/gui.js:11381:22”,“message”:“The elevated process died unexpectedly”,“description”:“The process error code was 9”,“report”:false,“image”:“2019-09-26-octopi-buster-lite-0.17.0.img”}

This is all greek to me, can anyone help figure out what is going wrong?
I have used Etcher in the past, on previous Linux installations, and not had any problems using it before.
Cheers


Hi there,

The error you see must appear because Etcher is not able to respawn itself with proper permissions needed to access the external drive.
I’m not sure what the root cause of this is, but will try run on a vm with Linux Mint and see how it works for me.

Thanks for taking a look. A further detail which may or may not be relevant: When I run the Etcher AppImage, After choosing the .iso file and selecting the device to flash onto, when I hit the “Flash” button, a window pops up asking for my pw, so I assumed Etcher needs to run as root? However, it may be that it is requesting my pw so it can access the microSD card?
Cheers
Gixxer600

Hi, yesterday we reproduced the problem with new Etcher version on Linux.
It should be fixed with the following pull request:

We’ll update this thread when the new Etcher version is released with a fix.

Hello, I just wanted to let you know that a new version of etcher (v1.5.69) is out and it should fix the issue. Thanks for bringing this up, let us know if everything is working as expected now.

Hi,
Thanks very much for fixing this so quickly, the new version worked perfectly :slight_smile: I’m also glad that - for a change - the error wasn’t something that I’d done or set up wrongly, lol
Gixx

Great news, thanks for letting us know!

I get the same error when using version 1.5.71. Attempting to flash 2019-09-26-raspbian-buster-lite.img to a 30G SD card which previously worked in my Pi B. I get the same error reported by Gixxer600. I’m using KDE Neon 5.17, Plasma desktop.

Hi Tom, thanks for reporting this error. Like last time, we’ll take a look for any breaking changes and let you know what we discover (and if a new release is needed to address the issue). Thanks!

Hi, can you send us the logs when the issue happens? (Press ctrl + shift + i to open devtools, then see Console tab).

I’m not development-savvy, but here goes. Hope it helps!

Version = 1.5.71, Type = appimage
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:37 GMT-0800 (Pacific Standard Time) Application start ({“packageType”:“appimage”,“version”:“1.5.71”,“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:39 GMT-0800 (Pacific Standard Time) SafeWebview loaded ({“event”:{“fromCache”:false,“headers”:{“Accept”:“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3”,“Sec-Fetch-Mode”:“navigate”,“Sec-Fetch-Site”:“none”,“Sec-Fetch-User”:"?1",“Upgrade-Insecure-Requests”:“1”,“User-Agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) balena-etcher-electron/1.5.71 Chrome/76.0.3809.146 Electron/6.1.4 Safari/537.36”},“id”:10,“method”:“GET”,“referrer”:"",“resourceType”:“mainFrame”,“responseHeaders”:{“Accept-Ranges”:[“bytes”],“Cache-Control”:[“public, max-age=0”],“Connection”:[“keep-alive”],“Content-Encoding”:[“gzip”],“Content-Type”:[“text/html; charset=UTF-8”],“Date”:[“Fri, 24 Jan 2020 05:57:38 GMT”],“Etag”:[“W/“3c832-16fd250bc00"”],“Last-Modified”:[“Thu, 23 Jan 2020 12:11:44 GMT”],“Server”:[“Cowboy”],“Transfer-Encoding”:[“chunked”],“Vary”:[“Accept-Encoding”],“Via”:[“1.1 vegur, 1.1 vegur”]},“statusCode”:200,“statusLine”:“HTTP/1.1 200 OK”,“timestamp”:1579845459001.912,“url”:“https://www.balena.io/etcher/success-banner/?etcher-version=1.5.71&api-version=2&optOutAnalytics=false"},“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,"sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:42 GMT-0800 (Pacific Standard Time) Open image selector ({“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:49 GMT-0800 (Pacific Standard Time) Select image ({“image”:{“size”:2248146944,“name”:“2019-09-26-raspbian-buster-lite.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:1975517184,“type”:131,“index”:2}],“path”:”/home/herrmann/Downloads/2019-09-26-raspbian-buster-lite.img",“extension”:“img”,“logo”:false,“blockMap”:false},“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) Flashing 0 devices, 0% at null MB/s (total null MB/s) eta in undefineds with 0 failed devices
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) Flash ({“image”:"/home/herrmann/Downloads/2019-09-26-raspbian-buster-lite.img",“drives”:[{“size”:16008609792,“isVirtual”:false,“enumerator”:“lsblk:json”,“logicalBlockSize”:512,“raw”:"/dev/sdb",“error”:null,“isReadOnly”:false,“displayName”:"/dev/sdb",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/sdb",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:null,“isUSB”:true,“devicePath”:"/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0",“mountpoints”:[{“path”:"/media/herrmann/9F31-7814",“label”:null}],“description”:“SanDisk Ultra (/media/herrmann/9F31-7814)”,“isUAS”:null}],“driveCount”:1,“uuid”:“1ee4e848-efed-4d96-ab2a-1e83cc072ce4”,“status”:“started”,“flashInstanceUuid”:“1ee4e848-efed-4d96-ab2a-1e83cc072ce4”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“trim”:false,“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Elevating command: /run/user/1000/appimagelauncherfs/0000.AppImage -e require(${process.env.APPDIR}/resources/app.asar)
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) SafeWebview loaded ({“event”:{“fromCache”:false,“headers”:{“Accept”:“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3”,“Sec-Fetch-Mode”:“navigate”,“Sec-Fetch-Site”:“none”,“Sec-Fetch-User”:"?1",“Upgrade-Insecure-Requests”:“1”,“User-Agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) balena-etcher-electron/1.5.71 Chrome/76.0.3809.146 Electron/6.1.4 Safari/537.36”},“id”:31,“method”:“GET”,“referrer”:"",“resourceType”:“mainFrame”,“responseHeaders”:{“access-control-allow-origin”:["*"],“age”:[“389”],“cache-control”:[“max-age=600”],“cf-cache-status”:[“DYNAMIC”],“cf-ray”:[“559fc5bc7938e37e-SEA”],“content-encoding”:[“br”],“content-type”:[“text/html; charset=utf-8”],“date”:[“Fri, 24 Jan 2020 05:57:52 GMT”],“expect-ct”:[“max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct””],“expires”:[“Thu, 23 Jan 2020 20:53:25 GMT”],“last-modified”:[“Tue, 21 Jan 2020 17:49:11 GMT”],“server”:[“cloudflare”],“status”:[“200”],“vary”:[“Accept-Encoding”],“via”:[“1.1 varnish”],“x-cache”:[“HIT”],“x-cache-hits”:[“1”],“x-fastly-request-id”:[“2812d06e88bd285a2d45c8e1d7dabe8e91017f5f”],“x-github-request-id”:[“148C:1EC5:1D8177:212CA7:5E2A056C”],“x-proxy-cache”:[“MISS”],“x-served-by”:[“cache-sea4441-SEA”],“x-timer”:[“S1579845473.739441,VS0,VE0”]},“statusCode”:200,“statusLine”:“HTTP/1.1 200”,“timestamp”:1579845472755.826,“url”:“https://assets.balena.io/etcher-featured/index.html?etcher-version=1.5.71&api-version=2&optOutAnalytics=false"},“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,"sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) Flashing 0 devices, 0% at null MB/s (total null MB/s) eta in undefineds with 0 failed devices
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 error OperationalError
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Terminating IPC server
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 {“stack”:“Error: The elevated process died unexpectedly\n at Object.exports.createError (file:///tmp/.mount_balena9tTEOW/resources/app.asar/generated/gui.js:1577:17)\n at Object.exports.createUserError (file:///tmp/.mount_balena9tTEOW/resources/app.asar/generated/gui.js:1616:18)\n at file:///tmp/.mount_balena9tTEOW/resources/app.asar/generated/gui.js:8589:22”,“message”:“The elevated process died unexpectedly”,“description”:“The process error code was 126”,“report”:false,“image”:“2019-09-26-raspbian-buster-lite.img”}
console. @ /tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58
/tmp/.mount_balena9tTEOW/resources/app.asar/lib/assets/icon.png:1 Failed to load resource: net::ERR_FILE_NOT_FOUND