Read the statement by Michael Teeuw here.
updated installer script available for testing
-
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: