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 4.2k 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

      @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 Reply Quote 0
      • S Offline
        sdetweil @TomOMaley
        last edited by sdetweil

        @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 Reply Quote 0
        • T Offline
          TomOMaley @sdetweil
          last edited by

          @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 Reply Quote 0
          • S Offline
            sdetweil @TomOMaley
            last edited by

            @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 Reply Quote 0
            • T Offline
              TomOMaley @sdetweil
              last edited by

              @sdetweil ???

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

                @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 Reply Quote 0
                • T Offline
                  TomOMaley @sdetweil
                  last edited by

                  @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

                    @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 Reply Quote 0
                    • S Offline
                      sdetweil @TomOMaley
                      last edited by

                      @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

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