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.

    Problem with instalation on raspbian

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 2 Posters 841 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.
    • E Offline
      Ety60
      last edited by

      I did it and it was successful. But what do I do now to restart the MagicMirror software? It still doesn’t work with this:

      cd MagicMirror
      
      npm run start
      

      I’m using an rpi 4 for this project.

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

        @Ety60 when u did the install, did u say yes to pm2?

        if so, then pm2 start 0 should work, also npm start should work

        if you did use pm2, then it will start at boot, so npm start would try to start a second copy.

        pm2 status will show u what is running

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • E Offline
          Ety60
          last edited by

          The program did not ask me to install pm2.

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

            @Ety60 then u did not use my script.
            does ~/install.log exist?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • E Offline
              Ety60
              last edited by

              yes ~·install.log exist. So I think I used your script.

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

                @Ety60 and it should have prompted you, “Do you want to use pm2 to autostart your MagicMirror”

                if u said n, and want to fix it, you can use the fixuppm2.sh script

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Ety60
                  last edited by

                  @sdetweil I tried to run the entire script again and this time asked me for pm2. It worked and MagicMirror now works. Thank you very much for your help!

                  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