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 logo appears at Boot and then the Raspberry desktop

    Scheduled Pinned Locked Moved Solved Troubleshooting
    21 Posts 2 Posters 8.1k 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.
    • S Offline
      sdetweil @Syosse
      last edited by sdetweil

      @Syosse you don’t need to run all the commands

      the install asks if u want to turn off the screensaver. if you said yes, then it’s done

      if u said no then you would run the screensaver off script it’s the exact same script code. it’s just there if you changed your mind.

      now on to the pm2 thing
      same same. but

      in some systems the automation script has trouble

      do this

      pm2 startup
      

      it will output a command to execute
      copy/paste that command and hit enter

      when it’s done do

      | edited
      pm2 start ~/MagicMirror/installers/pm2_MagicMirror_new.json
      pm2 save
      

      then reboot

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

        @Syosse you don’t need to run all the commands

        the install asks if u want to turn off the screensaver. if you said yes, then it’s done

        if u said no then you would run the screensaver off script it’s the exact same script code. it’s just there if you changed your mind.

        now on to the pm2 thing
        same same. but

        in some systems the automation script has trouble

        do this

        pm2 startup
        

        it will output a command to execute
        copy/paste that command and hit enter

        when it’s done do

        pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
        pm2 save
        

        then reboot

        All right thanks for the Information with the Screensave, now its for me clear.
        I have done u Command but it shows me : [PM2][ERROR] Script not found: /home/Admin/up

        do u know why ?

        2023-10-22 14_33_50-Admin@rapibag-magicmirror_ ~.png

        Thanyk so much!

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

          @Syosse if you used either of my scripts I download that file

          do

          ls ~/MagicMirror/installers -laF
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil is Admin the root user, or the userid u created at SD card startup time?

            pm2 will run as user not root

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

              @sdetweil is Admin the root user, or the userid u created at SD card startup time?

              pm2 will run as user not root

              Admin is the Credentials that i insert at the beginning of Install Raspberry Pi Imager:

              2023-10-22 14_48_13-Raspberry Pi Imager v1.7.5.png

              ls ~/MagicMirror/installers -laF:

              2023-10-22 14_46_20-Admin@rapibag-magicmirror_ ~.png

              Thanks so much!

              S 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @Syosse
                last edited by

                @Syosse can you do

                cat  ~/MagicMirror/installers/pm2_MagicMirror.json
                

                thx

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

                  @Syosse can u also paste the contents of

                  ~/MagicMirror/installers/pm2_setup.log
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                    @Syosse can u also paste the contents of

                    ~/MagicMirror/installers/pm2_setup.log
                    

                    yea of course:

                    2023-10-22 17_17_30-.png

                    Thanks so much!

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

                      @Syosse ok, try this then

                      cat  ~/MagicMirror/installers/pm2_MagicMirror_new.json
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                        @Syosse ok, try this then

                        cat  ~/MagicMirror/installers/pm2_MagicMirror_new.json
                        

                        2023-10-22 17_25_39-Admin@rapibag-magicmirror_ ~_MagicMirror.png

                        thanks so much!

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

                          @Syosse and then if you do

                          pm2 start  ~/MagicMirror/installers/pm2_MagicMirror_new.json
                          

                          if it works, then
                          pm2 save
                          then
                          sudo reboot

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                            @Syosse and then if you do

                            pm2 start  ~/MagicMirror/installers/pm2_MagicMirror_new.json
                            

                            if it works, then
                            pm2 save
                            then
                            sudo reboot

                            Omg it works!!

                            Oh man, what was the problem?

                            Thanks soo much !!!

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

                              @Syosse said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                              Oh man, what was the problem?

                              the pm2 startup generated command fails when in a script suddenly

                              but it works when done manually…

                              I have issue open since May
                              https://github.com/Unitech/pm2/issues/5582

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                                @Syosse said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                                Oh man, what was the problem?

                                the pm2 startup generated command fails when in a script suddenly

                                but it works when done manually…

                                I have issue open since May
                                https://github.com/Unitech/pm2/issues/5582

                                thanks man , unfortunately there is still a problem as soon as I enter the following commands it works and magic mirror starts but after reboot the desktop comes back

                                with this command Magic Mirror starts

                                pm2 start  ~/MagicMirror/installers/pm2_MagicMirror_new.json
                                
                                

                                after this command it still works

                                pm2 save
                                

                                and after this reboot command the raspberry pi restarts and it shows the desktop instead Magic Mirror.

                                 sudo reboot
                                

                                2023-10-22 22_43_02-Window.png

                                thanks so much

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

                                  @Syosse did you execute the command output from first

                                  pm2 startup 
                                  

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                                    @Syosse did you execute the command output from first

                                    pm2 startup 
                                    

                                    yea of course:

                                    
                                    Admin@magicmirror:~ $ pm2 startup
                                    [PM2] Init System found: systemd
                                    [PM2] To setup the Startup Script, copy/paste the following command:
                                    sudo env PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u Admin --hp /home/Admin
                                    
                                    
                                    

                                    thanks so much

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

                                      @Syosse and copy paste THAT command and execute it

                                      sudo env…

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @Syosse we got it working in chat

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                                          @Syosse we got it working in chat

                                          Finally it works many many thanks to @sdetweil

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

                                            @Syosse and your troubles convinced me to look at the pm2 setup problem from the script, and I was able to see the issue and fix it for others…

                                            thanks…
                                            Sam

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