Read the statement by Michael Teeuw here.
Does it work with RASPBIAN JESSIE WITH PIXEL
-
Just spent a couple of hours trying to get this running on a Pizero w then give up so moved to Pi 3
The Pi 3 get a bit closer but fails.
Downloaded the latest Raspbian with Pixel put on fresh card
The auto installation starts but give me an error
bash: line 48: unexpected EOF while looking for matching "Then stop, tried it s few time, stops same place everytime.
Can this work OK with Pixel release
-
@raymate Yeah, it works with Raspian & Pixel. That’s the preferred method, actually.
Let’s try this. We’ll remove your failed MagicMirror installation, update your Pi to the latest versions of everything and then re-run the auto-installation.
Start by deleting the last attempt to install the mirror:
cd ~ rm -rf MagicMirror
Next, we’re going to clean out included software that you aren’t going to use for the Mirror and then update the software you are going to use for the Mirror. Each of these four commands is going to take a while. Click “y” when it asks to confirm.
sudo apt-get update sudo apt-get remove --purge idle3 java-common libreoffice* minecraft-pi scratch nuscratch penguinspuzzle python-minecraftpi python3-minecraftpi smartsim sonic-pi wolfram-engine sudo apt-get autoremove sudo apt-get upgrade
At this point, let’s try the automated installer again.
curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
That hopefully should complete with no errors this time. Let us know how it goes.
-
Thank you let me try that.
I shall blank my me card and start fresh
Forgive me for not getting this but should I let the Raspian install and boot into the desktop as a standard fresh install does or should I turn of the auto login?
If I do leave the desktop running do I run the main install line for MM2 from the terminal window launched from the desktop or should I SSH into the Pi from another computer to start the install command line running?
So if I get this right, once I get it working the Pi boots into Pixel then the MM2 will auto run?
Very new to this sorry :)
-
@raymate said in Does it work with RASPBIAN JESSIE WITH PIXEL:
I shall blank my me card and start fresh
Okay. If you do that, don’t worry about the
rm -rf MagicMirror
command. On a fresh card, this folder will not have been created. If you wipe your card and write the Jessie image to the card, start at the second block of commands (sudo apt-get update
).Forgive me for not getting this but should I let the Raspian install and boot into the desktop as a standard fresh install does or should I turn of the auto login?
You will want to keep the auto-login to desktop option.
If I do leave the desktop running do I run the main install line for MM2 from the terminal window launched from the desktop or should I SSH into the Pi from another computer to start the install command line running?
Technically, either one will work. I find it is easier to SSH into the Pi and install it from another computer. There are a few commands I copy & paste from the Complete Setup Tutorial. I usually have a browser window open to that tutorial and the SSH terminal open at the same time and copy & paste from one to the other. I directly work on the Pi only long enough to ensure 1) the WiFi is set up properly, and 2) the SSH server is working.
So if I get this right, once I get it working the Pi boots into Pixel then the MM2 will auto run?
Not quite. You’ll need something to tell the Pi to start the MM2 process. I prefer to use a program called PM2. It’s one of the two options from the MM2 Github page. It takes about five steps to get it configured.
- Create the mm.sh file.
- Install PM2.
- Tell PM2 to set up. This includes running the command it tells me.
- Use PM2 to run MM2 via the mm.sh file created in step 1.
- Save state. PM2 will automatically keep MM running upon boot or crash.
Very new to this sorry :)
No worries. We all started somewhere.
-
@bhepler Thank you for your clear and precise instruction, I have now got it working, it did show me an error at the end of the installation but it still seems to work:
npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed. npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed. Dependencies installation Done! Check plymouth installation ... Splashscreen: Checking themes directory. Splashscreen: Create theme directory if not exists. Splashscreen: Theme copied successfully. Splashscreen: Changed theme to MagicMirror successfully. bash: line 153: syntax error near unexpected token `then' bash: line 153: `then'
again thank you for taking the time from your day to help, much appreciated.
-
Hi All,
I’ve been performing a few installs now with no success due to many errors.
I am about to start a new install again from scratch. Reading this 4 month old post it is suggested to install Jessie with pixel desktop. Is this still the best platform to install from or is it ok to install from the latest Raspbian flavour stretch. 2017-09-07.
I tried this current version first and this attempt failed at several stages. Then went onto an older version of Jessie which seemed to be more successful, But ultimately got a blank screen when starting up the application.Thanks for any input, pointing me in the right direction.
-
Allowing the install to complete before cancelling the script helps with a successful installation.
Having left the install to run past the stages that look like it has crashed. Gave the installation script chance to complete.
I’ve successfully installed Magicmirror using the latest 2017-09-07 Raspbian stretch. Following these procedures mentioned above, nb as user ‘pi’ not ‘root’.
Hope this helps some other people.Thanks!