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.

    MM2 not loading text

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    22 Posts 4 Posters 6.1k Views 3 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.
    • swvalentiS Offline
      swvalenti Project Sponsor @sdetweil
      last edited by

      Did the IP change by chance? Check to see if IP is static and ssh into pi that way.

      B 1 Reply Last reply Reply Quote 1
      • B Offline
        Beth @swvalenti
        last edited by

        @swvalenti how do i check?

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

          @beth check your router to see if the system has a reserved address

          u can find its address with
          ifconfig command in a terminal window

          ethxx is ethernet wired
          wlanxx is wireless lan

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          swvalentiS 1 Reply Last reply Reply Quote 0
          • swvalentiS Offline
            swvalenti Project Sponsor @sdetweil
            last edited by

            @Beth what Sam said

            1 Reply Last reply Reply Quote 0
            • B Offline
              Beth
              last edited by

              UPDATE: there is a command window that papers on the boot up screen it does not leave i connected keyboard/mouse to it and can enter commands like a terminal window although pm2start will not work and npm start gives the following err (note i copied this by hand so there may be slight imperfections)

              npm ERR! code ENOENT
              npm ERR! sysca11 open
              npm ERR! path /home/pi/package . json
              npm ERR! errno -2
              npm ERR! enoent no such file or directory, open ‘/home/pi/package . jason’
              npm ERR! enoent This is related to npm not being able to find a file.
              npm ERR! enoent

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

                @beth said in MM2 not loading text:

                /home/pi/

                u are not in the MagicMirror folder for npm start

                and its pm2 start (notice the space)

                pm2 status will show u the pm2 currently managed apps

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil i did that and it gave me the following err:
                  [PM2] spawning PM2 daemon with pm2 _home=/home/pi.pm2
                  [PM2] PM2 successfully daemonized
                  [PM2] [ERROR] Script not found: /home/pi/MagicMirror/mm.sh

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

                    @beth said in MM2 not loading text:

                    : /home/pi/MagicMirror/mm.sh

                    ok, you used some old instructions, cause the file was moved to the installers folder a long time ago…

                    pm2 status
                    pm2 delete xx
                    where xx is the number of the line in the status (usually 0)
                    or the name in the line

                    pm2 save

                    then use my script to fixup pm2
                    see https://github.com/sdetweil/MagicMirror_scripts

                    the last command listed, fixuppm2.sh is the one u want to copy/paste to your terminal window

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      Beth
                      last edited by

                      @sdetweil how do i use your script?

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

                        @beth said in MM2 not loading text:

                        how do i use your script?

                        it says

                        fixuppm2.sh, cut/paste this line into the terminal window on your device
                        

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