MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. dawookie1979
    3. Topics
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 29
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by dawookie1979

    • D

      English Premier League Fixtures/Results
      Troubleshooting • • dawookie1979

      1
      0
      Votes
      1
      Posts
      43
      Views

      D

      Hi All,

      After my sd card crashed i have been reinstalling all my modules. I had the LiveSoccerScore, but now cant seem to get any of these working. Can someone help me get one working. Or point me in the right direction of what to use.

    • D

      Config problems
      Troubleshooting • • dawookie1979

      8
      0
      Votes
      8
      Posts
      74
      Views

      S

      @dawookie1979 u didn’t open it as an issue that is closable, so only can edit the title to add solved

    • D

      UNSOLVED Calender Showing wrong day?
      Troubleshooting • • dawookie1979

      10
      0
      Votes
      10
      Posts
      839
      Views

      Stoffbeuteluwe

      https://forum.magicmirror.builders/topic/8856/calendar-module-1-day-error

    • D

      UNSOLVED PM2 error
      Troubleshooting • • dawookie1979

      13
      0
      Votes
      13
      Posts
      2575
      Views

      D

      I Had Similar i have just moved the pi to boot from sd to SSD that i had and for the life of me a fresh mirror 2.50 version wouldn’t run auto boot for love nor money i used this link in the end and its working well without having to kill everything and start again https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror Hope this helps someone else

      Install PM2 using NPM:

      sudo npm install -g pm2

      Starting PM2 on Boot
      To make sure PM2 can do it’s job when (re)booting your operating system, it needs to be started on boot. Luckily, PM2 has a handy helper for this.

      pm2 startup

      PM2 will now show you a command you need to execute.

      Make a MagicMirror start script.
      To use PM2 in combination with MagicMirror, we need to make a simple shell script. Preferable, we put this script outside the MagicMirror folder to make sure it won’t give us any issues if we want to upgrade the mirror.

      cd ~
      nano mm.sh

      Add the following lines:

      cd ~/MagicMirror
      DISPLAY=:0 npm start

      Save and close, using the commands CTRL-O and CTRL-X. Now make sure the shell script is executable bij performing the following command:

      chmod +x mm.sh

      You are now ready to the MagicMirror using this script using PM2.

      Starting your MagicMirror with PM2
      Simply start your mirror with the following command:

      pm2 start mm.sh

      You mirror should now boot up and appear on your screen after a few seconds.

      Enable restarting of the MagicMirror script.
      To make sure the MagicMirror restarts after rebooting, you need to save the current state of all scripts running via PM2. To do this, execute the following command:

      pm2 save

      And that’s all there is! You MagicMirror should now reboot after start, and restart after any failure.

      Controlling you MagicMirror via PM2.
      With your MagicMirror running via PM2, you have some handy tools at hand:

      Restarting your MagicMirror:

      pm2 restart mm

      Stopping your MagicMirror:

      pm2 stop mm

      Show the MagicMirror logs:

      pm2 logs mm

      Show the MagicMirror process information:

      pm2 show mm

    • 1 / 1