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

MagicMirror fails to start after fresh install

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 4 Posters 5.4k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Wippo
    last edited by Apr 15, 2017, 3:55 PM

    @Wippo said in MagicMirror fails to start after fresh install:

    Hoping for help
    Starting using
    pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start

    Important: npm start does not work via SSH, use DISPLAY=:0 nohup npm start & instead. This starts the mirror on the remote display.

    Are you starting the mirror via SSH? If you are then the command is DISPLAY=:0 nohup npm start & in your MagicMirror directory.

    If you are directly connected to your Pi3 then the command is simply npm start in your MagicMirror directory.

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 1
    • W Offline
      Wippo
      last edited by Wippo Apr 16, 2017, 12:15 PM Apr 15, 2017, 6:01 PM

      Thanks for your advice, but that’s not the reason. I checked it again and the results are the same, independent of starting via SSH or directly.

      Now solved. :-)
      “npm start” has to be executed after starting the graphic desktop

      Wippo

      W L 2 Replies Last reply Apr 15, 2017, 9:46 PM Reply Quote 1
      • W Offline
        Wippo @Wippo
        last edited by Wippo Apr 15, 2017, 9:49 PM Apr 15, 2017, 9:46 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • L Offline
          longod @Wippo
          last edited by Apr 27, 2017, 10:09 PM

          @Wippo Hey! I’m having a similar error message to you. What did you do to solve it?

          W 1 Reply Last reply May 5, 2017, 10:49 AM Reply Quote 0
          • W Offline
            Wippo @longod
            last edited by May 5, 2017, 10:49 AM

            @longod Hi, you have to start the graphic desktop before execution of “npm start” (or similar) from a console. My error was to stop system start at console level.

            Wippo

            1 Reply Last reply Reply Quote 0
            • T Offline
              tritran
              last edited by May 14, 2017, 4:14 PM

              @wippo Hi - can you be more detailed when you say “you have to start the graphic desktop before execution”? I am pretty new to this and have no idea what you mean. I have the exact same errors on the same set up you have. Thank you.

              1 Reply Last reply Reply Quote 0
              • W Offline
                Wippo
                last edited by Wippo May 14, 2017, 4:49 PM May 14, 2017, 4:48 PM

                Hi,
                after powering on the Raspi and waiting a while, you have either a “console” (white letters on a black screen) or graphic desktop (colors and symbols like “Windows”). What you need for the Magic Mirror is the desktop. You can change the boot behavior using “sudo raspi-config”.

                Wippo

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tritran
                  last edited by May 15, 2017, 1:02 AM

                  Thank you. I actually did a new complete install from scratch and got MM to work!

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