Read the statement by Michael Teeuw here.
updated installer script available for testing
-
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
-
@sdetweil this installer script is now the script in 2.10…
I will close/lock this topic in a couple days
-
The next installation I do, I will. Not that it helps you now. :-/
-
@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…
-
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:
-
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:~$ -
@Mykle1 try now… I commented out the PI test
-
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?
-
@Mykle1 redo the cut/paste… the original had the funky double quotes in it…
-
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
-
@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…
-
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
-
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
-
[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
-
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
-
@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)" -
@Mykle1 but I fixed the original post
ah, i see, needs to be in the backtics to preserve the quotes…
fixed AGAIN! -
the new installer referenced here is now part of the base at 2.8.0, released July 1, 2019
-
You’re awesome! :thumbsup:
-
@Mykle1 not my point, or interest.
Don’t follow links in this topic anymore.
-
@sdetweil now the Automatic installer works for Mac and Windows…is that right?
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