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.
    • B Offline
      bert269
      last edited by

      ~ dir layout:
      pi@piMirror:~ $ ls -al
      total 116
      pi 4096 Nov 12 11:16 .
      root 4096 Oct 30 05:12 …
      pi 132 Nov 12 10:49 .bash_history
      pi 220 Oct 30 05:12 .bash_logout
      pi 3523 Oct 30 05:12 .bashrc
      pi 4096 Oct 30 05:21 Bookshelf
      pi 4096 Nov 12 11:16 .cache
      pi 4096 Nov 12 11:16 .config
      pi 4096 Oct 30 05:53 Desktop
      pi 4096 Nov 12 10:35 Documents
      pi 4096 Oct 30 05:53 Downloads
      pi 4096 Oct 30 05:21 .local
      pi 4096 Nov 12 11:16 MagicMirror
      pi 4096 Oct 30 05:53 Music
      pi 0 Nov 1 22:55 NAS6604T
      pi 4096 Nov 12 11:04 .npm
      pi 4096 Oct 30 05:53 Pictures
      pi 12974 Nov 12 10:59 piMirror.sh
      pi 4096 Nov 12 11:02 .pki
      pi 807 Oct 30 05:12 .profile
      pi 4096 Oct 30 05:53 Public
      pi 4096 Oct 30 05:53 Templates
      pi 4096 Oct 30 05:53 Videos
      pi 4096 Nov 12 10:35 .vnc
      pi 53 Nov 12 10:49 .Xauthority
      pi 2361 Nov 12 10:49 .xsession-errors
      pi 2361 Nov 12 10:39 .xsession-errors.old
      pi@piMirror:~ $

      MagicMirror dir layout:
      pi 4096 Nov 12 11:16 …
      pi 57014 Nov 12 11:16 CHANGELOG.md
      pi 4096 Nov 12 11:16 clientonly
      pi 4096 Nov 12 11:16 config
      pi 4096 Nov 12 11:16 css
      pi 238 Nov 12 11:16 .editorconfig
      pi 34 Nov 12 11:16 .eslintignore
      pi 610 Nov 12 11:16 .eslintrc.json
      pi 4096 Nov 12 11:17 fonts
      pi 4096 Nov 12 11:17 .git
      pi 4096 Nov 12 11:16 .github
      pi 1094 Nov 12 11:16 .gitignore
      pi 4096 Nov 12 11:17 .husky
      pi 2858 Nov 12 11:16 index.html
      pi 4096 Nov 12 11:16 installers
      …
      pi@piMirror:~/MagicMirror $

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @bert269
        last edited by sdetweil

        @bert269 u didn’t use my script… now idea

        see https://github.com/sdetweil/MagicMirror_scripts

        booting up on pi4 now

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          bert269
          last edited by

          Apologies, sorry - no I did not used:
          bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

          I only used npm install. Let me try and will let you know.
          Thanks

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @bert269
            last edited by

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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S bugsounetB 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @sdetweil
              last edited by sdetweil

              looks like trouble

              /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 node: error while loading shared libraries: libnode.so.72: cannot open shared object file: No such file or directory
              node: error while loading shared libraries: libnode.so.72: cannot open shared object file: No such file or directory

              can’t install node 14…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                bert269
                last edited by

                Ok, run your install script. This time it worked. The screensaver interfered - but I can fix that. This is what I saw during install
                Check current Node installation …
                Node currently installed. Checking version number.
                Minimum Node version: v14.0.0
                Installed Node version: v17.1.0
                No Node.js upgrade necessary.
                Check current NPM installation …
                NPM currently installed. Checking version number.
                Minimum npm version: V6.0.0
                Installed npm version: V8.1.2
                No npm upgrade necessary.
                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 | 330.00 KiB/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
                tee: /etc/chromium-browser/customizations/01-disable-update-check: No such file or directory
                Installing dependencies …
                npm WARN EBADENGINE Unsupported engine {
                npm WARN EBADENGINE package: ‘eslint-plugin-jsdoc@36.1.1’,
                npm WARN EBADENGINE required: { node: ‘^12 || ^14 || ^16’ },
                npm WARN EBADENGINE current: { node: ‘v17.1.0’, npm: ‘8.1.2’ }
                npm WARN EBADENGINE }
                npm WARN EBADENGINE Unsupported engine {
                npm WARN EBADENGINE package: ‘@es-joy/jsdoccomment@0.10.8’,
                npm WARN EBADENGINE required: { node: ‘^12 || ^14 || ^16’ },
                npm WARN EBADENGINE current: { node: ‘v17.1.0’, npm: ‘8.1.2’ }
                npm WARN EBADENGINE }
                Dependencies installation Done!
                Check plymouth installation …
                Splashscreen: Checking themes directory.
                Splashscreen: Create theme directory if not exists.

                Splashscreen: Changed theme to MagicMirror successfully.
                Do you want use pm2 for auto starting of your MagicMirror (y/N)?y
                install and setup pm2
                Created symlink /etc/systemd/system/multi-user.target.wants/pm2-pi.service → /etc/systemd/system/pm2-pi.service.
                [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
                [PM2] PM2 Successfully daemonized
                [PM2][WARN] Applications MagicMirror not running, starting…
                [PM2] App [MagicMirror] launched (1 instances)
                ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
                ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                │ 0 │ MagicMirror │ default │ 2.17.1 │ fork │ 4352 │ 0s │ 0 │ online │ 0% │ 2.7mb │ pi │ enabled │
                └─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
                [PM2] Saving current process list…
                [PM2] Successfully saved in /home/pi/.pm2/dump.pm2
                Do you want to disable the screen saver? (y/N)?y
                xscreensaver running
                grep: /home/pi/.xscreensaver: No such file or directory
                bash: line 587: [: !=: unary operator expected

                We’re ready! Run pm2 start MagicMirror from the ~/MagicMirror directory to start your MagicMirror.

                pi@piMirror:~ $ cd MagicMirror/
                pi@piMirror:~/MagicMirror $ pm2 start MagicMirror
                [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
                [PM2] MagicMirror ✓
                [PM2] Process successfully started
                ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
                ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                │ 0 │ MagicMirror │ default │ 2.17.1 │ fork │ 4551 │ 0s │ 1 │ online │ 0% │ 2.7mb │ pi │ disabled │
                └─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @bert269
                  last edited by

                  @bert269 said in Bullseye:

                  Minimum Node version: v14.0.0
                  Installed Node version: v17.1.0

                  no worky on node 17

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  BKeyportB 1 Reply Last reply Reply Quote 0
                  • B Offline
                    bert269
                    last edited by

                    it seems fine - it works for me with 17.1. I do not know which modules witll fail/break, but the vanilla config.js brought up MagiMirror2.

                    Thanks - let me know if you do need any more info I supply/help with.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bert269
                      last edited by

                      Something seems off with the screensaver stop script too:
                      pi@piMirror:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)”
                      xscreensaver running
                      grep: /home/pi/.xscreensaver: No such file or directory
                      bash: line 42: [: !=: unary operator expected

                      I guess there is a lot involved with the fact that they changed from fkms to kms

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @bert269
                        last edited by

                        @bert269 thanks will fix

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          bert269 @sdetweil
                          last edited by

                          @sdetweil No problem - thank you for the help and support. I will attach the install.log - if you still need that.[0_1636743781431_install.log.txt](Uploading 100%)

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @bert269
                            last edited by

                            @bert269 don’t attach here… attach to the issue in github

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            B 1 Reply Last reply Reply Quote 0
                            • B Offline
                              bert269 @sdetweil
                              last edited by

                              @sdetweil ok Sorry (is that why it’s not working…oops!)

                              1 Reply Last reply Reply Quote 0
                              • 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 Offline
                                    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 Offline
                                      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 Offline
                                          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 Offline
                                            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

                                            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
                                            • 2 / 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