thank you for help, i had to reinstal system once more becase there were a lot of errors.
After new instalation pm2 didn’t start properly. after few hours i found why.
In pm2_MagicMirrorPi0.json
line:
“script” : “/MagicMirror/PiZero/startMagicMirror.sh”,
should be :
“script” : “/MagicMirror/PiZero/startMagicMirrorPi0.sh”,
Read the statement by Michael Teeuw here.
Latest posts made by 12wsx
-
RE: Installing on a Pi Zero
-
RE: Installing on a Pi Zero
today i have to reinstall MM and I have some small problem. MM do not show on local hdmi outpul- I can see the dektop but no MM. Server is working properly because when I open it from laptop i can see MM, when I connect to raspberry pi via vnc i can see to MM. What is going on? what i miss?
-
RE: Installing on a Pi Zero
finally full success!!:)
@big11 install directly from raspberry terminal not via ssh.
After few fresh installation and hundreds errors last time tried install usingbash -c "$(curl -sL https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)"
from raspberrypi terminal.There were some errors but finally worked.
if you want, I can make a image of my card and share it. -
RE: Installing on a Pi Zero
same problem to me.
using raspberry pi Zero (not W)
installed latest Raspbian Stretch with desktop. update from first run creator.
Full instalation LOGpi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/ac2799/ MagicMirror/master/installers/raspberry.sh)" $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$\ $$$\ $$$ | \__| $$$\ $$$ |\__| $$ __$$\ $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$ $\ $$$$$$\ $$$$$$\ \__/ $$ | $$\$$\$$ $$ | \____$$\ $$ __$$\ $$ |$$ _____|$$\$$\$$ $$ |$$ |$$ __$$\ $$ __ $$\ $$ __$$\ $$ __$$\ $$$$$$ | $$ \$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ \$$$ $$ |$$ |$$ | \__|$$ | \__|$$ / $$ |$$ | \__|$$ ____/ $$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |\$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ | $$ | \$$$$$$ |$$ | $$$$$$$$\ \__| \__| \_______| \____$$ |\__| \_______|\__| \__|\__|\__| \__| \______/ \__| \________| $$\ $$ | \$$$$$$ | \______/ If you are running a Pi Zero, installation will continue, but you will have to r un in server only mode. Updating packages ... Stary:1 http://archive.raspberrypi.org/debian stretch InRelease Stary:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Czytanie list pakietów... Gotowe Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe Obliczanie aktualizacji... Gotowe 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. E: Nie udało się otworzyć pliku blokady /var/lib/dpkg/lock - open (13: Brak dost ępu) E: Nie udało się zablokować katalogu administracyjnego (/var/lib/dpkg/), czy uży to uprawnień administratora? Update failed, carrying on installation ... Installing helper tools ... Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe build-essential is already the newest version (12.3). curl is already the newest version (7.52.1-5+deb9u8). git is already the newest version (1:2.11.0-3+deb9u4). unzip is already the newest version (6.0-21). wget is already the newest version (1.18-5+deb9u2). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Check current Node installation ... Node.js is not installed. Installing Node.js ... Downloading node v11.6.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17.0M 100 17.0M 0 0 861k 0 0:00:20 0:00:20 --:--:-- 968k Extracting node v11.6.0 Extracting node and npm Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe git is already the newest version (1:2.11.0-3+deb9u4). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe Zostaną zainstalowane następujące NOWE pakiety: unclutter 0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Konieczne pobranie 16,6 kB archiwów. Po tej operacji zostanie dodatkowo użyte 47,1 kB miejsca na dysku. Pobieranie:1 http://ftp.icm.edu.pl/pub/Linux/distributions/raspbian/raspbian str etch/main armhf unclutter armhf 8-20 [16,6 kB] Pobrano 16,6 kB w 1s (14,1 kB/s) Prekonfiguracja pakietów ... Wybieranie wcześniej niewybranego pakietu unclutter. (Odczytywanie bazy danych ... 80763 pliki i katalogi obecnie zainstalowane.) Przygotowywanie do rozpakowania pakietu .../unclutter_8-20_armhf.deb ... Rozpakowywanie pakietu unclutter (8-20) ... Konfigurowanie pakietu unclutter (8-20) ... Przetwarzanie wyzwalaczy pakietu man-db (2.7.6.1-2)... Cloning MagicMirror ... Cloning into 'MagicMirror'... remote: Enumerating objects: 305, done. remote: Counting objects: 100% (305/305), done. remote: Compressing objects: 100% (273/273), done. remote: Total 305 (delta 37), reused 169 (delta 22), pack-reused 0 Receiving objects: 100% (305/305), 614.71 KiB | 747.00 KiB/s, done. Resolving deltas: 100% (37/37), done. Cloning MagicMirror Done! Installing dependencies ... npx: zainstalowano 405 w 218.392s npm notice CANARY npmc is experimental software. If you find an issue, please fi le it in the main npm repository, and call out that you were using npmc. npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically un maintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@n pmjs.com for more info. > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron -chromedriver > node ./download-chromedriver.js successfully dowloaded and extracted! > electron@2.0.16 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js Downloading SHASUMS256.txt [============================================>] 100.0% of 5.39 kB (5.39 kB/s) > magicmirror@2.6.0 install /home/pi/MagicMirror > cd vendor && npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fse vents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"} ) added 82 packages from 57 contributors and audited 220 packages in 118.631s found 3 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.6.0 postinstall /home/pi/MagicMirror > sh installers/postinstall/postinstall.sh && npm run install-fonts MagicMirror installation successful! > magicmirror@2.6.0 install-fonts /home/pi/MagicMirror > cd fonts && npm install added 1 package from 1 contributor and audited 1 package in 42.42s found 0 vulnerabilities npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. added 921 packages from 1366 contributors in 1049.638s Errors while installing dependencies! (source command: npmc@latest install) npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. + acorn@6.0.5 added 2 packages from 78 contributors, updated 1 package and audited 2467 packag es in 175.814s found 8 vulnerabilities (7 low, 1 high) run `npm audit fix` to fix them, or `npm audit` for details Errors while installing dependencies! (source command: npm install acorn@latest) + stylelint@9.9.0 added 155 packages from 107 contributors, removed 32 packages, updated 99 packages, moved 6 packages and audited 4452 packages in 458.975s found 4 vulnerabilities (3 low, 1 high) run `npm audit fix` to fix them, or `npm audit` for details Errors while installing dependencies! (source command: pm install stylelint@latest) + jshint@2.9.7 added 2 packages from 1 contributor, removed 6 packages and updated 5 packages in 226.509s fixed 3 of 4 vulnerabilities in 4452 scanned packages 1 vulnerability required manual review and could not be updated Vulnerabilities may remain! Check plymouth installation ... Splashscreen: Checking themes directory. Splashscreen: Create theme directory if not exists. Splashscreen: Theme copied successfully. Splashscreen: Changed theme to MagicMirror successfully. Do you want use pm2 for auto starting of your MagicMirror (y/N)?y /usr/local/bin/pm2 -> /usr/local/lib/node_modules/pm2/bin/pm2 /usr/local/bin/pm2-dev -> /usr/local/lib/node_modules/pm2/bin/pm2-dev /usr/local/bin/pm2-docker -> /usr/local/lib/node_modules/pm2/bin/pm2-docker /usr/local/bin/pm2-runtime -> /usr/local/lib/node_modules/pm2/bin/pm2-runtime npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/pm2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + pm2@3.2.4 added 313 packages from 246 contributors in 320.301s ------------- __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ _\///______________\///______________\///__\///////////////__ Runtime Edition PM2 is a Production Process Manager for Node.js applications with a built-in Load Balancer. Start and Daemonize any application: $ pm2 start app.js Load Balance 4 instances of api.js: $ pm2 start api.js -i 4 Monitor in production: $ pm2 monitor Make pm2 auto-boot at server restart: $ pm2 startup To go further checkout: http://pm2.io/ ------------- [PM2] Init System found: systemd Platform systemd Template [Unit] Description=PM2 process manager Documentation=https://pm2.keymetrics.io/ After=network.target [Service] Type=forking User=pi LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity Environment=PATH=/usr/local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin Environment=PM2_HOME=/home/pi/.pm2 PIDFile=/home/pi/.pm2/pm2.pid ExecStart=/usr/local/lib/node_modules/pm2/bin/pm2 resurrect ExecReload=/usr/local/lib/node_modules/pm2/bin/pm2 reload all ExecStop=/usr/local/lib/node_modules/pm2/bin/pm2 kill [Install] WantedBy=multi-user.target Target path /etc/systemd/system/pm2-pi.service Command list [ 'systemctl enable pm2-pi' ] [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service [PM2] Making script booting at startup... [PM2] [-] Executing: systemctl enable pm2-pi... Created symlink /etc/systemd/system/multi-user.target.wants/pm2-pi.service → /etc/systemd/system/pm2-pi.service. [PM2] [v] Command successfully executed. +---------------------------------------+ [PM2] Freeze a process list on reboot via: $ pm2 save [PM2] Remove init script via: $ pm2 unstartup systemd ------------- __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ _\///______________\///______________\///__\///////////////__ Runtime Edition PM2 is a Production Process Manager for Node.js applications with a built-in Load Balancer. Start and Daemonize any application: $ pm2 start app.js Load Balance 4 instances of api.js: $ pm2 start api.js -i 4 Monitor in production: $ pm2 monitor Make pm2 auto-boot at server restart: $ pm2 startup To go further checkout: http://pm2.io/ ------------- [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2 [PM2] PM2 Successfully daemonized [PM2][WARN] Applications MagicMirror not running, starting... [PM2] App [MagicMirror] launched (1 instances) ┌─────────────┬────┬───────┬────────┬────────┬─────┬────────┬──────────┐ │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │ ├─────────────┼────┼───────┼────────┼────────┼─────┼────────┼──────────┤ │ MagicMirror │ 0 │ 2.6.0 │ fork │ online │ 0 │ 0% │ 2.5 MB │ └─────────────┴────┴───────┴────────┴────────┴─────┴────────┴──────────┘ Use `pm2 show ` to get more details about an app [PM2] Saving current process list... [PM2] Successfully saved in /home/pi/.pm2/dump.pm2 We're ready! Restart your Pi Zero to start your MagicMirror. pi@raspberrypi:~ $ sudo login as: pi individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Jan 7 20:33:42 2019 pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/ac2799/ MagicMirror/master/installers/raspberry.sh)" $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$\ $$$\ $$$ | \__| $$$\ $$$ |\__| $$ __$$\ $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$ $\ $$$$$$\ $$$$$$\ \__/ $$ | $$\$$\$$ $$ | \____$$\ $$ __$$\ $$ |$$ _____|$$\$$\$$ $$ |$$ |$$ __$$\ $$ __ $$\ $$ __$$\ $$ __$$\ $$$$$$ | $$ \$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ \$$$ $$ |$$ |$$ | \__|$$ | \__|$$ / $$ |$$ | \__|$$ ____/ $$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |\$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ | $$ | \$$$$$$ |$$ | $$$$$$$$\ \__| \__| \_______| \____$$ |\__| \_______|\__| \__|\__|\__| \__| \______/ \__| \________| $$\ $$ | \$$$$$$ | \______/ If you are running a Pi Zero, installation will continue, but you will have to r un in server only mode. Updating packages ... Stary:1 http://archive.raspberrypi.org/debian stretch InRelease Stary:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Czytanie list pakietów... Gotowe Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe Obliczanie aktualizacji... Gotowe 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. E: Nie udało się otworzyć pliku blokady /var/lib/dpkg/lock - open (13: Brak dost ępu) E: Nie udało się zablokować katalogu administracyjnego (/var/lib/dpkg/), czy uży to uprawnień administratora? Update failed, carrying on installation ... Installing helper tools ... Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe build-essential is already the newest version (12.3). curl is already the newest version (7.52.1-5+deb9u8). git is already the newest version (1:2.11.0-3+deb9u4). unzip is already the newest version (6.0-21). wget is already the newest version (1.18-5+deb9u2). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Check current Node installation ... Node.js is not installed. Installing Node.js ... Downloading node v11.6.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17.0M 100 17.0M 0 0 861k 0 0:00:20 0:00:20 --:--:-- 968k Extracting node v11.6.0 Extracting node and npm Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe git is already the newest version (1:2.11.0-3+deb9u4). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe Zostaną zainstalowane następujące NOWE pakiety: unclutter 0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Konieczne pobranie 16,6 kB archiwów. Po tej operacji zostanie dodatkowo użyte 47,1 kB miejsca na dysku. Pobieranie:1 http://ftp.icm.edu.pl/pub/Linux/distributions/raspbian/raspbian str etch/main armhf unclutter armhf 8-20 [16,6 kB] Pobrano 16,6 kB w 1s (14,1 kB/s) Prekonfiguracja pakietów ... Wybieranie wcześniej niewybranego pakietu unclutter. (Odczytywanie bazy danych ... 80763 pliki i katalogi obecnie zainstalowane.) Przygotowywanie do rozpakowania pakietu .../unclutter_8-20_armhf.deb ... Rozpakowywanie pakietu unclutter (8-20) ... Konfigurowanie pakietu unclutter (8-20) ... Przetwarzanie wyzwalaczy pakietu man-db (2.7.6.1-2)... Cloning MagicMirror ... Cloning into 'MagicMirror'... remote: Enumerating objects: 305, done. remote: Counting objects: 100% (305/305), done. remote: Compressing objects: 100% (273/273), done. remote: Total 305 (delta 37), reused 169 (delta 22), pack-reused 0 Receiving objects: 100% (305/305), 614.71 KiB | 747.00 KiB/s, done. Resolving deltas: 100% (37/37), done. Cloning MagicMirror Done! Installing dependencies ... npx: zainstalowano 405 w 218.392s npm notice CANARY npmc is experimental software. If you find an issue, please fi le it in the main npm repository, and call out that you were using npmc. npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically un maintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@n pmjs.com for more info. > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron -chromedriver > node ./download-chromedriver.js successfully dowloaded and extracted! > electron@2.0.16 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js Downloading SHASUMS256.txt [============================================>] 100.0% of 5.39 kB (5.39 kB/s) > magicmirror@2.6.0 install /home/pi/MagicMirror > cd vendor && npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fse vents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"} ) added 82 packages from 57 contributors and audited 220 packages in 118.631s found 3 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.6.0 postinstall /home/pi/MagicMirror > sh installers/postinstall/postinstall.sh && npm run install-fonts MagicMirror installation successful! > magicmirror@2.6.0 install-fonts /home/pi/MagicMirror > cd fonts && npm install added 1 package from 1 contributor and audited 1 package in 42.42s found 0 vulnerabilities npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. added 921 packages from 1366 contributors in 1049.638s Errors while installing dependencies! (source command: npmc@latest install) npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. + acorn@6.0.5 added 2 packages from 78 contributors, updated 1 package and audited 2467 packag es in 175.814s found 8 vulnerabilities (7 low, 1 high) run `npm audit fix` to fix them, or `npm audit` for details Errors while installing dependencies! (source command: npm install acorn@latest) + stylelint@9.9.0 added 155 packages from 107 contributors, removed 32 packages, updated 99 packages, moved 6 packages and audited 4452 packages in 458.975s found 4 vulnerabilities (3 low, 1 high) run `npm audit fix` to fix them, or `npm audit` for details Errors while installing dependencies! (source command: pm install stylelint@latest) + jshint@2.9.7 added 2 packages from 1 contributor, removed 6 packages and updated 5 packages in 226.509s fixed 3 of 4 vulnerabilities in 4452 scanned packages 1 vulnerability required manual review and could not be updated Vulnerabilities may remain! Check plymouth installation ... Splashscreen: Checking themes directory. Splashscreen: Create theme directory if not exists. Splashscreen: Theme copied successfully. Splashscreen: Changed theme to MagicMirror successfully. Do you want usHasło: Nieprawidłowe logowanie raspberrypi login: rror (y/N)?y /usr/local/bin/pm2 -> /usr/local/lib/node_modules/pm2/bin/pm2 /usr/local/bin/pm2-dev -> /usr/local/lib/node_modules/pm2/bin/pm2-dev /usr/local/bin/pm2-docker -> /usr/local/lib/node_modules/pm2/bin/pm2-docker /usr/local/bin/pm2-runtime -> /usr/local/lib/node_modules/pm2/bin/pm2-runtime npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/pm2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + pm2@3.2.4 added 313 packages from 246 contributors in 320.301s ------------- __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ _\///______________\///______________\///__\///////////////__ Runtime Edition PM2 is a Production Process Manager for Node.js applications with a built-in Load Balancer. Start and Daemonize any application: $ pm2 start app.js Load Balance 4 instances of api.js: $ pm2 start api.js -i 4 Monitor in production: $ pm2 monitor Make pm2 auto-boot at server restart: $ pm2 startup To go further checkout: http://pm2.io/ ------------- [PM2] Init System found: systemd Platform systemd Template [Unit] Description=PM2 process manager Documentation=https://pm2.keymetrics.io/ After=network.target [Service] Type=forking User=pi LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity Environment=PATH=/usr/local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin Environment=PM2_HOME=/home/pi/.pm2 PIDFile=/home/pi/.pm2/pm2.pid ExecStart=/usr/local/lib/node_modules/pm2/bin/pm2 resurrect ExecReload=/usr/local/lib/node_modules/pm2/bin/pm2 reload all ExecStop=/usr/local/lib/node_modules/pm2/bin/pm2 kill [Install] WantedBy=multi-user.target Target path /etc/systemd/system/pm2-pi.service Command list [ 'systemctl enable pm2-pi' ] [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service [PM2] Making script booting at startup... [PM2] [-] Executing: systemctl enable pm2-pi... Created symlink /etc/systemd/system/multi-user.target.wants/pm2-pi.service → /etc/systemd/system/pm2-pi.service. [PM2] [v] Command successfully executed. +---------------------------------------+ [PM2] Freeze a process list on reboot via: $ pm2 save [PM2] Remove init script via: $ pm2 unstartup systemd ------------- __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ _\///______________\///______________\///__\///////////////__ Runtime Edition PM2 is a Production Process Manager for Node.js applications with a built-in Load Balancer. Start and Daemonize any application: $ pm2 start app.js Load Balance 4 instances of api.js: $ pm2 start api.js -i 4 Monitor in production: Hasło:
after reboot server work properly. If I connect from my computer webbrowser everythings is fine.
On local LCD raspberry load to desktop and do not run chromium (default browser)sorry for 2 post one by one.
-
RE: Installing on a Pi Zero
Yes i have rebooted and wait about 10min and nothing.
pm2 show MagicMirror says:root@raspberrypi:/home/pi/MagicMirror# pm2 show MagicMirror [PM2] Spawning PM2 daemon with pm2_home=/root/.pm2 [PM2] PM2 Successfully daemonized [PM2][WARN] MagicMirror doesn't exist root@raspberrypi:/home/pi/MagicMirror#
:confused_face:
-
RE: Installing on a Pi Zero
after install on piZero (no W version) everything is ok but serveronly and browser does not start automatically. When I send from terminal:
cd ~/MagicMirror;
node serveronly
server start properly, In browser manually start localhost:8080 showing MagicMirror website properly. What m i missing? -
RE: MMM-forecast-io -- Localized up to the minute weather
no i don’t use custom css. But one thing- when I connect to magic mirror from my
computer (win7 /firefox) everything is ok. -
RE: MMM-forecast-io -- Localized up to the minute weather
what is the problem with my module? the problem is on monitor connected to raspberry pi Zero (using midori browser) where MagicMirror is installed.
My config:/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "::", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: [], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "pl", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "clock", position: "top_left" }, { module: "calendar", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "https://calendar.google.com/xxxxxxxx" } ] } }, { module: "MMM-Solartemp", position: "bottom_left", header: "Solartemp", config: { baseURL: "http://xxxxxxxxxx", key: "xxxxxxxxx", group: "xxxxxx", } }, { module: 'MMM-Remote-Control' // uncomment the following line to show the URL of the remote control on the mirror // , position: 'bottom_left' // you can hide this module afterwards from the remote control itself }, { module: 'MMM-forecast-io', position: 'top_right', // This can be any of the regions. config: { // See 'Configuration options' for more information. apiKey: 'xxxxxxx', // Dark Sky API key. maxDaysForecast: 5, forecastTableFontSize: 'small', // Only required if geolocation doesn't work: latitude: xx.xxxx, longitude: xx.xxxx } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
Local LCD not showing Weather module
Hello. I have installed MagicMirror on rasberry pi zero.
When I connect lcd monitor or tv i can’t see weather module. When i connect to Magic Mirror via computer everything is ok.
My config file/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: [], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "pl", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "clock", position: "top_left" }, { module: "calendar", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "https://calendar.google.com/calendar/ical/" } ] } }, { module: "MMM-Solartemp", position: "bottom_left", header: "Solartemp", config: { baseURL: "http://solartemp.no-i", key: "", group: "", } }, { module: 'MMM-Remote-Control' // uncomment the following line to show the URL of the remote control on the mirror // , position: 'bottom_left' // you can hide this module afterwards from the remote control itself }, { module: 'MMM-NOAA3', position: 'top_right', config: { provider: "darksky", // From list above apiKey: "", // From one of the providers listed above airKey: "YOUR API KEY", css: "NOAA3", // THIS MUST CONTAIN A CSS STYLE NAME userlat: "delete for security ", //MUST HAVE BOTH userlon: "delete for security" //MUST HAVE BOTH } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
I have installed server version and midori browser.
I never had this problem and don’t know how to solve it.