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.

    Installation issues - pm2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    18 Posts 2 Posters 3.3k 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.
    • J Offline
      joebowers @sdetweil
      last edited by

      @sdetweil Okay I did all that and the Magic Mirror software starts.
      Should I try:

      pm2 start mm.sh
      pm2 save
      

      As stated in the tutorial?

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

        @joebowers we should clean up the other entries

        I think it

        pm2 delete row_number
        

        (you could use name if the names were unique)

        pm2 --help 
        

        will tell you the command syntax

        pm2 start mm.sh 
        

        if you are in the folder w the mm.sh

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 2 Replies Last reply Reply Quote 0
        • J Offline
          joebowers @sdetweil
          last edited by

          @sdetweil Okay I deleted all the rows, there were 4 of them.
          Then I run

          pm2 start mm.sh
          

          No mirror software but I see this
          mirror_pm2_screenshot3.jpg

          1 Reply Last reply Reply Quote 0
          • J Offline
            joebowers @sdetweil
            last edited by

            @sdetweil In case it helps, I’m seeing this in the pm2 logs
            pm2_logs3.jpg

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

              @joebowers why are you running at root?

              Screenshot_20240208_221735_Chrome.jpg

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                joebowers @sdetweil
                last edited by

                @sdetweil I have no idea. This is where I end up when following this tutorial step by step.
                https://www.raspberrypi.com/tutorials/how-to-build-a-super-slim-smart-mirror/
                Sometimes I I get this message: pm2 root.jpg
                So I type in what is suggested to continue, I assume that makes me root??

                I assume the tutorial, if followed exactly, should work.
                Either it’s not fool proof, or I missing an important step.

                Everything I’ve done is on a new raspberry pi.

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

                  @joebowers I don’t know anything about the tutorial you are following.

                  my recommendation is to start with a fresh sd card flash of the appropriate os. boot, skip updates. open a terminal window or use ssh

                  and then use my script to to install MagicMirror and setup pm2

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

                  I have never seen a tutorial document maintained, and things change constantly.

                  once MagicMirror is running and starting on boot, then you can go back to configuring MagicMirror

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    joebowers @sdetweil
                    last edited by

                    @sdetweil Sounds like a good plan.
                    It does feel like these tutorials are not maintained, there’s always a step that doesn’t work. I’ve tried two now.

                    Thanks for all your help. I’ll let you know if all goes well.

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