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.

    MMM-Globe

    Scheduled Pinned Locked Moved Entertainment
    118 Posts 32 Posters 156.4k Views 37 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 @greedyvegan
      last edited by sdetweil

      @greedyvegan you will need to enable the gpu in the system boot.txt

      AND

      tell MagicMirror electron to use it

      export ELECTRON_ENABLE_GPU=1
      

      in the script before

      npm  start
      

      if you used my script to install MagicMirror , that is ~/MagicMirror/installers/mm.sh

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        greedyvegan @sdetweil
        last edited by greedyvegan

        @sdetweil

        like this?
        Screenshot 2024-10-10 at 5.49.34 PM.png

        I got this error
        [PM2][ERROR] File ecosystem.config.js not found

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

          @greedyvegan that pm2 error is usually caused by using sudo sometime when you shouldn’t

          what happened before that? is that the first time w pm2

          maybe

          pm2 status
          pm2 delete xxx
          where xxx is the name or number on the MagicMirror line

          then run my fixuppm2 script

          pm2 seems fragile recently. not sure why

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            greedyvegan @sdetweil
            last edited by greedyvegan

            @sdetweil

            i accidently ran pm2 start instead of pm2 start mm
            then it returned

            [PM2][ERROR] File ecosystem.config.js not found

            then i ran pm2 start mm
            then it returned

            [PM2][ERROR] Script not found: /home/thecastle/MagicMirror/mm

            status
            Screenshot 2024-10-10 at 6.37.50 PM.png

            after pm2 delete 0
            Screenshot 2024-10-10 at 6.38.56 PM.png

            after pm2 save

            Screenshot 2024-10-10 at 6.39.49 PM.png

            update -
            it’s currently running (it was always running, it just had a weird error)
            and told me to copy/paste

            sudo env PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi

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

              @greedyvegan yep, that’s why you run my script. lots of things to do

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                greedyvegan @sdetweil
                last edited by

                @sdetweil

                thank you very much!

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 3
                • 4
                • 5
                • 11
                • 12
                • 2 / 12
                • 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