MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED No autostart after booting

    Troubleshooting
    2
    2
    400
    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.
    • D
      debaetstony last edited by

      I wanted to test a new module, so installed a new MagicMirror. After restarting it did nothing. Autostart did not work.
      Not on 2019-04-08-raspbian-stretch or 2019-09-26-raspbian-buster

      This is what I am doing now to get autostart working again.

      After restart give the following commands:

      pm2 unstartup systemd
      pm2 stop
      pm2 kill
      pm2 startup
      sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
      pm2 start  MagicMirror/installers/pm2_MagicMirror.json
      pm2 save
      

      Works for me.

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

        @debaetstony cool, thx

        I also have an updated installer that fixes that
        https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

        and a pm2 only fixer script
        https://forum.magicmirror.builders/topic/10907/new-script-to-install-fix-pm2-config-for-start-on-boot

        we are testing these, and I am going to try to get them into the next release

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy