MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. JMac
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 80
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: pm2 no longer launching MM

      may sound like a daft question but how do I rename the magicmirror folder? I’ve run your back up (hopefully).

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil I’m away with work until Friday but obviously want to try and get to the bottom of this.
      I’ll likely end up moving the mirror to somewhere way closer to the WiFi router.
      Will this stay open until the end of the week?

      Out of curiosity when launching via pm2 should it (in the little box that pops up in terminal) mention fork?

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil after running the npm install now getting a different ENOTEMPTY for nodes_modules/basic-auth.
      Same issue of directory not empty

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil this is on a 3b+.
      when running npm install I’m now back to an error for ENOTEMPTY for node_modules/ansi-escapes.
      it says directory not empty.
      I think it wants it renamed no_modules/.ansi-escapes-TiTd7xs1

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil when I run npm start from the MM folder I get:

      magicmirror@2.23.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      sh: 1: ./node_modules/.bin/electron: not found

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil Managed to run it a second time and everything seems happy, however, the pm2 start mm.sh still isn’t launching the MM itself.
      Is there any other way to launch the mirror, or a way to check why it’s suddenly lost function (it was always happy launching and stopping the MM) ?

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil Sorry to double reply, I ran the last 2 again and they worked ok, right up until the very end of the npm install when I got an ERR_SOCKET_TIMEOUT.
      I’m assuming this is a wifi strength issue as the position of this mirror means it struggles at times.

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil yes ran all three lines you posted.

      posted in Troubleshooting
      J
      JMac
    • RE: pm2 no longer launching MM

      @sdetweil Thanks for your reply, your helping of others has helped me out endlessly with this project.
      I run the npm install then get an error ENOTEMPTY around /home/pi/MagicMirror/node_modules/ansi-escapes.
      saying the directory isn’t empty.

      posted in Troubleshooting
      J
      JMac
    • pm2 no longer launching MM

      Hey guys, frequent searcher of this forum but this issue is the first which has me completely stuck and not able to solve with lots of Googling.

      MY MM prompted an update last week, which I did following the update guidance on the main builder site. Part way through the update failed, I had to go away for the bank holiday here in the UK and I’m now picking it back up.

      As per the title I launch the magicmirror in terminal using pm2 start mm.sh (it’s always worked) it says it’s done but then the MM never actually launches.

      when I check the pm2 logs I get an error around a directory no being empty and the node_module engine.io needing renaming.
      any thoughts on sorting this? I don’t know if this is just the first hurdle or the only reason the MM is no longer launching.
      I don’t have a programming background so please be gentle.
      Cheers.

      posted in Troubleshooting
      J
      JMac
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 8 / 8