Read the statement by Michael Teeuw here.
Bullseye
-
@bert269 this is the second report… I have not had a chance to look at it yet… have and sd card flashed…
https://github.com/sdetweil/MagicMirror_scripts/issues/36
I asked the other user to post the ~/install.log for me to look at , can u add to the issue with the log file
-
Interesting - no ~/install.log file after the npm install. Not in the MagicMirror directory either. Ideas?
-
~ dir layout:
pi@piMirror:~ $ ls -al
total 116
pi 4096 Nov 12 11:16 .
root 4096 Oct 30 05:12 …
pi 132 Nov 12 10:49 .bash_history
pi 220 Oct 30 05:12 .bash_logout
pi 3523 Oct 30 05:12 .bashrc
pi 4096 Oct 30 05:21 Bookshelf
pi 4096 Nov 12 11:16 .cache
pi 4096 Nov 12 11:16 .config
pi 4096 Oct 30 05:53 Desktop
pi 4096 Nov 12 10:35 Documents
pi 4096 Oct 30 05:53 Downloads
pi 4096 Oct 30 05:21 .local
pi 4096 Nov 12 11:16 MagicMirror
pi 4096 Oct 30 05:53 Music
pi 0 Nov 1 22:55 NAS6604T
pi 4096 Nov 12 11:04 .npm
pi 4096 Oct 30 05:53 Pictures
pi 12974 Nov 12 10:59 piMirror.sh
pi 4096 Nov 12 11:02 .pki
pi 807 Oct 30 05:12 .profile
pi 4096 Oct 30 05:53 Public
pi 4096 Oct 30 05:53 Templates
pi 4096 Oct 30 05:53 Videos
pi 4096 Nov 12 10:35 .vnc
pi 53 Nov 12 10:49 .Xauthority
pi 2361 Nov 12 10:49 .xsession-errors
pi 2361 Nov 12 10:39 .xsession-errors.old
pi@piMirror:~ $MagicMirror dir layout:
pi 4096 Nov 12 11:16 …
pi 57014 Nov 12 11:16 CHANGELOG.md
pi 4096 Nov 12 11:16 clientonly
pi 4096 Nov 12 11:16 config
pi 4096 Nov 12 11:16 css
pi 238 Nov 12 11:16 .editorconfig
pi 34 Nov 12 11:16 .eslintignore
pi 610 Nov 12 11:16 .eslintrc.json
pi 4096 Nov 12 11:17 fonts
pi 4096 Nov 12 11:17 .git
pi 4096 Nov 12 11:16 .github
pi 1094 Nov 12 11:16 .gitignore
pi 4096 Nov 12 11:17 .husky
pi 2858 Nov 12 11:16 index.html
pi 4096 Nov 12 11:16 installers
…
pi@piMirror:~/MagicMirror $ -
@bert269 u didn’t use my script… now idea
see https://github.com/sdetweil/MagicMirror_scripts
booting up on pi4 now
-
Apologies, sorry - no I did not used:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”I only used npm install. Let me try and will let you know.
Thanks -
@bert269 we need node 14 for MM… the bullseye is only node 12
-
looks like trouble
/var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
node version is node: error while loading shared libraries: libnode.so.72: cannot open shared object file: No such file or directory
node: error while loading shared libraries: libnode.so.72: cannot open shared object file: No such file or directorycan’t install node 14…
-
Ok, run your install script. This time it worked. The screensaver interfered - but I can fix that. This is what I saw during install
Check current Node installation …
Node currently installed. Checking version number.
Minimum Node version: v14.0.0
Installed Node version: v17.1.0
No Node.js upgrade necessary.
Check current NPM installation …
NPM currently installed. Checking version number.
Minimum npm version: V6.0.0
Installed npm version: V8.1.2
No npm upgrade necessary.
Cloning MagicMirror …
Cloning into ‘MagicMirror’…
remote: Enumerating objects: 325, done.
remote: Counting objects: 100% (325/325), done.
remote: Compressing objects: 100% (290/290), done.
remote: Total 325 (delta 53), reused 146 (delta 22), pack-reused 0
Receiving objects: 100% (325/325), 477.94 KiB | 330.00 KiB/s, done.
Resolving deltas: 100% (53/53), done.
Cloning MagicMirror Done!
touch: cannot touch ‘/etc/chromium-browser/customizations/01-disable-update-check’: No such file or directory
tee: /etc/chromium-browser/customizations/01-disable-update-check: No such file or directory
Installing dependencies …
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: ‘eslint-plugin-jsdoc@36.1.1’,
npm WARN EBADENGINE required: { node: ‘^12 || ^14 || ^16’ },
npm WARN EBADENGINE current: { node: ‘v17.1.0’, npm: ‘8.1.2’ }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: ‘@es-joy/jsdoccomment@0.10.8’,
npm WARN EBADENGINE required: { node: ‘^12 || ^14 || ^16’ },
npm WARN EBADENGINE current: { node: ‘v17.1.0’, npm: ‘8.1.2’ }
npm WARN EBADENGINE }
Dependencies installation Done!
Check plymouth installation …
Splashscreen: Checking themes directory.
Splashscreen: Create theme directory if not exists.Splashscreen: Changed theme to MagicMirror successfully.
Do you want use pm2 for auto starting of your MagicMirror (y/N)?y
install and setup pm2
Created symlink /etc/systemd/system/multi-user.target.wants/pm2-pi.service → /etc/systemd/system/pm2-pi.service.
[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)
┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ default │ 2.17.1 │ fork │ 4352 │ 0s │ 0 │ online │ 0% │ 2.7mb │ pi │ enabled │
└─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
[PM2] Saving current process list…
[PM2] Successfully saved in /home/pi/.pm2/dump.pm2
Do you want to disable the screen saver? (y/N)?y
xscreensaver running
grep: /home/pi/.xscreensaver: No such file or directory
bash: line 587: [: !=: unary operator expectedWe’re ready! Run pm2 start MagicMirror from the ~/MagicMirror directory to start your MagicMirror.
pi@piMirror:~ $ cd MagicMirror/
pi@piMirror:~/MagicMirror $ pm2 start MagicMirror
[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
[PM2] MagicMirror ✓
[PM2] Process successfully started
┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ default │ 2.17.1 │ fork │ 4551 │ 0s │ 1 │ online │ 0% │ 2.7mb │ pi │ disabled │
└─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘ -
-
it seems fine - it works for me with 17.1. I do not know which modules witll fail/break, but the vanilla config.js brought up MagiMirror2.
Thanks - let me know if you do need any more info I supply/help with.