Read the statement by Michael Teeuw here.
How to apply changes on the MM other than reboot? ftp?
-
Ok, this is how I do it.
While viewing the Pi via VNC, I press theAlt
key
This drops a menu bar down at the top of MM.
You may not see your mouse/cursor until you move it all the way up into the menu bar.
The far left menu hasQuit
in it.Relaunch the way you normally would launch MM
-
@Mykle1
Ok thank you! I get electron.js failed at MM start script when using npm start.
I will try reinstalling the MM instead tomorrow! -
@noorm91 said in How to apply changes on the MM other than reboot? ftp?:
I get electron.js failed at MM start script when using npm start.
Wait, are you using VNC, because you CAN use npm start using that. Are you running server only?
-
@Mykle1
Yes Rpi zero and 1 only supports server only at this moment. What I’ve figured out so far and no I’m using Tera Term (almost like PuTTY) accessing it with SSH. But I connected my mouse and keyboard to find the mouse cursor, so I saw the X button on the Midori browser and closed it. -
Ok, there is a command specific to starting server only I think. Lemme see if I can find it for you before you reinstall anything.
EDIT
I think this is what you need
https://forum.magicmirror.builders/topic/2321/magicmirror-fails-to-start-after-fresh-install -
@Mykle1
Thanks again for trying, I will look it up tomorrow and try before reinstall. I think it is best to get a clean installation after everything I’ve tested now, start.sh might even be wrong at this moment. All I get when I reboot is localhost:8080 error something…This is what I got after those commands though, npm start gives me electron error, I read somewhere before about rpi zero/1 can´t handle electron.js somehow I think.
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 nohup npm start &
[1] 890
pi@raspberrypi:~/MagicMirror $ nohup: ignoring input and appending output to ‘nohup.out’
^C
[1]+ Exit 1 DISPLAY=:0 nohup npm start
pi@raspberrypi:~/MagicMirror $ ^C
pi@raspberrypi:~/MagicMirror $
pi@raspberrypi:~/MagicMirror $
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.1.0 start /home/pi/MagicMirror
electron js/electron.js/home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
npm ERR! Linux 4.4.34+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.1.0 start:electron js/electron.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.1.0 start script ‘electron js/electron.js’.
npm ERR! This is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron js/electron.js
npm ERR! You can get their info via:
npm ERR! npm owner ls magicmirror
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log -
@noorm91 said in How to apply changes on the MM other than reboot? ftp?:
Thanks again for trying, I will look it up tomorrow and try before reinstall.
Ok, keep me posted. I’ve never used anything other than a Pi 3 B or better, nor have I ever ran MM as node server only, but I am interested in knowing how you get it running.