@sil3ntstorm is it the 64 bit OS, or 32? 64 bit seems to be the biggest trouble spot…
I would use the 32 bit image
then run my install script as the first thing…
we had trouble with the preinstalled node 12 too…
@sil3ntstorm is it the 64 bit OS, or 32? 64 bit seems to be the biggest trouble spot…
I would use the 32 bit image
then run my install script as the first thing…
we had trouble with the preinstalled node 12 too…
@sil3ntstorm my scripts auto install 20.8.0
the problem is your system installed 20.5.1 instead…
we don’t know why yet, and don’t have a reliable fix.
pm2 can’t run cause node is broken,
so far the only fix is to rebuild your sd card …
use my backup script to save your MM config , modules, …
https://github.com/sdetweil/MagicMirror-backup-restore
reflash the sd card, use my install script and then restore script…
(note that you have to get the ~/MM_backup folder to safety… maybe on github …
the fixes suggested by folks on the node distro group do not work.
@sil3ntstorm thanks… the ‘problem’ is that we have a mangled node configuration…
we asked for node 20.8.0, but got 20.5.1 which is broken
@sil3ntstorm said in Magic mirror does not start automatically when booting:
@sdetweil No, I re-flashed the SD card and could now reinstall the Magic Mirror software. Should I access my Pi and run this?
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”
Or do I have to do something else beforehand so that the Magic Mirror software is installed correctly?
yes, just run that. it has all the latest fixes and has been tested on bookwork, bullseye and buster
@sil3ntstorm need all of the command everything that it outputs, you didn’t copy about 30 characters
then
pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
pm2 save
@MZ-BER for MMM-NewsApi, the upgrade should have fixed that for you. (it’s node-fetch)
but, in addition, he has a module upgrade that fixes it natively without the extra npm install…
@jimb open a terminal window, ctrl-alt-t,on the desktop
type
ip addr
press enter
you should get both the ipv4 and ipv6 addresses of the pi
then type
hostname
enter
should give you the pi hostname on the network, you should be able to use this in the ssh command
ssh {username}@{hostname}
{x} means substitute the value of the thing x for the whole string
@jimb ok the address was probably raspberrypi.local
you need to disable ipv6 on the pi, in the network settings of the pi config under the desktop menu
no reason to have ipv6 in a home environment
@Kelemvor in the same place in config.js as address:
add this line
electronOptions:{ x:nnn, width:mmm},
where nnn is the width of the laptop display in pixels and mmm is the width of the other display
there are other options too top and left
the system doesn’t see them as separate displays just all one big space.