A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Running MM results in error messages
-
Here is how I installed MM: https://github.com/sdetweil/MagicMirror_scripts. I notice the following messages in my MagicMirror-error.log:
/home/<username>/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory /home/<username>/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory /home/<username>/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory /home/<username>/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory /home/<username>/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
Doing a
pm2 show MagicMirror
shows a status of “errored”. -
-
@sdetweil Sure!
Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.68.0-1ubuntu2.7). wget is already the newest version (1.20.3-1ubuntu2). The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu dirmngr dpkg-dev fakeroot g++ g++-9 gcc gcc-9 git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libassuan0 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libcurl3-gnutls libdpkg-perl liberror-perl libfakeroot libfile-fcntllock-perl libgcc-9-dev libgdbm-compat4 libgomp1 libitm1 libksba8 liblsan0 libnpth0 libperl5.30 libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev patch perl perl-modules-5.30 pinentry-curses Suggested packages: binutils-doc dbus-user-session pinentry-gnome3 tor debian-keyring g++-multilib g++-9-multilib gcc-9-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-9-multilib gcc-9-locales git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn parcimonie xloadimage scdaemon glibc-doc bzr libstdc++-9-doc make-doc diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl libb-debug-perl liblocale-codes-perl pinentry-doc doc-base zip The following NEW packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu build-essential dirmngr dpkg-dev fakeroot g++ g++-9 gcc gcc-9 git git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libassuan0 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libcurl3-gnutls libdpkg-perl liberror-perl libfakeroot libfile-fcntllock-perl libgcc-9-dev libgdbm-compat4 libgomp1 libitm1 libksba8 liblsan0 libnpth0 libperl5.30 libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev patch perl perl-modules-5.30 pinentry-curses pv unzip 0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded. Need to get 50.3 MB of archives. After this operation, 253 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 perl-modules-5.30 all 5.30.0-9ubuntu0.2 [2738 kB] Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 libgdbm-compat4 amd64 1.18.1-5 [6244 B] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libperl5.30 amd64 5.30.0-9ubuntu0.2 [3952 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 perl amd64 5.30.0-9ubuntu0.2 [224 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils-common amd64 2.34-6ubuntu1.3 [207 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libbinutils amd64 2.34-6ubuntu1.3 [474 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libctf-nobfd0 amd64 2.34-6ubuntu1.3 [47.4 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libctf0 amd64 2.34-6ubuntu1.3 [46.6 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.34-6ubuntu1.3 [1613 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils amd64 2.34-6ubuntu1.3 [3380 B] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.2 [71.8 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-96.109 [1114 kB] Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 libcrypt-dev amd64 1:4.4.10-10ubuntu4 [104 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.2 [2520 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcc1-0 amd64 10.3.0-1ubuntu1~20.04 [48.8 kB] Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgomp1 amd64 10.3.0-1ubuntu1~20.04 [102 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libitm1 amd64 10.3.0-1ubuntu1~20.04 [26.2 kB] Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libatomic1 amd64 10.3.0-1ubuntu1~20.04 [9284 B] Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasan5 amd64 9.3.0-17ubuntu1~20.04 [394 kB] Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblsan0 amd64 10.3.0-1ubuntu1~20.04 [835 kB] Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtsan0 amd64 10.3.0-1ubuntu1~20.04 [2009 kB] Get:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libubsan1 amd64 10.3.0-1ubuntu1~20.04 [784 kB] Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libquadmath0 amd64 10.3.0-1ubuntu1~20.04 [146 kB] Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcc-9-dev amd64 9.3.0-17ubuntu1~20.04 [2360 kB] Get:25 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9 amd64 9.3.0-17ubuntu1~20.04 [8241 kB] Get:26 http://archive.ubuntu.com/ubuntu focal/main amd64 gcc amd64 4:9.3.0-1ubuntu2 [5208 B] Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libstdc++-9-dev amd64 9.3.0-17ubuntu1~20.04 [1714 kB] Get:28 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 g++-9 amd64 9.3.0-17ubuntu1~20.04 [8405 kB] Get:29 http://archive.ubuntu.com/ubuntu focal/main amd64 g++ amd64 4:9.3.0-1ubuntu2 [1604 B] Get:30 http://archive.ubuntu.com/ubuntu focal/main amd64 make amd64 4.2.1-1.2 [162 kB] Get:31 http://archive.ubuntu.com/ubuntu focal/main amd64 libdpkg-perl all 1.19.7ubuntu3 [230 kB] Get:32 http://archive.ubuntu.com/ubuntu focal/main amd64 patch amd64 2.7.6-6 [105 kB] Get:33 http://archive.ubuntu.com/ubuntu focal/main amd64 dpkg-dev all 1.19.7ubuntu3 [679 kB] Get:34 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 build-essential amd64 12.8ubuntu1.1 [4664 B] Get:35 http://archive.ubuntu.com/ubuntu focal/main amd64 libassuan0 amd64 2.5.3-7ubuntu2 [35.7 kB] Get:36 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpgconf amd64 2.2.19-3ubuntu2.1 [124 kB] Get:37 http://archive.ubuntu.com/ubuntu focal/main amd64 libksba8 amd64 1.3.5-2 [92.6 kB] Get:38 http://archive.ubuntu.com/ubuntu focal/main amd64 libnpth0 amd64 1.6-1 [7736 B] Get:39 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 dirmngr amd64 2.2.19-3ubuntu2.1 [329 kB] Get:40 http://archive.ubuntu.com/ubuntu focal/main amd64 libfakeroot amd64 1.24-1 [25.7 kB] Get:41 http://archive.ubuntu.com/ubuntu focal/main amd64 fakeroot amd64 1.24-1 [62.6 kB] Get:42 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl3-gnutls amd64 7.68.0-1ubuntu2.7 [232 kB] Get:43 http://archive.ubuntu.com/ubuntu focal/main amd64 liberror-perl all 0.17029-1 [26.5 kB] Get:44 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 git-man all 1:2.25.1-1ubuntu3.2 [884 kB] Get:45 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 git amd64 1:2.25.1-1ubuntu3.2 [4554 kB] Get:46 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gnupg-l10n all 2.2.19-3ubuntu2.1 [51.7 kB] Get:47 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gnupg-utils amd64 2.2.19-3ubuntu2.1 [480 kB] Get:48 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg amd64 2.2.19-3ubuntu2.1 [483 kB] Get:49 http://archive.ubuntu.com/ubuntu focal/main amd64 pinentry-curses amd64 1.1.0-3build1 [36.3 kB] Get:50 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg-agent amd64 2.2.19-3ubuntu2.1 [232 kB] Get:51 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg-wks-client amd64 2.2.19-3ubuntu2.1 [97.6 kB] Get:52 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg-wks-server amd64 2.2.19-3ubuntu2.1 [90.3 kB] Get:53 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpgsm amd64 2.2.19-3ubuntu2.1 [217 kB] Get:54 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gnupg all 2.2.19-3ubuntu2.1 [259 kB] Get:55 http://archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-diff-perl all 1.19.03-2 [46.6 kB] Get:56 http://archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6 [11.3 kB] Get:57 http://archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB] Get:58 http://archive.ubuntu.com/ubuntu focal/main amd64 libfile-fcntllock-perl amd64 0.22-3build4 [33.1 kB] Get:59 http://archive.ubuntu.com/ubuntu focal/main amd64 manpages-dev all 5.05-1 [2266 kB] Get:60 http://archive.ubuntu.com/ubuntu focal/main amd64 pv amd64 1.6.6-1 [48.3 kB] Get:61 http://archive.ubuntu.com/ubuntu focal/main amd64 unzip amd64 6.0-25ubuntu1 [169 kB] Fetched 50.3 MB in 27s (1830 kB/s) Selecting previously unselected package perl-modules-5.30. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17585 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.30_5.30.0-9ubuntu0.2_all.deb ... Unpacking perl-modules-5.30 (5.30.0-9ubuntu0.2) ... Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack .../01-libgdbm-compat4_1.18.1-5_amd64.deb ... Unpacking libgdbm-compat4:amd64 (1.18.1-5) ... Selecting previously unselected package libperl5.30:amd64. Preparing to unpack .../02-libperl5.30_5.30.0-9ubuntu0.2_amd64.deb ... Unpacking libperl5.30:amd64 (5.30.0-9ubuntu0.2) ... Selecting previously unselected package perl. Preparing to unpack .../03-perl_5.30.0-9ubuntu0.2_amd64.deb ... Unpacking perl (5.30.0-9ubuntu0.2) ... Selecting previously unselected package binutils-common:amd64. Preparing to unpack .../04-binutils-common_2.34-6ubuntu1.3_amd64.deb ... Unpacking binutils-common:amd64 (2.34-6ubuntu1.3) ... Selecting previously unselected package libbinutils:amd64. Preparing to unpack .../05-libbinutils_2.34-6ubuntu1.3_amd64.deb ... Unpacking libbinutils:amd64 (2.34-6ubuntu1.3) ... Selecting previously unselected package libctf-nobfd0:amd64. Preparing to unpack .../06-libctf-nobfd0_2.34-6ubuntu1.3_amd64.deb ... Unpacking libctf-nobfd0:amd64 (2.34-6ubuntu1.3) ... Selecting previously unselected package libctf0:amd64. Preparing to unpack .../07-libctf0_2.34-6ubuntu1.3_amd64.deb ... Unpacking libctf0:amd64 (2.34-6ubuntu1.3) ... Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack .../08-binutils-x86-64-linux-gnu_2.34-6ubuntu1.3_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.34-6ubuntu1.3) ... Selecting previously unselected package binutils. Preparing to unpack .../09-binutils_2.34-6ubuntu1.3_amd64.deb ... Unpacking binutils (2.34-6ubuntu1.3) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../10-libc-dev-bin_2.31-0ubuntu9.2_amd64.deb ... Unpacking libc-dev-bin (2.31-0ubuntu9.2) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../11-linux-libc-dev_5.4.0-96.109_amd64.deb ... Unpacking linux-libc-dev:amd64 (5.4.0-96.109) ... Selecting previously unselected package libcrypt-dev:amd64. Preparing to unpack .../12-libcrypt-dev_1%3a4.4.10-10ubuntu4_amd64.deb ... Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../13-libc6-dev_2.31-0ubuntu9.2_amd64.deb ... Unpacking libc6-dev:amd64 (2.31-0ubuntu9.2) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../14-libcc1-0_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libcc1-0:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../15-libgomp1_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libgomp1:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../16-libitm1_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libitm1:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../17-libatomic1_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libatomic1:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libasan5:amd64. Preparing to unpack .../18-libasan5_9.3.0-17ubuntu1~20.04_amd64.deb ... Unpacking libasan5:amd64 (9.3.0-17ubuntu1~20.04) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../19-liblsan0_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking liblsan0:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../20-libtsan0_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libtsan0:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libubsan1:amd64. Preparing to unpack .../21-libubsan1_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libubsan1:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../22-libquadmath0_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libquadmath0:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libgcc-9-dev:amd64. Preparing to unpack .../23-libgcc-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb ... Unpacking libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ... Selecting previously unselected package gcc-9. Preparing to unpack .../24-gcc-9_9.3.0-17ubuntu1~20.04_amd64.deb ... Unpacking gcc-9 (9.3.0-17ubuntu1~20.04) ... Selecting previously unselected package gcc. Preparing to unpack .../25-gcc_4%3a9.3.0-1ubuntu2_amd64.deb ... Unpacking gcc (4:9.3.0-1ubuntu2) ... Selecting previously unselected package libstdc++-9-dev:amd64. Preparing to unpack .../26-libstdc++-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb ... Unpacking libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ... Selecting previously unselected package g++-9. Preparing to unpack .../27-g++-9_9.3.0-17ubuntu1~20.04_amd64.deb ... Unpacking g++-9 (9.3.0-17ubuntu1~20.04) ... Selecting previously unselected package g++. Preparing to unpack .../28-g++_4%3a9.3.0-1ubuntu2_amd64.deb ... Unpacking g++ (4:9.3.0-1ubuntu2) ... Selecting previously unselected package make. Preparing to unpack .../29-make_4.2.1-1.2_amd64.deb ... Unpacking make (4.2.1-1.2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../30-libdpkg-perl_1.19.7ubuntu3_all.deb ... Unpacking libdpkg-perl (1.19.7ubuntu3) ... Selecting previously unselected package patch. Preparing to unpack .../31-patch_2.7.6-6_amd64.deb ... Unpacking patch (2.7.6-6) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../32-dpkg-dev_1.19.7ubuntu3_all.deb ... Unpacking dpkg-dev (1.19.7ubuntu3) ... Selecting previously unselected package build-essential. Preparing to unpack .../33-build-essential_12.8ubuntu1.1_amd64.deb ... Unpacking build-essential (12.8ubuntu1.1) ... Selecting previously unselected package libassuan0:amd64. Preparing to unpack .../34-libassuan0_2.5.3-7ubuntu2_amd64.deb ... Unpacking libassuan0:amd64 (2.5.3-7ubuntu2) ... Selecting previously unselected package gpgconf. Preparing to unpack .../35-gpgconf_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking gpgconf (2.2.19-3ubuntu2.1) ... Selecting previously unselected package libksba8:amd64. Preparing to unpack .../36-libksba8_1.3.5-2_amd64.deb ... Unpacking libksba8:amd64 (1.3.5-2) ... Selecting previously unselected package libnpth0:amd64. Preparing to unpack .../37-libnpth0_1.6-1_amd64.deb ... Unpacking libnpth0:amd64 (1.6-1) ... Selecting previously unselected package dirmngr. Preparing to unpack .../38-dirmngr_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking dirmngr (2.2.19-3ubuntu2.1) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../39-libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../40-fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../41-libcurl3-gnutls_7.68.0-1ubuntu2.7_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.7) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../42-liberror-perl_0.17029-1_all.deb ... Unpacking liberror-perl (0.17029-1) ... Selecting previously unselected package git-man. Preparing to unpack .../43-git-man_1%3a2.25.1-1ubuntu3.2_all.deb ... Unpacking git-man (1:2.25.1-1ubuntu3.2) ... Selecting previously unselected package git. Preparing to unpack .../44-git_1%3a2.25.1-1ubuntu3.2_amd64.deb ... Unpacking git (1:2.25.1-1ubuntu3.2) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../45-gnupg-l10n_2.2.19-3ubuntu2.1_all.deb ... Unpacking gnupg-l10n (2.2.19-3ubuntu2.1) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../46-gnupg-utils_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking gnupg-utils (2.2.19-3ubuntu2.1) ... Selecting previously unselected package gpg. Preparing to unpack .../47-gpg_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking gpg (2.2.19-3ubuntu2.1) ... Selecting previously unselected package pinentry-curses. Preparing to unpack .../48-pinentry-curses_1.1.0-3build1_amd64.deb ... Unpacking pinentry-curses (1.1.0-3build1) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../49-gpg-agent_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking gpg-agent (2.2.19-3ubuntu2.1) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../50-gpg-wks-client_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking gpg-wks-client (2.2.19-3ubuntu2.1) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../51-gpg-wks-server_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking gpg-wks-server (2.2.19-3ubuntu2.1) ... Selecting previously unselected package gpgsm. Preparing to unpack .../52-gpgsm_2.2.19-3ubuntu2.1_amd64.deb ... Unpacking gpgsm (2.2.19-3ubuntu2.1) ... Selecting previously unselected package gnupg. Preparing to unpack .../53-gnupg_2.2.19-3ubuntu2.1_all.deb ... Unpacking gnupg (2.2.19-3ubuntu2.1) ... Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack .../54-libalgorithm-diff-perl_1.19.03-2_all.deb ... Unpacking libalgorithm-diff-perl (1.19.03-2) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Preparing to unpack .../55-libalgorithm-diff-xs-perl_0.04-6_amd64.deb ... Unpacking libalgorithm-diff-xs-perl (0.04-6) ... Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack .../56-libalgorithm-merge-perl_0.08-3_all.deb ... Unpacking libalgorithm-merge-perl (0.08-3) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../57-libfile-fcntllock-perl_0.22-3build4_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-3build4) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../58-manpages-dev_5.05-1_all.deb ... Unpacking manpages-dev (5.05-1) ... Selecting previously unselected package pv. Preparing to unpack .../59-pv_1.6.6-1_amd64.deb ... Unpacking pv (1.6.6-1) ... Selecting previously unselected package unzip. Preparing to unpack .../60-unzip_6.0-25ubuntu1_amd64.deb ... Unpacking unzip (6.0-25ubuntu1) ... Setting up libksba8:amd64 (1.3.5-2) ... Setting up manpages-dev (5.05-1) ... Setting up perl-modules-5.30 (5.30.0-9ubuntu0.2) ... Setting up unzip (6.0-25ubuntu1) ... Setting up binutils-common:amd64 (2.34-6ubuntu1.3) ... Setting up linux-libc-dev:amd64 (5.4.0-96.109) ... Setting up libctf-nobfd0:amd64 (2.34-6ubuntu1.3) ... Setting up libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.7) ... Setting up libnpth0:amd64 (1.6-1) ... Setting up libassuan0:amd64 (2.5.3-7ubuntu2) ... Setting up libgomp1:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up libasan5:amd64 (9.3.0-17ubuntu1~20.04) ... Setting up make (4.2.1-1.2) ... Setting up gnupg-l10n (2.2.19-3ubuntu2.1) ... Setting up libquadmath0:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up libatomic1:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up patch (2.7.6-6) ... Setting up libgdbm-compat4:amd64 (1.18.1-5) ... Setting up libubsan1:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up pv (1.6.6-1) ... Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ... Setting up gpgconf (2.2.19-3ubuntu2.1) ... Setting up libperl5.30:amd64 (5.30.0-9ubuntu0.2) ... Setting up git-man (1:2.25.1-1ubuntu3.2) ... Setting up libbinutils:amd64 (2.34-6ubuntu1.3) ... Setting up libc-dev-bin (2.31-0ubuntu9.2) ... Setting up libcc1-0:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up gpg (2.2.19-3ubuntu2.1) ... Setting up liblsan0:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up libitm1:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up gnupg-utils (2.2.19-3ubuntu2.1) ... Setting up libtsan0:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up libctf0:amd64 (2.34-6ubuntu1.3) ... Setting up pinentry-curses (1.1.0-3build1) ... Setting up gpg-agent (2.2.19-3ubuntu2.1) ... Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket → /usr/lib/systemd/user/gpg-agent-browser.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket → /usr/lib/systemd/user/gpg-agent-extra.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket → /usr/lib/systemd/user/gpg-agent-ssh.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket → /usr/lib/systemd/user/gpg-agent.socket. Setting up gpgsm (2.2.19-3ubuntu2.1) ... Setting up libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ... Setting up dirmngr (2.2.19-3ubuntu2.1) ... Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket. Setting up perl (5.30.0-9ubuntu0.2) ... Setting up libdpkg-perl (1.19.7ubuntu3) ... Setting up gpg-wks-server (2.2.19-3ubuntu2.1) ... Setting up libc6-dev:amd64 (2.31-0ubuntu9.2) ... Setting up binutils-x86-64-linux-gnu (2.34-6ubuntu1.3) ... Setting up libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ... Setting up gpg-wks-client (2.2.19-3ubuntu2.1) ... Setting up libfile-fcntllock-perl (0.22-3build4) ... Setting up libalgorithm-diff-perl (1.19.03-2) ... Setting up binutils (2.34-6ubuntu1.3) ... Setting up dpkg-dev (1.19.7ubuntu3) ... Setting up liberror-perl (0.17029-1) ... Setting up git (1:2.25.1-1ubuntu3.2) ... Setting up gnupg (2.2.19-3ubuntu2.1) ... Setting up libalgorithm-diff-xs-perl (0.04-6) ... Setting up libalgorithm-merge-perl (0.08-3) ... Setting up gcc-9 (9.3.0-17ubuntu1~20.04) ... Setting up gcc (4:9.3.0-1ubuntu2) ... Setting up g++-9 (9.3.0-17ubuntu1~20.04) ... Setting up g++ (4:9.3.0-1ubuntu2) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.8ubuntu1.1) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... [96mUpdating packages ...[90m Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... 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. [96mCheck current Node installation ...[0m [93mNode.js is not installed.[0m [96mInstalling Node.js ...[90m Node release info = ## Installing the NodeSource Node.js 16.x repo... ## Populating apt-get cache... + apt-get update Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... ## Confirming "focal" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/focal/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 16.x repo... + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Get:3 https://deb.nodesource.com/node_16.x focal InRelease [4583 B] Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease Get:5 https://deb.nodesource.com/node_16.x focal/main amd64 Packages [768 B] Fetched 5351 B in 1s (3912 B/s) Reading package lists... ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn node version is v16.13.2 [92mNode.js installation Done! version=v16.13.2[0m [96mCheck current NPM installation ...[0m [0mNPM currently installed. Checking version number. [0mMinimum npm version: [1mV7.11.2[0m [0mInstalled npm version: [1mV8.1.2[0m [92mNo npm upgrade necessary.[0m [96mCloning MagicMirror ...[90m [92mCloning MagicMirror Done![90m [96mInstalling dependencies ...[90m > magicmirror@2.18.0 install > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error Installing vendor files ... added 9 packages, and audited 10 packages in 5s found 0 vulnerabilities > magicmirror@2.18.0 postinstall > npm run install-fonts && echo "MagicMirror installation finished successfully! > " > magicmirror@2.18.0 install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error Installing fonts ... added 1 package, and audited 2 packages in 3s found 0 vulnerabilities MagicMirror installation finished successfully! > magicmirror@2.18.0 prepare > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. no husky installed. added 264 packages, and audited 265 packages in 3m 19 packages are looking for funding run `npm fund` for details found 0 vulnerabilities [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 install and setup pm2 pm2 not installed, installing pm2 install result npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. added 181 packages, and audited 182 packages in 18s 12 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm notice npm notice New minor version of npm available! 8.1.2 -> 8.4.0 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.4.0> npm notice Run `npm install -g npm@8.4.0` to update! npm notice get the pm2 platform specific startup command startup command = sudo env PATH=$PATH:/usr/bin:/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u <username> --hp /home/<username> ------------- __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ _\///______________\///______________\///__\///////////////__ 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=<username> LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity Environment=PATH=$PATH:/usr/bin:/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin Environment=PM2_HOME=/home/<username>/.pm2 PIDFile=/home/<username>/.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-<username>.service Command list [ 'systemctl enable pm2-<username>' ] [PM2] Writing init configuration in /etc/systemd/system/pm2-<username>.service [PM2] Making script booting at startup... [PM2] [-] Executing: systemctl enable pm2-<username>... [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 the user is not pi change mm.sh save copy of mm.sh change relative home path to hard coded path change pm2_MagicMirror.json now using this config file pm2_MagicMirror_new.json start MagicMirror via pm2 now save MagicMirror pm2 config now stop MagicMirror via pm2 now [92mWe're ready! Run [1m[97mpm2 start MagicMirror[0m[92m from the ~/MagicMirror directory to start your MagicMirror.[0m install completed - Sun Jan 30 19:50:42 UTC 2022
I installed it onto a new ubuntu container today.
-
@droidus can u email to this same userid at gmail.
you chopped off part at the top
-
@sdetweil E-mail sent.
-
@droidus this is a non-pi docker type container, trying to start graphics mode, but its not installed… this is headless
my script starts installers/mm.sh
so you can change the command from
npm start
to
npm run server