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 256.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 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 21
                        • 22
                        • 1 / 22
                        • 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