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

MM shuts down after an hour

Scheduled Pinned Locked Moved Bug Hunt
18 Posts 3 Posters 3.8k 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 @Lazershrimp
    last edited by Jan 25, 2023, 1:15 AM

    @Lazershrimp how do you start mm?

    npm start
    pm2
    

    did u upgrade the base os?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    L 1 Reply Last reply Jan 25, 2023, 11:37 AM Reply Quote 0
    • L Offline
      Lazershrimp @sdetweil
      last edited by Jan 25, 2023, 11:37 AM

      @sdetweil Yes, I use PM2 to start MM. If you by base OS mean RPi OS, then yes.

      S 1 Reply Last reply Jan 25, 2023, 1:29 PM Reply Quote 0
      • S Offline
        sdetweil @Lazershrimp
        last edited by Jan 25, 2023, 1:29 PM

        @Lazershrimp can u minimize mm ctrl-m and use the preferences (top left menu)
        to see if blank screen was turned back on?

        or from a terminal or ssh window, run my screensaveroff script from

        https://github.com/sdetweil/MagicMirror_scripts

        next to the last thing listed on the page, copy/paste the one line

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply Jan 26, 2023, 1:38 PM Reply Quote 0
        • J Offline
          jasondreher
          last edited by Jan 25, 2023, 4:24 PM

          I had a similar issue, the screen would go black after an hour or so (never the login screen just always went black). On of my modules was not compatible with the upgrade. Once I removed that module all was well.

          S 1 Reply Last reply Jan 25, 2023, 4:49 PM Reply Quote 0
          • S Offline
            sdetweil @jasondreher
            last edited by sdetweil Jan 25, 2023, 4:49 PM Jan 25, 2023, 4:49 PM

            @jasondreher can u tell me about that module? I like to keep track of troubles users experience

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Jan 25, 2023, 11:46 PM Reply Quote 0
            • J Offline
              jasondreher @sdetweil
              last edited by jasondreher Jan 25, 2023, 11:46 PM Jan 25, 2023, 11:46 PM

              @sdetweil
              https://github.com/scottcl88/MMM-DynamicWeather

              Once I removed this module I had no issues.

              S 1 Reply Last reply Jan 25, 2023, 11:59 PM Reply Quote 0
              • S Offline
                sdetweil @jasondreher
                last edited by Jan 25, 2023, 11:59 PM

                @jasondreher that module suffers from this

                https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • L Offline
                  Lazershrimp @sdetweil
                  last edited by Jan 26, 2023, 1:38 PM

                  @sdetweil said in MM shuts down after an hour:

                  or from a terminal or ssh window, run my screensaveroff script from
                  https://github.com/sdetweil/MagicMirror_scripts
                  next to the last thing listed on the page, copy/paste the one line

                  Thanks, I am now trying the screensaveroff script. Will have to wait for an hour to see if it works.

                  @sdetweil said in MM shuts down after an hour:

                  @jasondreher that module suffers from this
                  https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1

                  I have checked my modules for the package.json files, all good

                  S 1 Reply Last reply Jan 26, 2023, 2:04 PM Reply Quote 0
                  • S Offline
                    sdetweil @Lazershrimp
                    last edited by Jan 26, 2023, 2:04 PM

                    @Lazershrimp you are not checking for package.json, except to apply the fix

                    the fix is to

                    npm install xxxx

                    where xxx is the missing library as found in the log error messages

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    L 1 Reply Last reply Jan 26, 2023, 2:22 PM Reply Quote 0
                    • L Offline
                      Lazershrimp @sdetweil
                      last edited by Jan 26, 2023, 2:22 PM

                      @sdetweil said in MM shuts down after an hour:

                      @Lazershrimp you are not checking for package.json, except to apply the fix
                      the fix is to
                      npm install xxxx
                      where xxx is the missing library as found in the log error messages

                      This I don’t understand. You write in “fix for black screen in 2.16 and later” that some MM modules used libraries, which are now removed.

                      By navigating to the module folder and running “ls package.json”, I am checking whether the module contains this file or not, yes? If it does not, the fix is to install it by typing “npm init -y”

                      But since my modules all seem to contain the package.json, I’m guessing that this is not what causes my problem.

                      Or am I wrong?

                      S 1 Reply Last reply Jan 26, 2023, 2:42 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/18
                        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