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.

    Getting Startet - ablsulute newbie

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 17 Views 2 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.
    • D Offline
      DerHerrB
      last edited by

      Hi together!

      Im a absolute linux beginner and try to get MM running on a raspberry pi 4

      doing it manually leads me to some trouble with electron
      using alternative method (mm scripts) neither worked…

      quiete frustrating

      is their some gnerell advice i need to know before starting again?
      right now im going to reinstall raspianOS to start over…

      Julian

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

        @DerHerrB if you run the scripted install and have trouble show me the ~/install.log

        The scripted install is here
        https://github.com/sdetweil/MagicMirror_scripts

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          DerHerrB @sdetweil
          last edited by sdetweil

          @sdetweil

          install starting  - Sa Jun  6 00:34:29 CEST 2026
          installing on aarch64 processor system
          the os is PRETTY_NAME="Debian GNU/Linux 13 (trixie)" NAME="Debian GNU/Linux" VERSION_ID="13" VERSION="13 (trixie)" VERSION_CODENAME=trixie DEBIAN_VERSION_FULL=13.5 ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
                        gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
          Speicher:       3789         434        2332          48        1147        3354
          Swap:           2047           0        2047
          Updating packages ...
          Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://deb.debian.org/debian trixie-updates InRelease Hit:3 http://archive.raspberrypi.com/debian trixie InRelease Hit:4 http://deb.debian.org/debian-security trixie-security InRelease Ign:5 https://download.docker.com/linux/ubuntu trixie InRelease Err:6 https://download.docker.com/linux/ubuntu trixie Release 404 Not Found [IP: 108.138.7.18 443] Reading package lists...
          Update failed, retrying installation ...
          Installing helper tools ...
          Paketlisten werden gelesen…
          Abhängigkeitsbaum wird aufgebaut…
          Statusinformationen werden eingelesen…
          curl ist schon die neueste Version (8.14.1-2+deb13u3).
          wget ist schon die neueste Version (1.25.0-2).
          git ist schon die neueste Version (1:2.47.3-0+deb13u1).
          build-essential ist schon die neueste Version (12.12).
          unzip ist schon die neueste Version (6.0-29).
          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
          installed node version is v24.16.0
          installing on trixie
          installed node version = v24.16.0
          No npm engines section specified in package.json, using default=V10.9.4 ...
          Check current Node installation ...
          Node currently installed. Checking version number.
          Minimum Node version: v22.21.1
          Installed Node version: v24.16.0
          No Node.js upgrade necessary.
          Check current NPM installation ...
          NPM currently installed. Checking version number.
          Minimum npm version: V10.9.4
          Installed npm version: V11.13.0
          No npm upgrade necessary.
          Cloning MagicMirror ...
          Cloning MagicMirror Done!
          Installing dependencies ...
          > magicmirror@2.36.0 postinstall > git clean -df fonts vendor modules/default > magicmirror@2.36.0 prepare > [ -f node_modules/.bin/husky ] && husky || echo no husky installed. no husky installed. added 381 packages in 1m 85 packages are looking for funding run `npm fund` for details
          Dependencies installation Done!
          
          added 507 packages in 18s
          
          243 packages are looking for funding
            run `npm fund` for details
          setting up initial config.js
          Check plymouth installation ...
          Splashscreen: Checking themes directory.
          Splashscreen: Create theme directory if not exists.
          Splashscreen: Changed theme to MagicMirror successfully.
          don't know how to disable screen saver on labwc compositor
          install and setup pm2
          get the pm2 platform specific startup command
          startup command = sudo env PATH=$PATH:/home/julian/.nvm/versions/node/v24.16.0/bin /home/julian/.nvm/versions/node/v24.16.0/lib/node_modules/pm2/bin/pm2 startup systemd -u julian --hp /home/julian
          [PM2] Init System found: systemd
          Platform systemd
          Template
          [Unit]
          Description=PM2 process manager
          Documentation=https://pm2.keymetrics.io/
          After=network.target
          
          [Service]
          Type=forking
          User=julian
          LimitNOFILE=infinity
          LimitNPROC=infinity
          LimitCORE=infinity
          Environment=PATH=/home/julian/.nvm/versions/node/v24.16.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/home/julian/.nvm/versions/node/v24.16.0/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
          Environment=PM2_HOME=/home/julian/.pm2
          PIDFile=/home/julian/.pm2/pm2.pid
          Restart=on-failure
          
          ExecStart=/home/julian/.nvm/versions/node/v24.16.0/lib/node_modules/pm2/bin/pm2 resurrect
          ExecReload=/home/julian/.nvm/versions/node/v24.16.0/lib/node_modules/pm2/bin/pm2 reload all
          ExecStop=/home/julian/.nvm/versions/node/v24.16.0/lib/node_modules/pm2/bin/pm2 kill
          
          [Install]
          WantedBy=multi-user.target
          
          Target path
          /etc/systemd/system/pm2-julian.service
          Command list
          [ 'systemctl enable pm2-julian' ]
          [PM2] Writing init configuration in /etc/systemd/system/pm2-julian.service
          [PM2] Making script booting at startup...
          [PM2] [-] Executing: systemctl enable pm2-julian...
          [PM2] [v] Command successfully executed.
          +---------------------------------------+
          [PM2] Freeze a process list on reboot via:
          $ pm2 save
          
          [PM2] Remove init script via:
          $ pm2 unstartup systemd
          pm2 startup command done
          configure the pm2 config file for MagicMirror
          rename pm2 process in pm2_MagicMirror.json
          the user is not pi
          change pm2_MagicMirror.json
          now using this config file pm2_MagicMirror_new.json
          start MagicMirror via pm2 now
          save MagicMirror pm2 config now
          stop MagicMirror via pm2 now
          We're ready! Run pm2 start MM from the ~/MagicMirror directory to start your MagicMirror.
          
          S 2 Replies Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @DerHerrB
            last edited by sdetweil

            @DerHerrB thanks. Did you install node 24 in advance?

            There is a problem w node 24

            So do

            pm2 stop all 
            cd ~/MagicMirror 
            rm -rf node_modules
            rm package-lock.json
            sudo npm install -g n
            sudo n 22.22.1
            hash -r
            node -v
            

            If that produces 22.22.1 ,
            then do

            npm run install-mm 
            

            And because you selected pm2

            installers/mm.sh
            

            MagicMirror should launch now

            Please advise results to here

            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 @DerHerrB
              last edited by sdetweil

              @DerHerrB I see the first scripted run had a problem w a docker update.

              Sounds like you did some other things before MagicMirror

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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