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.

    MMPM doesn't work after reboot

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 182 Views 2 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.
    • D Offline
      dcoistek
      last edited by

      Hello,

      I am very new to this and have just finished building my first Magic Mirror. I am starting to get acquainted with modules. I have no Linux background but skilled with web programming languages, and specialize in MSSQL.

      Anyhow, I have installed MMPM using the instructions from the author. It appears to run well. I can access to page, even remotely from another computer. When I turn my Pi off or reboot it however, my Magic Mirror auto starts when it comes back on, but mmpm no longer works. I cannot get it working unless I run “mmpm ui install -y” again.

      I am guessing that I either don’t have something set up right in my MM config or I need to learn how to make things auto-start when my Pi turns on.

      Thanks in advance for any help you can provide.

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

        @dcoistek how did you install MagicMirror? the automated script?
        did you say yes to pm2 to autostart at boot?

        if so you can use pm2 to run another app

        see the help for the pm2 command

        pm2 --help

        in general, by convention, all linux commands are supposed to have help with
        -help of --help

        some may also pro ide a manual file
        accessible thru the man command

        man command_name

        man ls
        man pm2
        etc
        q will edit the man viewer.

        I think mmpm has a process that needs to be started to work

        pm2 start process,_name
        pm2 save
        will set it up for system at boot

        note if the process_nane is a shell script
        it needs to be named with the .sh extension, or you gave to launch the shell in the command to pm2

        pm2 start bash /c script_file_name

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        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 Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy