• 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.

Magic Mirror with Pi4 OS not working with Pi5

Scheduled Pinned Locked Moved Unsolved Troubleshooting
30 Posts 4 Posters 1.7k Views 4 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.
  • T Offline
    TomOMaley @sdetweil
    last edited by Mar 18, 2025, 11:24 AM

    @sdetweil Hello Sam, in the installers/mm.sh, second line, I find: npm run start:x11 ; should I change this to npm start:wayland OR to npm run start:wayland ?
    AND

    then
    pm2 flush
    pn2 restart mm ! Is it pn2 OR pm2 ?

    S 1 Reply Last reply Mar 18, 2025, 12:41 PM Reply Quote 0
    • S Offline
      sdetweil @TomOMaley
      last edited by sdetweil Mar 18, 2025, 12:46 PM Mar 18, 2025, 12:41 PM

      @TomOMaley

      npm run start:wayland

      good catch

      npm start, is the only shortcut
      all others require npm run

      see the package.json
      scripts
      list for other npm run commands

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Mar 18, 2025, 6:50 PM Reply Quote 0
      • T Offline
        TomOMaley @sdetweil
        last edited by Mar 18, 2025, 6:50 PM

        @sdetweil
        Sorry, don not know, how to edit mm.sh. when I go to ~/MagicMirror/installers/mm.sh I get a long list but can not edit it. When I go to mm.sh via Datei Manager I get only this few lines:
        #!/bin/bash

        This file is still here to keep PM2 working on older installations.

        cd /home/pi5/MagicMirror
        DISPLAY=:0 npm start.
        I have seen that in raspberry config > advanced options one can switch to wayland backends. Could that help here in any way? Sorry but my knowledge in Linux is not really exciting. Thanks for all your effort.

        S 1 Reply Last reply Mar 18, 2025, 8:29 PM Reply Quote 0
        • S Offline
          sdetweil @TomOMaley
          last edited by Mar 18, 2025, 8:29 PM

          @TomOMaley

          there it is

          DISPLAY=:0 npm start
          

          edit

          nano is a terminal windows based
          genie is a graphical editor
          there lots of others

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 1 Reply Last reply Mar 18, 2025, 9:08 PM Reply Quote 0
          • T Offline
            TomOMaley @sdetweil
            last edited by Mar 18, 2025, 9:08 PM

            @sdetweil ???

            S 1 Reply Last reply Mar 18, 2025, 9:16 PM Reply Quote 0
            • S Offline
              sdetweil @TomOMaley
              last edited by sdetweil Mar 18, 2025, 9:20 PM Mar 18, 2025, 9:16 PM

              @TomOMaley you replace npm start
              with npm run start:wayland

              right?

              you said you didnt know how to edit. how do you change config.js?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              T 2 Replies Last reply Mar 18, 2025, 10:39 PM Reply Quote 0
              • T Offline
                TomOMaley @sdetweil
                last edited by Mar 18, 2025, 10:39 PM

                @sdetweil can’t neither write nor do anything in mm.sh

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TomOMaley @sdetweil
                  last edited by Mar 18, 2025, 10:57 PM

                  @sdetweil Thank you so far Sam. I give up and will use my Pi4 where everything runs smothly. It is much to time consuming and frustrating. When I have more time I think I try an MM installation manually from scratch. I really appriciate your help. Can I show my appreciation in any way ?

                  S 2 Replies Last reply Mar 18, 2025, 11:10 PM Reply Quote 0
                  • S Offline
                    sdetweil @TomOMaley
                    last edited by Mar 18, 2025, 11:10 PM

                    @TomOMaley

                    cd ~/MagicMirror/installers
                    nano mm.sh
                    

                    move around with arrow keys, backspace , etc,
                    change

                    then
                    ctrl-o
                    to write file, hit enter
                    ctrl-x to exit

                    this project requires a lot of learning
                    no shortcuts

                    time for a linux class

                    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 @TomOMaley
                      last edited by Mar 19, 2025, 3:38 PM

                      @TomOMaley said in Magic Mirror with Pi4 OS not working with Pi5:

                      When I have more time I think I try an MM installation manually from scratch.

                      just be careful… there are lots of things my script does for you

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 3 / 3
                      3 / 3
                      • First post
                        21/30
                        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