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 Crashed twice. Time to abandon MM?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    10 Posts 3 Posters 2.5k Views 2 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
      MadScientist
      last edited by

      Did you do the thing with the dtoverlay=vc4-fkms-v3d in your config.txtas it’s written in the Wiki? What’s the ambient temperature? Mine is running between 62°C and 65°C with peaks at 67°C at 27°C room temperature. It also crashes fairly often. I basically have to restart it every morning but for the moment I blame the buck converter which might have problems with the temperature and the load. I will see after I improved cooling.

      If you don’t display the MM on a screen connected to the Pi I suppose node serveronlywill do the job better. Just give it a try and report back.

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238 @MadScientist
        last edited by

        @madscientist

        I tried

        dtoverlay=vc4-fkms-v3d
        

        That doesn’t work for me, MM boots to a few lines about blocks, then nothing else.
        (see https://forum.magicmirror.builders/topic/7554/applied-change-to-config-txt-mm-fails-to-boot/6)

        I used rpi config instead.

        Ambient room temp is about 23/24C

        “buck converter”?

        Will try serveronly when I get a moment.

        1 Reply Last reply Reply Quote 0
        • bheplerB Offline
          bhepler Module Developer @Richard238
          last edited by

          @richard238 - If you’re viewing the Magic Mirror interface away from the Pi itself, then yeah I think it’s worth not starting the Electron service and running node serveronly. A significant portion of the issues with the Magic Mirror framework have been connected to the… inability of Electron to display the interface efficiently.

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Richard238 @bhepler
            last edited by

            How then do I convert my existing MM to serveronly?

            All the instructions seem to be for making a serveronly MM from the start.

            Thanks.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MadScientist @Richard238
              last edited by

              @richard238 Just enter your MM directory (e.g. cd Magicmirror) and run node serveronly. That should be all. Don’t forget to whitelist the IP of your remote computer, which will display MM.

              1 Reply Last reply Reply Quote 0
              • R Offline
                Richard238
                last edited by

                Ok, I’ll try that, thank you.

                How do I get it back if I want to?
                And can I still VNC to the Pi desktop?

                bheplerB 1 Reply Last reply Reply Quote 0
                • M Offline
                  MadScientist
                  last edited by MadScientist

                  Not sure since I don’t use the node serveronlyin my setup but a simple ctrl+cmight do the trick. Or you use pm2. Make a short script with nano mm_so.shand paste the following (make sure your MagicMirror directory is correct)

                  cd ~/MagicMirror
                  node serveronly
                  

                  ctrl+xfollowed by a confirmation with ywill save it. Then type chmod a+x mm_so.sh.
                  If you have pm2 installed you can then just run it by typing pm2 start mm_so.sh. You stop it again by just entering pm2 stop mm_so.

                  Disclaimer: I haven’t tried any of the above and it might contain errors or be simply wrong. Just give it a try. It doesn’t break anything.

                  1 Reply Last reply Reply Quote 1
                  • bheplerB Offline
                    bhepler Module Developer @Richard238
                    last edited by

                    @richard238 - To supplement @MadScientist excellent post, VNC works regardless of the Magic Mirror process state.

                    The default installation of Magic Mirror via the script uses pm2 to run a script at /home/pi/MagicMirror/run-start.sh. You can follow the instructions above to create your own script to run Magic Mirror in serveronly mode and switch between the two as you see fit.

                    pm2 stop MagicMirror
                    pm2 start mm_so
                    

                    and so on and so forth. Do keep in mind that running the MagicMirror process with the interface enabled includes the web server. So your options are 1) full magic mirror with web server, and 2) web server only.

                    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