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

Scheduled Pinned Locked Moved Solved Troubleshooting
21 Posts 2 Posters 4.6k 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
    Syosse @sdetweil
    last edited by Oct 22, 2023, 3:43 PM

    @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 Oct 22, 2023, 3:52 PM Reply Quote 0
    • S Offline
      sdetweil @Syosse
      last edited by Oct 22, 2023, 3:52 PM

      @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 Oct 22, 2023, 8:44 PM Reply Quote 0
      • S Offline
        Syosse @sdetweil
        last edited by Oct 22, 2023, 8:44 PM

        @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 Oct 23, 2023, 11:41 AM Reply Quote 0
        • S Offline
          sdetweil @Syosse
          last edited by sdetweil Oct 23, 2023, 11:41 AM Oct 23, 2023, 11:41 AM

          @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 Oct 23, 2023, 12:27 PM Reply Quote 0
          • S Offline
            Syosse @sdetweil
            last edited by Oct 23, 2023, 12:27 PM

            @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 Oct 23, 2023, 12:28 PM Reply Quote 0
            • S Offline
              sdetweil @Syosse
              last edited by Oct 23, 2023, 12:28 PM

              @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 Oct 23, 2023, 12:49 PM Reply Quote 0
              • S Offline
                sdetweil @sdetweil
                last edited by Oct 23, 2023, 12:49 PM

                @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 Oct 23, 2023, 3:17 PM Reply Quote 0
                • S Offline
                  Syosse @sdetweil
                  last edited by Oct 23, 2023, 3:17 PM

                  @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 Oct 23, 2023, 3:48 PM Reply Quote 0
                  • S Offline
                    sdetweil @Syosse
                    last edited by Oct 23, 2023, 3:48 PM

                    @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
                    • 1
                    • 2
                    • 3
                    • 2 / 3
                    2 / 3
                    • First post
                      17/21
                      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