• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 15.5k 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.
  • S Offline
    sdetweil @bert269
    last edited by sdetweil Nov 12, 2021, 6:26 PM Nov 12, 2021, 6:26 PM

    @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 Nov 12, 2021, 6:36 PM

      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 Nov 12, 2021, 6:40 PM Reply Quote 0
      • S Offline
        sdetweil @bert269
        last edited by Nov 12, 2021, 6:40 PM

        @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 B 2 Replies Last reply Nov 12, 2021, 6:44 PM Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by sdetweil Nov 12, 2021, 6:45 PM Nov 12, 2021, 6:44 PM

          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 Nov 12, 2021, 6:45 PM

            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 Nov 12, 2021, 6:46 PM Reply Quote 0
            • S Offline
              sdetweil @bert269
              last edited by Nov 12, 2021, 6:46 PM

              @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

              B 1 Reply Last reply Nov 12, 2021, 9:24 PM Reply Quote 0
              • B Offline
                bert269
                last edited by Nov 12, 2021, 6:49 PM

                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 Nov 12, 2021, 6:59 PM

                  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 Nov 12, 2021, 6:59 PM Reply Quote 0
                  • S Offline
                    sdetweil @bert269
                    last edited by Nov 12, 2021, 6:59 PM

                    @bert269 thanks will fix

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    B 1 Reply Last reply Nov 12, 2021, 7:03 PM Reply Quote 0
                    • B Offline
                      bert269 @sdetweil
                      last edited by Nov 12, 2021, 7:03 PM

                      @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 Nov 12, 2021, 7:06 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 1 / 5
                      1 / 5
                      • First post
                        9/45
                        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