MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Bullseye

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    45 Posts 8 Posters 21.9k Views 9 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.
    • BKeyportB Offline
      BKeyport Module Developer @sdetweil
      last edited by BKeyport

      @sdetweil I don’t think you’re gonna be able to get around it.

      Manual install is failing too - apparently there’s a file in several packages that’s being locked by the system and causing errors in the nodejs installer.

      dpkg: error processing archive /var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_armhf.deb (--unpack):
       trying to overwrite '/usr/share/doc/nodejs/api/embedding.json.gz', which is also in package nodejs-doc 12.22.5~dfsg-2~11u1
      dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
      Errors were encountered while processing:
       /var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_armhf.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

      Any further installs will require this to finish, which won’t because of this error, etc.

      The "E" in "Javascript" stands for "Easy"

      N S 2 Replies Last reply Reply Quote 0
      • N Offline
        nmwust @BKeyport
        last edited by

        @bkeyport
        Any chance you are using a full image and not a basic image. Thinking it may be related to the nodeRed install on the full image that is not there on the basic image. I hit what i think was the same error on a full image and had no problems if i swapped cards and went back to a basic image.

        1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @BKeyport
          last edited by

          @bkeyport yeh, I installed nvm, then installed 14 and it was ok… then switched to 17 with nvm and its ok…

          not sure how to correct script yet

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @sdetweil
            last edited by

            I have updated the scripts… for bullseye…

            give it a try

            in each of the urls, replace master with bullseye to get the latest version

            for example install

            bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
            

            replace master

            bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/bullseye/raspberry.sh)"
            

            raspiberry.sh, fixuppm2.sh and screensaver.sh have been updated

            let me know

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            BKeyportB 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @sdetweil
              last edited by

              @sdetweil

              Installing helper tools ...
              Updating packages ...
              [     <=>                                                                                                                                       ]Check current Node installation ...
              Node.js is not installed.
              Installing Node.js ...
              chmod: cannot access '/usr/share/doc/nodejs/api/embedding.json.gz': No such file or directory
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              The following packages were automatically installed and are no longer required:
                libc-ares2 libjs-highlight.js nodejs-doc
              Use 'sudo apt autoremove' to remove them.
              The following NEW packages will be installed:
                nodejs
              0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
              Need to get 0 B/22.9 MB of archives.
              After this operation, 116 MB of additional disk space will be used.
              Selecting previously unselected package nodejs.
              (Reading database ... 99829 files and directories currently installed.)
              Preparing to unpack .../nodejs_14.18.1-deb-1nodesource1_armhf.deb ...
              Unpacking nodejs (14.18.1-deb-1nodesource1) ...
              dpkg: error processing archive /var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_armhf.deb (--unpack):
               trying to overwrite '/usr/share/doc/nodejs/api/embedding.json.gz', which is also in package nodejs-doc 12.22.5~dfsg-2~11u1
              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
              Errors were encountered while processing:
               /var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_armhf.deb
              E: Sub-process /usr/bin/dpkg returned an error code (1)
              node version is bash: line 227: node: command not found
              bash: line 229: node: command not found
              Node.js installation Done! version=
              Check current NPM installation ...
              NPM currently installed. Checking version number.
              /usr/bin/env: ‘node’: No such file or directory
              Minimum npm version: V6.0.0
              Installed npm version: V
              npm should be upgraded.
              Installing npm ...
              E: Unable to correct problems, you have held broken packages.
              /usr/bin/env: ‘node’: No such file or directory
              /usr/bin/env: ‘node’: No such file or directory
              npm installation Done! version=V
              Cloning MagicMirror ...
              Cloning into 'MagicMirror'...
              remote: Enumerating objects: 325, done.
              remote: Counting objects: 100% (325/325), done.
              remote: Compressing objects: 100% (290/290), done.
              remote: Total 325 (delta 53), reused 146 (delta 22), pack-reused 0
              Receiving objects: 100% (325/325), 477.94 KiB | 4.78 MiB/s, done.
              Resolving deltas: 100% (53/53), done.
              Cloning MagicMirror Done!
              touch: cannot touch '/etc/chromium-browser/customizations/01-disable-update-check': No such file or directory
              Installing dependencies ...
              /usr/bin/env: ‘node’: No such file or directory
              Unable to install dependencies! 
              

              log added to issue…

              The "E" in "Javascript" stands for "Easy"

              S 2 Replies Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @BKeyport
                last edited by

                @bkeyport wonderful…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @BKeyport
                  last edited by

                  @bkeyport think I fixed it… give it a try, still bullseye in the urls

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  BKeyportB 1 Reply Last reply Reply Quote 0
                  • bugsounetB Offline
                    bugsounet Banned @sdetweil
                    last edited by bugsounet

                    @sdetweil said in Bullseye:

                    @bert269 we need node 14 for MM… the bullseye is only node 12

                    are you sure ?

                    cf9d2b85-f59f-44f4-8971-7734b0ea8d36-image.png

                    247240fa-0b8f-43d9-9ac7-16306f04b0b1-image.png

                    S 2 Replies Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @bugsounet
                      last edited by sdetweil

                      @bugsounet i get v12.22.5 right after boot up, image downloaded yesterday

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @bugsounet
                        last edited by sdetweil

                        @bugsounet did u select yes to install updates during setup? I selected no… do it later

                        reflashing SD card now.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @sdetweil
                          last edited by sdetweil

                          I get on 1st boot after config, enabling ssh , and setting hostname

                          node -v
                          v12.22.5

                          cat /etc/apt/sources.list.d/nodesource.list
                          cat: /etc/apt/sources.list.d/nodesource.list: No such file or directory

                          ls /etc/apt/sources.list.d
                          raspi.list vscode.list

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • bugsounetB Offline
                            bugsounet Banned
                            last edited by

                            curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

                            can help ?

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @bugsounet
                              last edited by

                              @bugsounet i got it in the latest script… different approach, but understand

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              O 1 Reply Last reply Reply Quote 0
                              • O Offline
                                OberfragGER @sdetweil
                                last edited by

                                @sdetweil
                                Sorry for asking but i dont get the point.

                                1 day before the release of Bullseye i installed busetr an used your script to get MM working. That worked flawless. Glad i made a backup then with my config.

                                Days later, i upgraded to Bullseye and MM was not working any longer. I thought due some autostart things or something like that.

                                When i now make a fresh bullseye install and use your script- is that working? No, or?

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @OberfragGER
                                  last edited by sdetweil

                                  @oberfragger yes, if you use the bullseye adjusted url (note the word master is replaced by bullseye i the url)

                                  bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/bullseye/raspberry.sh)"
                                  

                                  I don’t want to break the current version while we test this out…

                                  I just updated the instructions with this link

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 1
                                  • D Offline
                                    DJBOOB66
                                    last edited by

                                    Ok i tried

                                    bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/bullseye/raspberry.sh)"
                                    

                                    And it did not work. What I did was use the master version then rename MM folder after install then use above code and then it work?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @DJBOOB66
                                      last edited by

                                      @djboob66 can u post the ~/install.log?

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        DJBOOB66
                                        last edited by

                                        I have to do it again but will do it as soon as i can or is log found on file and were?

                                        1 Reply Last reply Reply Quote 0
                                        • BKeyportB Offline
                                          BKeyport Module Developer @sdetweil
                                          last edited by

                                          @sdetweil Failed all over the place.

                                          I’ll upload install.log, then nuking card and starting over.

                                          The "E" in "Javascript" stands for "Easy"

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @BKeyport
                                            last edited by

                                            @bkeyport did u use the bullseye link ?

                                            before then if u used the old link, things get messed up w no recovery (well there is but it’s half an hour of ugly work)

                                            reflash

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            BKeyportB 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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy