@Stevo Please provide a little more info about your installation:
Are you on a Raspberry Pi or something different
How did you install the MM?
Have you run npm install
?
Are you trying to start it from SSH or on the computer directly?
@Stevo Please provide a little more info about your installation:
Are you on a Raspberry Pi or something different
How did you install the MM?
Have you run npm install
?
Are you trying to start it from SSH or on the computer directly?
@bhepler said in Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0):
I would advise against using the Magic Mirror installation script at this time. It hasn’t been tested as well as the rest of the system. Perform a manual installation for better results.
Second this.
For anyone who comes across this error:
/home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.27’ not found (required by /home/pi/MagicMirror/node_modules/electron/dist/electron) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR!
It may be caused by npm trying to install electron v4.0.0, this version has some reference errors on the Pi: https://github.com/electron/electron/issues/16205 and a lower version (v3.0.13) should be used.
@nobita said in [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates:
I have to Remove from jopyth or not
You can checkout my fork/branch without removing @Jopyth’s by adding a remote:
$ cd ~/MagicMirror/modules/MMM-Remote-Control
$ git remote add shbatm https://github.com/shbatm/MMM-Remote-Control.git
$ git fetch shbatm
$ git checkout -b shbatm-develop shbatm/develop
$ npm install
After that you can switch back and forth using git checkout master
and git checkout shbatm-develop
For the first one:
@costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
error: object file .git/objects/0a/340d5d575f5675a19c2108bb1acc9f20576259 is empty
That’s a new one by me… maybe time for Google on that one.
For the blank screen: watch all of the PM2 logs (pm2 logs
command) and see if you see something like this:
1|omx_stre | * failed to add service - already in use?
1|omx_stre | /usr/bin/omxplayer: line 67: 15281 Aborted (core dumped)
If you do, you probably have the latest version of Raspbian with the OpenGL driver enabled in raspi-config
– omxplayer isn’t working properly with the OpenGL driver enabled, if you want to use omxplayer, you’ll have to enable the legacy driver: https://www.raspberrypi.org/forums/viewtopic.php?t=204794
If you see anything else in the PM2 logs, let me know.
@axel said in HELP to use a cam with MM PLEASE:
bind:Address already in use.
The default port is the same as the Mirror, 8080. Try adding -p 8081
to your command to change the port.
@cr4z33 Can you please post (or send in chats) your current config. I’m curious if we’re missing something obvious.
@evroom I’m sorry you can’t get it working again. I’m at a loss as to why it’s not starting the streams properly. Everything in your config you sent looks like it should be working from the module’s end. The only thing I can think of is something else is interfering and preventing the module from starting. (Would show up as a “MMM-RTSPStream is suspended…” in the DevTools (web browser) console logs.
Updated to version [1.0.1] - now includes browser methods for formatting the DevTools console (disabled by default) and ability to echo Module Notifications and Errors from the web browser back to the Node (back-end) console and logs.
@cr4z33 @evroom the last things I can suggest to try:
autoStart: false
in your config. @evroom yours should be true
.cd ~/MagicMirror/modules/MMM-RTSPStream
git fetch --al && git pull
rm -R node_modules/
npm install
pm2 kill
rm ~/.pm2/dump.pm2
sudo npm i -g pm2
pm2 save
BEFORE you run any streams if you want the MM to start on boot).@citizendevpi said in [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server:
how do i fix it?
Update the module. You shouldn’t need to add anything else.
cd ~/MagicMirror/modules/octomirror-module
git fetch
git pull