Announcement

Collapse
No announcement yet.

Kubuntu 24.04 LTS: Balena Etcher appimage doesn't start

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu 24.04 LTS: Balena Etcher appimage doesn't start

    I use Kubuntu 24.04 LTS, but "Balena Etcher 1.19.21 appimage" doesn't start and it doesn't give any error messages.

    I downloaded it from:
    https://github.com/balena-io/etcher/releases/​
    Last edited by lednyk; Jul 22, 2024, 09:47 AM.
    CPU Intel Core i7-4790, 8 GB RAM DDR3, 2014 Asus motherboard, Mesa Intel HD Graphics 4600, 500 GB SSD Samsung EVO 850, LG BD-RE burner, Qualcomm Atheros AR9485 Wireless Network Adapter, Audio Device Intel Corporation 9 Series Chipset Family HD Audio Controller.

    #2
    How did you install it?
    The next brick house on the left
    Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



    Comment


      #3
      I always use the official DEB from:

      https://github.com/balena-io/etcher/...s/tag/v1.19.21
      Constant change is here to stay!

      Comment


        #4
        This started happening to me, maybe since 24.04 but since I rarely use it it might have been have been happening earlier.

        If I run the AppImage in a konsole, it looks something like this:
        Code:
        $ [I]<change directory to where the AppImage is>[/I]
        $ ./Bitwarden.AppImage
        [17273:0723/102235.474761: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 /tmp/.mount_BitwarbHFfGa/chrome-sandbox is owned by root and has mode 4755.
        zsh: trace trap (core dumped) /t/@appimage/Bitwarden.AppImage​
        The /tmp directory changes each time, and it's likely your AppImage has a longer name.

        It's some kind of electron app sandboxing problem I know little about. However, a workaround may be, in a konsole
        Code:
        ./Bitwarden.AppImage --no-sandbox
        Bitwarden starts at least, but I haven't actually used it, so I don't know if it fully works.

        (BTW, using Ventoy is much easier than writing isos; I have a Ventoy USB that I've used for about 5 years, it just keeps going. However, to get started with Ventoy one needs to write it to an iso...)

        [Edit - I now realize that I've confused Balena Etcher and Bitwarden, sorry; though I think it's possible the error has the same cause. However, the Balena Etcher AppImage available is 32-bit, and doesn't run on my 24.04, complaining that a shared library libz.so.1 is missing. Attempting to run the AppImage in a konsole is good to find out the problem.]
        Last edited by jlittle; Jul 23, 2024, 02:58 PM.
        Regards, John Little

        Comment


          #5
          I've just downloaded the balena etcher 64 bit zip file, unzipped it, changed to where it was unzipped, and run
          Code:
          $ ./balena-etcher
          [60215:0724/090840.178634: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 /home/john/build/balenaEtcher-linux-x64/chrome-sandbox is owned by root and has mode 4755.
          zsh: trace trap (core dumped) ./balena-etcher​
          $ ./balena-etcher --no-sandbox
          On the second attempt it started, with the familiar "Flash from file", "Select target", "Flash!" buttons.
          Regards, John Little

          Comment


            #6
            Originally posted by jlittle View Post
            You need to make sure that /home/john/build/balenaEtcher-linux-x64/chrome-sandbox is owned by root and has mode 4755.
            Having root own anything inside of ones /home directory doesn't sit well with me. Not at all. Goes against general guidance, does it not?
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              I tried to download (and install) from github the .deb file 'balena-etcher_1.19.21_amd64.deb', but 'qapt-deb-installer' informs me that there is an error: 'Status: Error: Cannot satisfy dependencies'

              Then I tried 'gdebi' into the Terminal but it gives error again:

              sudo gdebi balena-etcher_1.19.21_amd64.deb

              /usr/bin/gdebi:113: SyntaxWarning: invalid escape sequence '\S'
              c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
              Traceback (most recent call last):
              File "/usr/bin/gdebi", line 82, in <module>
              debi = GDebiCli(options)
              ^^^^^^^^^^^^^^^^^
              File "/usr/share/gdebi/GDebi/GDebiCli.py", line 67, in __init__
              self._cache = Cache(tp, rootdir=options.rootdir)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/usr/lib/python3/dist-packages/apt/cache.py", line 148, in __init__
              self._check_and_create_required_dirs(rootdir)
              File "/usr/lib/python3/dist-packages/apt/cache.py", line 188, in _check_and_create_required_dirs
              open(rootdir + f, "w").close()
              ^^^^^^^^^^^^^^^^^^^^^^
              PermissionError: [Errno 13] Permission denied: '//etc/apt/sources.list'
              Downloading the zip and entering the command ‘./balena-etcher --no-sandbox’ in the Terminal, I get the error message:

              d {
              _notifyingListeners: false,
              _scopeListeners: [ [Function: o] ],
              _eventProcessors: [],
              _breadcrumbs: [
              {
              timestamp: 1721927519.703,
              category: 'console',
              level: 'log',
              message: 'd {\n' +
              ' _notifyingListeners: false,\n' +
              ' _scopeListeners: [ [Function: o] ],\n' +
              ' _eventProcessors: [],\n' +
              ' _breadcrumbs: [],\n' +
              ' _attachments: [],\n' +
              ' _user: {},\n' +
              ' _tags: {},\n' +
              ' _extra: {},\n' +
              ' _contexts: {},\n' +
              ' _sdkProcessingMetadata: {},\n' +
              ' _propagationContext: {\n' +
              " traceId: '0c76568c15ed47eabb50b2e88469c9bf',\n" +
              " spanId: 'a19367a616cc6b91'\n" +
              ' },\n' +
              ' _client: k {\n' +
              ' _options: {\n' +
              ' _metadata: [Object],\n' +
              ' ipcMode: 3,\n' +
              ' getSessions: [Function: getSessions],\n' +
              " dsn: 'https://739bbcfc0ba4481481138d3fc831136d@o95242.ingest.sen try.io/4504451487301632',\n" +
              ' beforeSend: [Function (anonymous)],\n' +
              ' debug: false,\n' +
              " release: 'balenaEtcher@1.19.21',\n" +
              " environment: 'production',\n" +
              ' autoSessionTracking: false,\n' +
              ' stackParser: [Function (anonymous)],\n' +
              ' defaultIntegrations: [Array],\n' +
              ' transport: [Function (anonymous)],\n' +
              " instrumenter: 'sentry',\n" +
              ' integrations: [Array],\n' +
              ' transportOptions: [Object],\n' +
              " platform: 'node',\n" +
              ' runtime: [Object],\n' +
              " serverName: 'watt'\n" +
              ' },\n' +
              ' _integrations: {\n' +
              ' SentryMinidump: [Object],\n' +
              ' ElectronBreadcrumbs: [Object],\n' +
              ' Net: [Object],\n' +
              ' MainContext: [Object],\n' +
              ' ChildProcess: [Object],\n' +
              ' OnUncaughtException: [Object],\n' +
              ' PreloadInjection: [Object],\n' +
              ' AdditionalContext: [Object],\n' +
              ' Screenshots: [Object],\n' +
              ' RendererProfiling: [Object],\n' +
              ' InboundFilters: [Object],\n' +
              ' FunctionToString: [Object],\n' +
              ' LinkedErrors: [Object],\n' +
              ' RequestData: [Object],\n' +
              ' Console: [Object],\n' +
              ' Http: [Me],\n' +
              ' Undici: [_t],\n' +
              ' OnUnhandledRejection: [Object],\n' +
              ' ContextLines: [Object],\n' +
              ' LocalVariables: [Object],\n' +
              ' Modules: [Object],\n' +
              ' MainProcessSession: [Object]\n' +
              ' },\n' +
              ' _integrationsInitialized: true,\n' +
              ' _numProcessing: 0,\n' +
              ' _outcomes: {},\n' +
              ' _hooks: { preprocessEvent: [Array] },\n' +
              ' _eventProcessors: [\n' +
              ' [Function],\n' +
              ' [Function],\n' +
              ' [Function],\n' +
              ' [Function],\n' +
              ' [Function],\n' +
              ' [Function],\n' +
              ' [Function],\n' +
              ' [Function]\n' +
              ' ],\n' +
              ' _dsn: {\n' +
              " protocol: 'https',\n" +
              " publicKey: '739bbcfc0ba4481481138d3fc831136d',\n" +
              " pass: '',\n" +
              " host: 'o95242.ingest.sentry.io',\n" +
              " port: '',\n" +
              " path: '',\n" +
              " projectId: '4504451487301632'\n" +
              ' },\n' +
              ' _transport: { send: [Function], flush: [Function: flush] }\n' +
              ' },\n' +
              ' _session: {\n' +
              " sid: '52755052f1534c60971608801c203f7b',\n" +
              ' init: true,\n' +
              ' timestamp: 1721927519.7007205,\n' +
              ' started: 1721927519.7005918,\n' +
              ' duration: 0.00012874603271484375,\n' +
              " status: 'ok',\n" +
              ' errors: 0,\n' +
              ' ignoreDuration: false,\n' +
              ' toJSON: [Function: toJSON],\n' +
              ' did: undefined,\n' +
              " release: 'balenaEtcher@1.19.21',\n" +
              " environment: 'production'\n" +
              ' }\n' +
              '}'
              }
              ],
              _attachments: [],
              _user: {},
              _tags: {},
              _extra: {},
              _contexts: {},
              _sdkProcessingMetadata: {},
              _propagationContext: {
              traceId: '0c76568c15ed47eabb50b2e88469c9bf',
              spanId: 'a19367a616cc6b91'
              },
              _client: k {
              _options: {
              _metadata: [Object],
              ipcMode: 3,
              getSessions: [Function: getSessions],
              dsn: 'https://739bbcfc0ba4481481138d3fc831136d@o95242.ingest.sen try.io/4504451487301632',
              beforeSend: [Function (anonymous)],
              debug: false,
              release: 'balenaEtcher@1.19.21',
              environment: 'production',
              autoSessionTracking: false,
              stackParser: [Function (anonymous)],
              defaultIntegrations: [Array],
              transport: [Function (anonymous)],
              instrumenter: 'sentry',
              integrations: [Array],
              transportOptions: [Object],
              platform: 'node',
              runtime: [Object],
              serverName: 'watt'
              },
              _integrations: {
              SentryMinidump: [Object],
              ElectronBreadcrumbs: [Object],
              Net: [Object],
              MainContext: [Object],
              ChildProcess: [Object],
              OnUncaughtException: [Object],
              PreloadInjection: [Object],
              AdditionalContext: [Object],
              Screenshots: [Object],
              RendererProfiling: [Object],
              InboundFilters: [Object],
              FunctionToString: [Object],
              LinkedErrors: [Object],
              RequestData: [Object],
              Console: [Object],
              Http: [Me],
              Undici: [_t],
              OnUnhandledRejection: [Object],
              ContextLines: [Object],
              LocalVariables: [Object],
              Modules: [Object],
              MainProcessSession: [Object]
              },
              _integrationsInitialized: true,
              _numProcessing: 0,
              _outcomes: {},
              _hooks: { preprocessEvent: [Array] },
              _eventProcessors: [
              [Function],
              [Function],
              [Function],
              [Function],
              [Function],
              [Function],
              [Function],
              [Function]
              ],
              _dsn: {
              protocol: 'https',
              publicKey: '739bbcfc0ba4481481138d3fc831136d',
              pass: '',
              host: 'o95242.ingest.sentry.io',
              port: '',
              path: '',
              projectId: '4504451487301632'
              },
              _transport: { send: [Function], flush: [Function: flush] }
              },
              _session: {
              sid: '52755052f1534c60971608801c203f7b',
              init: true,
              timestamp: 1721927519.7007205,
              started: 1721927519.7005918,
              duration: 0.00012874603271484375,
              status: 'ok',
              errors: 0,
              ignoreDuration: false,
              toJSON: [Function: toJSON],
              did: undefined,
              release: 'balenaEtcher@1.19.21',
              environment: 'production'
              }
              }
              MESA-INTEL: warning: Haswell Vulkan support is incomplete
              libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
              Language changed to: en
              ready-to-show: 1.031s
              packageUpdatable false​
              I'm afraid I'll have to use 'dd' because 'startup disk creator' only works with Canonical ISOs, but it does not see Fedora ISOs or Debian ISOs.
              :-|​
              Last edited by lednyk; Jul 25, 2024, 11:19 AM.
              CPU Intel Core i7-4790, 8 GB RAM DDR3, 2014 Asus motherboard, Mesa Intel HD Graphics 4600, 500 GB SSD Samsung EVO 850, LG BD-RE burner, Qualcomm Atheros AR9485 Wireless Network Adapter, Audio Device Intel Corporation 9 Series Chipset Family HD Audio Controller.

              Comment


                #8
                the apt sources have changed since 24.04 was release and "/etc/apt/sources.list' no longer exists.

                You can get the 64bit appimage here or download and use the flatpack instead.

                Please Read Me

                Comment


                  #9
                  Originally posted by oshunluvr View Post
                  You can get the 64bit appimage here or download and use the flatpack instead.
                  That link begins "wget%20https:" and I don't think the "wget " should be there.

                  Also, it's for v 1.18.11 from June last year, and the latest version is 1.19.22. Did you intend to give a link for the older version?

                  I've just used https://github.com/balena-io/etcher/...2-x64.AppImage and it seems to work, though it does need the --no-sandbox workaround.

                  I'm confused by the fact that the main download page for balena etcher doesn't offer the 64 bit AppImage, though it is available through the "Releases" link on git hub.
                  Regards, John Little

                  Comment


                    #10
                    I was able to start Balena Etcher AppImage by opening a Terminal in the folder where the AppImage file is located and then I gave the command:
                    ./balenaEtcher-1.19.21-x64.AppImage --no-sandbox
                    Etcher start, but it does not write the ISO image into the pendrive. Only 'dd' works into the Terminal:

                    sudo dd if=/path/to/filename.iso of=/dev/sdX status=progress conv=fdatasync
                    Where “X” is the letter that marks the USB port to which the pendrive is connected.​
                    Last edited by lednyk; Jul 28, 2024, 12:19 PM.
                    CPU Intel Core i7-4790, 8 GB RAM DDR3, 2014 Asus motherboard, Mesa Intel HD Graphics 4600, 500 GB SSD Samsung EVO 850, LG BD-RE burner, Qualcomm Atheros AR9485 Wireless Network Adapter, Audio Device Intel Corporation 9 Series Chipset Family HD Audio Controller.

                    Comment


                      #11
                      In older versions of Ubuntu you can download an .appimage, mark it executable (i.e. give it permission to run, usually through the file manager Properties dialog), then double-click on it to run — it appears, and away you go.

                      But in Ubuntu 23.04 and above that no longer works. You do all the steps above but when you double-click on the AppImage file nothing happens. Nothing.

                      So why don’t AppImages work out-of-the-box in the latest versions of Ubuntu?

                      Recent versions of Ubuntu use a newer version of FUSE (the ‘Filesystem in User Space’ interface AppImages use) than AppImages aren’t built for.

                      Ubuntu now ships with FUSE v3 but AppImages require FUSE v2 to work.

                      Read More here.​
                      CPU Intel Core i7-4790, 8 GB RAM DDR3, 2014 Asus motherboard, Mesa Intel HD Graphics 4600, 500 GB SSD Samsung EVO 850, LG BD-RE burner, Qualcomm Atheros AR9485 Wireless Network Adapter, Audio Device Intel Corporation 9 Series Chipset Family HD Audio Controller.

                      Comment


                        #12
                        I use appimages with appimagelauncher with no problems. https://github.com/TheAssassin/AppImageLauncher

                        Comment

                        Working...
                        X