UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ubports-installer fails to initialize plugin on Raspberry Pi400

    Scheduled Pinned Locked Moved Unsolved UBports Installer
    4 Posts 3 Posters 2.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • R Offline
        richzrich
        last edited by Keneda

        I'm trying to run ubports installer from a Raspberry Pi400 with Debian GNU/Linux 11 (bullseye):arm64.
        I'm using the installer from the snap store.
        I get an error right off the bat about a plugin failing to initialize. Can anyone help with this?

        The terminal output is as follows:

        info: Welcome to the UBports Installer version 0.9.5-beta!
        error: Error: initializing plugins: Error: {"message":"{\"error\":{\"errno\":-2,\"code\":\"ENOENT\",\"syscall\":\"spawn adb\",\"path\":\"adb\",\"spawnargs\":[\"-P\",5037,\"kill-server\"],\"cmd\":\"adb -P 5037 kill-server\"}}","name":"adb"}
        stack trace: Error: {"message":"{\"error\":{\"errno\":-2,\"code\":\"ENOENT\",\"syscall\":\"spawn adb\",\"path\":\"adb\",\"spawnargs\":[\"-P\",5037,\"kill-server\"],\"cmd\":\"adb -P 5037 kill-server\"}}","name":"adb"}
            at /snap/ubports-installer/398/app/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:117:20
            at exithandler (node:child_process:413:5)
            at ChildProcess.errorhandler (node:child_process:425:5)
            at ChildProcess.emit (node:events:390:28)
            at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
            at onErrorNT (node:internal/child_process:477:16)
            at processTicksAndRejections (node:internal/process/task_queues:83:21)
        error: Error: plugin wait(): Error: {"message":"{\"error\":{\"errno\":-2,\"code\":\"ENOENT\",\"syscall\":\"spawn fastboot\",\"path\":\"fastboot\",\"spawnargs\":[\"devices\"],\"cmd\":\"fastboot devices\"}}","name":"fastboot"}
        stack trace: Error: {"message":"{\"error\":{\"errno\":-2,\"code\":\"ENOENT\",\"syscall\":\"spawn fastboot\",\"path\":\"fastboot\",\"spawnargs\":[\"devices\"],\"cmd\":\"fastboot devices\"}}","name":"fastboot"}
            at /snap/ubports-installer/398/app/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:117:20
            at exithandler (node:child_process:413:5)
            at ChildProcess.errorhandler (node:child_process:425:5)
            at ChildProcess.emit (node:events:390:28)
            at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
            at onErrorNT (node:internal/child_process:477:16)
            at processTicksAndRejections (node:internal/process/task_queues:83:21)
        
        M KenedaK 2 Replies Last reply Reply Quote 0
        • M Offline
          mark1250 @richzrich
          last edited by

          @richzrich Do you have adb and fastboot installed?

          1 Reply Last reply Reply Quote 1
          • KenedaK Keneda moved this topic from General on
          • KenedaK Offline
            Keneda @richzrich
            last edited by Keneda

            @richzrich
            I edited your post so it is more readable.
            Please use code tag next time ☺
            Select code text to embed then click the </> button to do so.

            Plus check there for when your issue will be sorted : https://forums.ubports.com/topic/6311/how-to-ask-a-question-and-then-mark-it-as-solved

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5
            🇲🇫🇬🇧

            1 Reply Last reply Reply Quote 0
            • KenedaK Keneda marked this topic as a question on
            • R Offline
              richzrich
              last edited by

              @Keneda
              thanks for doing that, I'll do that in the future. My first post here ...

              And to answer @mark1250 Yes I do have adb and fastboot installed.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post