Keep getting "something went wrong." error on Arch

Hi,

I’ve been trying to use Balena Etcher on my Arch install to write a variety of images including (2019-09-26-raspbian-buster-lite.img or DietPi_v6.25_RPi-ARMv6-Buster.img) but I keep getting en error message “something went wrong. if it is a compressed image, please check that the archive is not corrupted”. I’m omn Arch with version 1.5.61 and I have gconf installed too. What am I missing to get it working correctly?

1 Like

same here

Hi could you please take a look at the dev tools console (can be opened with Ctrl+Alt+i) in Etcher and post error messages you see there?

1 Like

I tried to open the dev tools console with Ctrl+Alt+i but no console is opening, what’s the trick with this? :crazy_face:

Hi, I just tried it here and it is Ctrl+Shift+I for Arch. Also you may see the menu of the application by pressing Alt only and you will find the developer tools under the View.
Thanks,
Zahari

I am using ubuntu 19.10. Having some issue.
Can anybody help here. Whats the fishy I am doing here ?
Can anybody explain the correct procedure ?
Or this is a tool issue.
There was no issue earlier.

Hi @stdcerr & @cpu_12 and welcome to the balena forums!

I maintain the balena-etcher package in the AUR (https://aur.archlinux.org/packages/balena-etcher/) and have just pushed a downgrade to pin the package to 1.5.60 for now, which I’ve confirmed to be working. I need to investigate what’s changed a bit further, and hope to get to that by the end of this week (support for this package is “unofficial” and I do my best to keep up!). If you require the latest and greatest balenaEtcher, I recommend using the etcher-bin package: https://aur.archlinux.org/packages/etcher-bin/ at least until this issue is resolved.

Please let me know if you’re still having issues, otherwise you should be forced to downgrade at your next update.

Hi @Johny, and welcome to the forums. This looks like a different issue, and there is a similar issue reported here: https://github.com/balena-io/etcher/issues/2859. I’ve reproduced this issue with the AppImage version on Ubuntu 19.10 running Etcher 1.5.68. If you use the deb version, then it works. You can get the latest deb version from here https://github.com/balena-io/etcher/tree/v1.5.68.

Please let me know if you’re still having issues.

@roman-mazur I’m not exactly sure which element you would like me to show you, the dialog modal-warning-modal looks l,ike this:

<div class="modal-dialog modal-warning-modal"><div class="modal-content" uib-modal-transclude=""><div class="modal-header ng-scope">
  <h4 class="modal-title">
    <span class="glyphicon glyphicon-exclamation-sign"></span>
    <span>Attention</span>
  </h4>
  <button class="close" tabindex="11" ng-click="modal.reject()">×</button>
</div>

<div class="modal-body ng-scope">
  <p ng-bind-html="modal.options.description" class="ng-binding">Something went wrong. If it is a compressed image, please check that the archive is not corrupted.</p>
</div>

<div class="modal-footer ng-scope">
  <div class="modal-menu">
    <button class="button button-danger button-block ng-binding" tabindex="13" ng-click="modal.accept()">Retry</button>
    <!-- ngIf: modal.options.rejectionLabel -->
  </div>
</div></div></div>

@stdcerr
I meant any error messages you could find in the logs console tab (no the elements tab).

FYI, there is another thread on forums where we discovered a regressing in AppImage distribution of the recent Etcher version, which will get fixed in the next version.

Ah okay,
I thought it wasn’t right. On the Console tab I’ve got the following:

|  ___| |     | |
| |__ | |_ ___| |__   ___ _ __
|  __|| __/ __| '_ \ / _ \ '__|
| |___| || (__| | | |  __/ |
\____/ \__\___|_| |_|\___|_|

Interested in joining the Etcher team?
Drop us a line at join+etcher@balena.io

Version = 1.5.61, Type = local
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:38 GMT-0800 (PST) Application start ({"packageType":"local","version":"1.5.61","applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","sample":0.1})
/usr/lib/electron3-bin/resources/electron.asar/renderer/security-warnings.js:184 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
      Policy set or a policy with "unsafe-eval" enabled. This exposes users of
      this app to unnecessary security risks.
 
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
 This warning will not show up
once the app is packaged.
warnAboutInsecureCSP @ /usr/lib/electron3-bin/resources/electron.asar/renderer/security-warnings.js:184
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:38 GMT-0800 (PST) SafeWebview loaded ({"event":{"fromCache":false,"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Electron/3.1.13 Safari/537.36"},"id":11,"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":["Wed, 11 Dec 2019 01:47:17 GMT"],"Etag":["W/\"3c810-16e8d73c970\""],"Last-Modified":["Thu, 21 Nov 2019 10:13:26 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":1576028798932.3882,"url":"https://www.balena.io/etcher/success-banner/?etcher-version=1.5.61&api-version=2&optOutAnalytics=false"},"applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
gui.js:3351 Message from SafeWebview: %cElectron Security Warning (Insecure Content-Security-Policy)
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:40 GMT-0800 (PST) Open image selector ({"applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:46 GMT-0800 (PST) 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/ron/Downloads/2019-09-26-raspbian-buster-lite.img","extension":"img","logo":false,"blockMap":false},"applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:49 GMT-0800 (PST) Open modal ({"name":"drive-selector","applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:49 GMT-0800 (PST) Reselect drive ({"applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:52 GMT-0800 (PST) Modal accepted ({"name":"drive-selector","applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:53 GMT-0800 (PST) Flashing 0 devices, 0% at null MB/s (total null MB/s) eta in undefineds with 0 failed devices
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:53 GMT-0800 (PST) Flash ({"image":"/home/ron/Downloads/2019-09-26-raspbian-buster-lite.img","drives":[{"size":32010928128,"isVirtual":false,"enumerator":"lsblk:json","logicalBlockSize":512,"raw":"/dev/sdi","error":null,"isReadOnly":false,"displayName":"/dev/sdi","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"/dev/sdi","busVersion":null,"isSystem":false,"busType":"USB","isCard":null,"isUSB":true,"devicePath":"/dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.8:1.0-scsi-0:0:0:0","mountpoints":[],"description":"Lexar uSD_UHS2_RDR (boot, rootfs)","isUAS":null}],"driveCount":1,"uuid":"f534e941-ac9c-43c0-b2ea-749041ae1c10","status":"started","flashInstanceUuid":"f534e941-ac9c-43c0-b2ea-749041ae1c10","unmountOnSuccess":true,"validateWriteOnSuccess":true,"trim":false,"applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
gui.js:9289 Elevating command: /usr/lib/electron3-bin/electron /usr/lib/electron3-bin/resources/default_app.asar
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:54 GMT-0800 (PST) SafeWebview loaded ({"event":{"fromCache":false,"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Electron/3.1.13 Safari/537.36"},"id":26,"method":"GET","referrer":"","resourceType":"mainFrame","responseHeaders":{"access-control-allow-origin":["*"],"age":["0"],"cache-control":["max-age=600"],"cf-cache-status":["DYNAMIC"],"cf-ray":["5433ca8a0b1ce36e-SEA"],"content-encoding":["br"],"content-type":["text/html; charset=utf-8"],"date":["Wed, 11 Dec 2019 01:47:32 GMT"],"expect-ct":["max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""],"expires":["Wed, 11 Dec 2019 01:57:32 GMT"],"last-modified":["Mon, 09 Dec 2019 15:11:26 GMT"],"server":["cloudflare"],"status":["200"],"vary":["Accept-Encoding"],"via":["1.1 varnish"],"x-cache":["MISS"],"x-cache-hits":["0"],"x-fastly-request-id":["b18f45040336850d9e03b59f99c68995418f9378"],"x-github-request-id":["58FC:567C:422B2:752DC:5DF04AB4"],"x-proxy-cache":["MISS"],"x-served-by":["cache-sea4449-SEA"],"x-timer":["S1576028853.826052,VS0,VE4"]},"statusCode":200,"statusLine":"HTTP/1.1 200","timestamp":1576028814228.084,"url":"https://assets.balena.io/etcher-featured/index.html?etcher-version=1.5.61&api-version=2&optOutAnalytics=false"},"applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:54 GMT-0800 (PST) Flashing 0 devices, 0% at null MB/s (total null MB/s) eta in undefineds with 0 failed devices
gui.js:3351 Message from SafeWebview: %cElectron Security Warning (Insecure Content-Security-Policy)
/usr/lib/balena-etcher/lib/shared/permissions.js:216 error OperationalError
gui.js:9329 Terminating IPC server
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:39 Tue Dec 10 2019 17:46:59 GMT-0800 (PST) Open modal ({"name":"warning","applicationSessionUuid":"0d446fab-6433-49e7-a1b7-2eb1f74b8008","flashingWorkflowUuid":"b8c8bdc1-1b12-4a67-9ecf-56847b35943e","sample":0.1})
/usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:233 {"stack":"Error: The elevated process died unexpectedly\n    at Object.exports.createError (/usr/lib/balena-etcher/lib/shared/errors.js:253:17)\n    at Object.exports.createUserError (/usr/lib/balena-etcher/lib/shared/errors.js:292:18)\n    at Bluebird.using (/usr/lib/balena-etcher/lib/shared/permissions.js:223:22)","message":"The elevated process died unexpectedly","description":"The process error code was 1","report":false,"image":"2019-09-26-raspbian-buster-lite.img"}
logException @ /usr/lib/balena-etcher/node_modules/resin-corvus/src/resin-corvus.js:233

Althought, I don’t know what The elevated process died unexpectedly means.

@roman-mazur It looks like the same error that you posted…

Hi!

Thank you for the newest info. We will get back to you as soon as we can.

Kind regards
Alida

Hi. Looks like you are running version 1.5.61. Could you try either downgrading to 1.5.60 by reinstalling the package from the AUR, or replacing it with the etcher-bin package? Either of those should work.

Yes, great! I just updated my AURs with yay -Syyu and it succesfully downloaded and downgraded to Etcher 1.5.60 which works like a charm!
Excellent, Thank you!

Good to hear that Etcher works fine now @stdcerr : )

@stdcerr I wanted to circle back and let you know I’ve fixed up and pushed the AUR package balena-etcher, so it should be fully functional on the latest available version once again.

Thanks for the report, if you have any further issues please feel free to ping me on the package itself (here: https://aur.archlinux.org/packages/balena-etcher/).

To solve the problem, just right-click the software (i.e. balenaEtcher) and run it as administrator on Windows PC.

A
Acab

gui.js:48916 {"stack":"Error: No polkit authentication agent found\n    at createError (file:///opt/balenaEtcher/resources/app/generated/gui.js:63120:23)\n    at createUserError (file:///opt/balenaEtcher/resources/app/generated/gui.js:63131:16)\n    at file:///opt/balenaEtcher/resources/app/generated/gui.js:79204:27\n    at async withTmpFile (file:///opt/balenaEtcher/resources/app/generated/gui.js:77312:20)\n    at async elevateCommand (file:///opt/balenaEtcher/resources/app/generated/gui.js:79174:16)\n    at async Server.<anonymous> (file:///opt/balenaEtcher/resources/app/generated/gui.js:79321:37)","message":"No polkit authentication agent found","description":"Please install a polkit authentication agent for your desktop environment of choice to continue","report":false,"image":"archlinux-2021.01.01-x86_64.iso"}

I in full 2021, as they described the problem, the same happens to me, now I’m with Linux lite, when I did ctrl + shift + i on the console I vote this error.

gui.js:48916 {“stack”:“Error: No polkit authentication agent found\n at createError (file:///opt/balenaEtcher/resources/app/generated/gui.js:63120:23)\n at createUserError (file:///opt/balenaEtcher/resources/app/generated/gui.js:63131:16)\n at file:///opt/balenaEtcher/resources/app/generated/gui.js:79204:27\n at async withTmpFile (file:///opt/balenaEtcher/resources/app/generated/gui.js:77312:20)\n at async elevateCommand (file:///opt/balenaEtcher/resources/app/generated/gui.js:79174:16)\n at async Server. (file:///opt/balenaEtcher/resources/app/generated/gui.js:79321:37)”,“message”:“No polkit authentication agent found”,“description”:“Please install a polkit authentication agent for your desktop environment of choice to continue”,“report”:false,“image”:“archlinux-2021.01.01-x86_64.iso”}

Have the same problem. I am really desperate.
Thanks for the help.
There is a picture attached.