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

    Posts

    Recent Best Controversial
    • RE: (Solved) PM2 does not start on reboot

      @amanzimdwini said in (Solved) PM2 does not start on reboot:

      Where do you change the timeout settings?

      /etc/systemd/system/pm2-root.service
      

      I changed mine from 8 to 15s using WinSCP with the SCP/Shell set to sudo su -

      posted in Troubleshooting
      X
      xbmcnut
    • RE: (Solved) PM2 does not start on reboot

      @amanzimdwini I have resolved it now as I posted a bug. Turns out it’s related to the timeout setting for the PM2 service. Developers are going to remove timeout in next release but for now it can be tweaked. And no, had no joy with screensaver either. Disabled it in GUI and it seems to be gone now.

      https://github.com/Unitech/pm2/issues/2765#issuecomment-286778941

      posted in Troubleshooting
      X
      xbmcnut
    • RE: (Solved) PM2 does not start on reboot

      OK, I started again with a clean install of the full Jessie build now then leaned it out using this guide. As before, once I start going through with the PM2 stuff, everything seems to work OK until a reboot and MM does not start. Surely someone else has seen this? Am I making a simple NOOB mistake here or does it just not work?

      0_1489547666665_upload-72de88bb-d0f6-46ed-884c-38ce64503343

      posted in Troubleshooting
      X
      xbmcnut
    • (Solved) PM2 does not start on reboot

      Hi there. I have MM running but the auto start feature is not working. See below.

      0_1489442964694_upload-015b7538-a813-476d-936c-8b0cfcc3645a

      PM2 is version 2.4.2 and the MM install was built on Jessie Lite (2017-03-02) on a Pi2. I can start the script with PM2 start mm.sh and use PM2 save when it’s running but PM2 list after a reboot shows nothing running. How do I debug this?

      I noted that when following the auto start instructions, chmod +x mm.sh returned a permissions error. Is that normal? Does that have to be run as sudo? I changed the permissions to the ‘Pi’ user using WinSCP but it made no difference.

      0_1489443276731_upload-dad08d4d-bdc7-4e6a-96ff-a6eef7c12ae5

      posted in Troubleshooting
      X
      xbmcnut
    • RE: start on reboot

      OK, here seems to be the problem after a reboot; MM doesn’t exist. Anyone help with that?

      0_1489399154131_upload-11cdce11-27e8-4035-ace2-552205eb0546

      posted in Troubleshooting
      X
      xbmcnut
    • RE: start on reboot

      OK, did pm2 restart mm and now have a better result. Am I right to issue pm2 save after that?

      0_1489398453521_upload-00e37575-c508-4665-b348-1be887be8cb0

      posted in Troubleshooting
      X
      xbmcnut
    • RE: start on reboot

      @KirAsh4 Thanks for the screenshots. I’m having trouble with mine starting after a reboot too and when I run pm2 list, it does not show a PID even though MM is working. Is that why it won’t start on reboot?

      0_1489397924822_upload-5ea2ce1a-ac9b-46bf-b907-33133f2ff9ac

      posted in Troubleshooting
      X
      xbmcnut
    • [SOLVED] Anyone tried MMM-mqtt?

      Hi there,

      First time user and loving this after stumbling across it on YouTube. First mirror demo up and running on Jessie Lite albeit without the screensaver or auto start working but I was wondering if anyone has tried MMM-mqtt? I have it configured and it is connecting to my broker but when I’m publishing to the topic the MM is subscribed to, no data appears on the screen.

      I’ve logged an issue here but would appreciate it if anyone could let me know if there’s is working and paste their config. :confused:

      [UPDATE 25TH July 2017]. See my issue here https://github.com/javiergayala/MMM-mqtt/issues/1. @javiergayala has modified the instructions now to ensure you have a MQTT client installed first otherwise MMM-mqtt won’t work.

      posted in Troubleshooting
      X
      xbmcnut
    • 1 / 1