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 286.0k 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.
    • S Offline
      sdetweil
      last edited by sdetweil

      I have updated the installer script…

      correct node/npm version checks failing
      check and install npm < — this is the big one
      fix pm2 setup for current userid
      (on my system it isn’t pi)

      curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh | bash

      let me know

      edited: Jan 4, 2020 move distro from dropbox to github

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      Mykle1M M 3 Replies Last reply Reply Quote 3
      • S Offline
        sdetweil @sdetweil
        last edited by

        @sdetweil this installer script is now the script in 2.10…

        I will close/lock this topic in a couple days

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil

          The next installation I do, I will. Not that it helps you now. :-/

          Create a working config
          How to add modules

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

            @Mykle1 no problem… install hasn’t been fixed for a while, and more and more new users are having trouble due to the npm issue… time to try and fix that… and my system isn’t a pi… but an odroid , with a new sbc system coming… (Nvidia Jetson Nano) so I want to be ready…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil

              I tip my hat to you for taking the initiative. I could, if you wanted, take a laptop with ubuntu on it and test it for you now. It’s not a big deal. Just say the word. :thumbsup:

              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 Mykle1

                I’m just gonna do it. I’ll report back in a bit.

                EDIT MINUTES LATER:

                It appears I jumped the gun here. This was intended for Pi users only? Sorry bro. The only Pi I have is running my first mirror and I wouldn’t touch that.

                pop@CQ57:~$ bash -c “$(curl -sL https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0)”
                bash: “#!/usr/bin/env: No such file or directory
                pop@CQ57:~$ 
                

                Create a working config
                How to add modules

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

                  @Mykle1 try now… I commented out the PI test

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil

                    Will do. Gonna do that now. I will report back.

                    EDIT:

                    I used the same url and got the same error as noted above. Perhaps I am doing something wrong?

                    Create a working config
                    How to add modules

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

                      @Mykle1 redo the cut/paste… the original had the funky double quotes in it…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil

                        Just to be clear. I ran the original command twice. No luck.

                        I copy and pasted it a third time when you said you have commented out things. No luck same error.

                        Then I copied the script itself into a file and renamed it raspberry.sh and made it executable by chmod u+x raspberry.sh and saved that to home and ran the install script again. No luck. Same error.

                        I’m sorry I’m not being much help

                        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 ok, again… that was the 1st line… why that way, not sure… try again

                          but I know why it was done, altho I don’t think that is needed…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil

                            Ok, its running now. I failed to fix the bad quotes so that may have been the problem with my first 3 attempts. I will report when it completes

                            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

                              Check plymouth installation ...
                              Splashscreen: Checking themes directory.
                              Splashscreen: Create theme directory if not exists.
                              Splashscreen: Theme copied successfully.
                              sudo: plymouth-set-default-theme: command not found
                              Splashscreen: Couldn't change theme to MagicMirror!
                              Do you want use pm2 for auto starting of your MagicMirror (y/N)?
                              
                              

                              I’m choosing yes 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

                                [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

                                              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
                                              • 1 / 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