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

MM2 not loading text

Scheduled Pinned Locked Moved Unsolved Troubleshooting
22 Posts 4 Posters 4.5k 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.
  • S Offline
    sdetweil @Beth
    last edited by sdetweil Sep 18, 2021, 8:24 PM Sep 18, 2021, 8:24 PM

    @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 Oct 9, 2021, 9:29 PM Reply Quote 0
    • B Offline
      Beth @sdetweil
      last edited by Oct 9, 2021, 9:29 PM

      @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 Oct 9, 2021, 10:39 PM Reply Quote 0
      • S Offline
        sdetweil @Beth
        last edited by Oct 9, 2021, 10:39 PM

        @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 Oct 10, 2021, 7:28 PM Reply Quote 0
        • B Offline
          Beth
          last edited by Oct 10, 2021, 7:21 PM

          @sdetweil how do i use your script?

          S 1 Reply Last reply Oct 10, 2021, 7:26 PM Reply Quote 0
          • S Offline
            sdetweil @Beth
            last edited by Oct 10, 2021, 7:26 PM

            @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
            • B Offline
              Beth @sdetweil
              last edited by Oct 10, 2021, 7:28 PM

              @sdetweil also i did the command and it said to type pm2 save so i did (i don’t remember the txt) then it gave me a err and said if i want to force save to type pm2 save --force i did that and now when i plug in the pi after showing the mm2 screen it just goes to a black screen

              S 2 Replies Last reply Oct 10, 2021, 7:30 PM Reply Quote 0
              • S Offline
                sdetweil @Beth
                last edited by Oct 10, 2021, 7:30 PM

                @beth this is the line you copy/pasted

                bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
                

                right?

                u don’t need to git clone this repo, just copy/paste the line

                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 @Beth
                  last edited by sdetweil Oct 10, 2021, 7:34 PM Oct 10, 2021, 7:32 PM

                  @beth black screen is another problem… (but pm2 launched MM on boot, so pm2 is ok)

                  typically it means a library needed by one of the MM modules you are using is missing
                  (we removed some dead libraries, in 2.16 and 2.17, but many modules didn’t document needing them, so oops…)

                  SO, you need to look at the logs

                  minimize MM, alt-spacebar, n

                  then open a terminal window

                  ctrl-alt-t

                  then type

                  pm2 logs – lines=100

                  and look for module not found

                  we know about

                  request
                  rrule-alt
                  valid-url

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Beth
                    last edited by Nov 27, 2021, 7:39 PM

                    i can’t “minimize” mm2 it is just a black screen with a terminal window it just shows the mm2 logo and to the left a terminal window (it is rlly weird and looks the same as the backround all black)on the bottom left (below the terminal window) it says dphys-swapfile.service

                    S 1 Reply Last reply Nov 27, 2021, 8:49 PM Reply Quote 0
                    • S Offline
                      sdetweil @Beth
                      last edited by Nov 27, 2021, 8:49 PM

                      @beth that is something else.

                      do you have ssh enabled?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Nov 28, 2021, 6:45 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 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