A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-CalendarExt2: Black Screen
-
@sdetweil Correct. Used the Pi OS full version. Run the script then once it is done setup for autostart and turn off screensaver. After that I just installed modules.
-
@jack819 the script does pm2 and screensaver already
can u show me ~/install.log
-
@sdetweil Correct. I do that in the script.
When I type that command into terminal, it says permission denied.
-
@jack819 show me, means dump , edit, … use some command
to type out the file, use the cat command (cat = type in windows)
to edit the file use nanonano ~/install.log
-
@sdetweil Here you go:
install starting - Fri Apr 9 08:58:51 EDT 2021 installing on armv7l processor system the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) $ ^[[96mUpdating packages ...^[[90m Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspb$ apt-get update completed ok apt-get upgrade started apt upgrade result =rc=0 Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ^[[96mInstalling helper tools ...^[[90m Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.6). curl is already the newest version (7.64.0-4+deb10u2). git is already the newest version (1:2.20.1-2+deb10u3). unzip is already the newest version (6.0-23+deb10u2). wget is already the newest version (1.20.1-1.1). wget set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ^[[96mCheck current Node installation ...^[[0m ^[[93mNode.js is not installed.^[[0m ^[[96mInstalling Node.js ...^[[90m Node release info = ## Installing the NodeSource Node.js 10.x repo... ## Popula$ v10.24.1 ^[[92mNode.js installation Done! version=v10.24.1^[[0m ^[[96mCheck current NPM installation ...^[[0m ^[[0mNPM currently installed. Checking version number. ^[[0mMinimum npm version: ^[[1mV6.0.0^[[0m ^[[0mInstalled npm version: ^[[1mV6.14.12^[[0m ^[[92mNo npm upgrade necessary.^[[0m ^[[96mCloning MagicMirror ...^[[90m ^[[92mCloning MagicMirror Done!^[[90m package.json update for armv7l completed ok ^[[96mInstalling dependencies ...^[[90m ^[[92mDependencies installation Done!^[[90m fixing sandbox permissions setting up initial config.js ^[[96mCheck plymouth installation ...^[[0m ^[[90mSplashscreen: Checking themes directory.^[[0m ^[[90mSplashscreen: Create theme directory if not exists.^[[0m ^[[92mSplashscreen: Changed theme to MagicMirror successfully.^[[0m install and setup pm2 pm2 not installed, installing pm2 install result /usr/bin/pm2 -> /usr/lib/node_modules/pm2/bin/pm2 /usr/bin/p$ get the pm2 platform specific startup command startup command = sudo env PATH=$PATH:/usr/bin:/bin /usr/lib/node_modules/pm2/b$ ------------- __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ _\///______________\///______________\///__\///////////////__ 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=$PATH:/usr/bin:/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/s$ Environment=PM2_HOME=/home/pi/.pm2 PIDFile=/home/pi/.pm2/pm2.pid Restart=on-failure ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all ExecStop=/usr/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... [PM2] [v] Command successfully executed. +---------------------------------------+ [PM2] Freeze a process list on reboot via: $ pm2 save [PM2] Remove init script via: $ pm2 unstartup systemd pm2 startup command done configure the pm2 config file for MagicMirror start MagicMirror via pm2 now save MagicMirror pm2 config now stop MagicMirror via pm2 now disable screensaver via gsettings was true and uint32 300 disable screensaver via lightdm.conf disable screensaver via lxsession ^[[92mWe're ready! Run ^[[1m^[[97mpm2 start MagicMirror^[[0m^[[92m from the ~/M$ install completed - Fri Apr 9 09:04:39 EDT 2021