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

Trouble getting it to start

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 5 Posters 15.6k 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.
  • I Offline
    in_a_days @PhilsterM9
    last edited by in_a_days Jan 17, 2017, 4:07 AM Jan 17, 2017, 4:03 AM

    @PhilsterM9

    No worries, I did the same thing on my first install!

    If you made it this far you should be able to put a fresh copy of Raspbian on your SD Card. Once done, go to the terminal and:

    curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
    

    for a clean install of MM.

    Before it’s going to run, you need to rename/copy the config.js file. Hit the terminal and

    cd MagicMirror/config
    cp config.js.sample config.js
    

    That config.js file is going to be very important in customizing your mirror. Next:

    cd ..
    DISPLAY=:0 nohup npm start
    

    If your mirror software pops up without issue you’re in the clear and can proceed with the Configuration and Auto-Start stuff. But if you’ve got any issues at this point, it ought to be troubleshot before continuing with system changes.

    What ship would bear me ever back across so wide a Sea?

    P 3 Replies Last reply Jan 17, 2017, 4:07 AM Reply Quote 0
    • P Offline
      PhilsterM9 @in_a_days
      last edited by Jan 17, 2017, 4:07 AM

      @in_a_days I’ll clear my sd card and restart the process using your instructions here. I will let you know what happens, thanks!

      1 Reply Last reply Reply Quote 0
      • P Offline
        PhilsterM9 @in_a_days
        last edited by Jan 17, 2017, 4:43 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • P Offline
          PhilsterM9 @in_a_days
          last edited by Jan 17, 2017, 5:22 AM

          @in_a_days Could you explain how to do the
          “cd MagicMirror/config
          cp config.js.sample config.js”
          I can’t get it to work because I don’t know how to do it

          I 1 Reply Last reply Jan 17, 2017, 5:35 AM Reply Quote 0
          • I Offline
            in_a_days @PhilsterM9
            last edited by in_a_days Jan 17, 2017, 5:40 AM Jan 17, 2017, 5:35 AM

            @PhilsterM9

            You need to launch the Terminal to get to the command prompt. Same place from which you launched the MM installer. If you type:

            cd MagicMirror/config

            you should see that you’ve changed directories. Then type:

            cp config.js.sample config.js

            That’s it. MM should be ready to launch.

            What ship would bear me ever back across so wide a Sea?

            P 1 Reply Last reply Jan 17, 2017, 7:49 AM Reply Quote 0
            • P Offline
              PhilsterM9 @in_a_days
              last edited by Jan 17, 2017, 7:49 AM

              @in_a_days As I did as you said, this is what happened which I am not sure if it is supposed to happen0_1484639345331_Photo 17-1-17, 5 30 29 pm.jpg

              I Y 2 Replies Last reply Jan 17, 2017, 7:52 AM Reply Quote 0
              • I Offline
                in_a_days @PhilsterM9
                last edited by in_a_days Jan 17, 2017, 7:53 AM Jan 17, 2017, 7:52 AM

                @PhilsterM9

                Yes! From that screen type:

                cd ..
                

                So you see

                pi@raspberrypi: /MagicMirror $

                then type

                DISPLAY=:0 npm start

                What ship would bear me ever back across so wide a Sea?

                P 1 Reply Last reply Jan 17, 2017, 8:10 AM Reply Quote 0
                • Y Offline
                  yawns Moderator @PhilsterM9
                  last edited by Jan 17, 2017, 8:08 AM

                  @PhilsterM9 said in Trouble getting it to start:

                  I am not sure if it is supposed to happen!

                  Just as a side note: This is linux. No news is good news. By default there is no feedback like “1 file copied”.
                  If you don’t feel comfortable with the shell you can work on your raspberry directly using the file explorer

                  1 Reply Last reply Reply Quote 1
                  • P Offline
                    PhilsterM9 @in_a_days
                    last edited by Jan 17, 2017, 8:10 AM

                    @in_a_days I tried it and it turned on. But when I reboot it, it doesn’t open the magic mirror like it should, even though I did all the pm2 steps. Also how do I change some of the settings of the magic mirror? (eg. timezone etc.)

                    I 1 Reply Last reply Jan 17, 2017, 3:37 PM Reply Quote 0
                    • I Offline
                      in_a_days @PhilsterM9
                      last edited by Jan 17, 2017, 3:37 PM

                      @PhilsterM9

                      That is weird! If you are able to launch the mirror software with

                      DISPLAY=:0 npm start

                      PM2 should definitely work :(

                      If you want to modify system settings like timezone, go to your terminal command line and

                      sudo raspi-config

                      This will allow you modify a LOT of system settings including time zone and keyboard layout. If you’re looking to modify the configuration of modules on your mirror software you need to edit your config.js file. In a new Terminal session:

                      cd MagicMirror/config
                      nano config.js

                      This will allow you to edit your MM config file which holds the specific configuration options for your MM modules.

                      What ship would bear me ever back across so wide a Sea?

                      B P 2 Replies Last reply Jan 17, 2017, 9:11 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        10/23
                        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