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.

    updated installer script available for testing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    211 Posts 18 Posters 287.2k Views 19 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by

      [PM2] Remove init script via:
      $ pm2 unstartup systemd
      [PM2] Spawning PM2 daemon with pm2_home=/home/pop/.pm2
      [PM2] PM2 Successfully daemonized
      [PM2][WARN] Applications MagicMirror not running, starting...
      [PM2] App [MagicMirror] launched (1 instances)
      ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ MagicMirror │ 0  │ 2.6.0   │ fork │ 1976 │ online │ 0       │ 0s     │ 0%  │ 3.0 MB   │ root │ enabled  │
      └─────────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      [PM2][ERROR] Permission denied, to give access to current user:
      $ sudo chown pop:pop /home/pop/.pm2/rpc.sock /home/pop/.pm2/pub.sock
      Do you want to disable the screen saver? (y/N)?
      

      Im choosing no and continuing

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        We're ready! Run DISPLAY=:0 npm start from the ~/MagicMirror directory to start your MagicMirror.
        pop@CQ57:~$ 
        

        Mirror started automatically. No need to run a command. No need to create a config. Nice work Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @sdetweil
          last edited by

          @sdetweil said in Anyone want to try updated installer...:

          bash -c “$(curl -sL https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0)”

          Just in case anyone else wants to test this, don’t use the example in the original post. Try this instead:

          bash -c "$(curl -sL https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0)"

          Create a working config
          How to add modules

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

            @Mykle1 but I fixed the original post

            ah, i see, needs to be in the backtics to preserve the quotes…
            fixed AGAIN!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              the new installer referenced here is now part of the base at 2.8.0, released July 1, 2019

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              Mykle1M 1 Reply Last reply Reply Quote 2
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @sdetweil
                last edited by

                @sdetweil

                You’re awesome! :thumbsup:

                Create a working config
                How to add modules

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

                  @Mykle1 not my point, or interest.

                  Don’t follow links in this topic anymore.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  StoffbeuteluweS Mykle1M 2 Replies Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor @sdetweil
                    last edited by

                    @sdetweil now the Automatic installer works for Mac and Windows…is that right?

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

                      @Stoffbeuteluwe it should… i have not tried on windows.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @sdetweil
                        last edited by

                        @sdetweil have you tried on Mac ?
                        does it work with pm2

                        S 2 Replies Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Stoffbeuteluwe
                          last edited by sdetweil

                          @Stoffbeuteluwe looks like it doesn’t,
                          working on it

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @sdetweil
                            last edited by

                            @sdetweil said in Anyone want to try updated installer...:

                            not my point, or interest.

                            I can say you’re awesome. You can’t stop me.

                            You’re awesome!

                            Create a working config
                            How to add modules

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

                              @Stoffbeuteluwe interested in trying on mac… works for me… startup is slow after logon… but it starts

                              bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
                              

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                              • StoffbeuteluweS Offline
                                Stoffbeuteluwe Project Sponsor @sdetweil
                                last edited by

                                @sdetweil thanks for helping

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

                                  @Stoffbeuteluwe were you able to try the installer on mac? did it work?

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                                  • StoffbeuteluweS Offline
                                    Stoffbeuteluwe Project Sponsor @sdetweil
                                    last edited by

                                    @sdetweil I have tried the the normal installation of pm2 …maybe 2 errors on installation but it works fine for me

                                    S 1 Reply Last reply Reply Quote 0
                                    • StoffbeuteluweS Offline
                                      Stoffbeuteluwe Project Sponsor @sdetweil
                                      last edited by

                                      @sdetweil thanks 🙏 for your help

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

                                        @Stoffbeuteluwe but not the new script? just checking…

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • StoffbeuteluweS Offline
                                          Stoffbeuteluwe Project Sponsor @sdetweil
                                          last edited by

                                          @sdetweil is your script the complete install off MM and pm2 or do I have to install first MM an than the script?

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

                                            @Stoffbeuteluwe new complete installer, pm2 as well

                                            once tested I intend to submit this to the project to replace the existing installer

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 2 / 11
                                            • 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