• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Problems mit config.js

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 4 Posters 7.9k Views 4 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.
  • H Offline
    Hakupapa
    last edited by Nov 18, 2016, 12:08 PM

    Thx for helping. I have done this in this way (but with pm2 start mm.sh) and I allready became the Raspian Desktop :(

    1 Reply Last reply Reply Quote 0
    • O Offline
      ostfilinchen
      last edited by Nov 18, 2016, 12:09 PM

      do you do this via ssh or directly on the raspi?

      1 Reply Last reply Reply Quote 0
      • O Offline
        ostfilinchen
        last edited by Nov 18, 2016, 12:17 PM

        i have testet is myself via ssh.

        pm2 stop mm -> pm2 delete mm -> pm2 save

        then

        sudo reboot

        After the reboot there is no mm in the processlist. Now i do pm2 start mm.sh and pm2 status. At the End sudo reboot. When the raspi is up, the mirror starts without any Problems via pm2.

        Is it possible, that anything goes wrong during the Installation of pm2?

        1 Reply Last reply Reply Quote 0
        • H Offline
          Hakupapa
          last edited by Nov 18, 2016, 1:51 PM

          Ich have tested directly and with ssh. Ich will try to install pm one more time.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Hakupapa
            last edited by Nov 18, 2016, 10:30 PM

            I allready tried your way step by step. Everything worked but not the autostart of the mm. I just can start it manually with pm2 start mm.sh
            Don´t know how to get a autostart for the mm.
            Here is the information from the pm2 status:
            ┌──────────┬────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────────┐
            │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │
            ├──────────┼────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────────┤
            │ mm │ 0 │ fork │ 1123 │ online │ 0 │ 6s │ 0% │ 2.3 MB │ disabled │
            └──────────┴────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────────┘
            Use pm2 show <id|name> to get more details about an app

            J 1 Reply Last reply Nov 19, 2016, 6:55 AM Reply Quote 0
            • J Offline
              Jopyth Moderator @Hakupapa
              last edited by Jopyth Nov 19, 2016, 6:56 AM Nov 19, 2016, 6:55 AM

              @Hakupapa The autostart should happen automatically. Once you start the mirror with pm2 restart and it is running, and then do pm2 save, pm2 should save the current status (which is, your mirror application is running), and try to restore it after a reboot, or even after the program crashes.

              If it really does not do this, maybe try updating as described here?

              Helpful sticky: How to troubleshoot

              1 Reply Last reply Reply Quote 0
              • H Offline
                Hakupapa
                last edited by Nov 19, 2016, 7:08 AM

                speciall thx my dear. I have reached the problem in another way. I wrote this command into the rc.local:
                su pi -c ‘/home/pi/mm.sh &’
                And now I have the MM after reboot. I am so happy :)

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                2 / 2
                • First post
                  11/17
                  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