UNSOLVED Mirror starts not correct
Could somebody help with this fault?
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option) /home/pi/.pm2/logs/mm-out.log last 15 lines: 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: MMM-Remote-Control 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: MMM-Remote-Control-Repository 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: MMM-ModuleScheduler 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: MMM-PIR-Sensor 0|mm | No helper found for module: MMM-EyeCandy. 0|mm | Whoops! There was an uncaught exception... 0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|mm | Whoops! There was an uncaught exception... 0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues /home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | at tryModuleLoad (internal/modules/cjs/loader.js:559:12) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:551:3) 0|mm | at Module.require (internal/modules/cjs/loader.js:658:17) 0|mm | at require (internal/modules/cjs/helpers.js:20:18) 0|mm | XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.) 0|mm | TypeError: Invalid item 0|mm | at Menu.insert (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/menu.js:109:11) 0|mm | at Menu.append (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/menu.js:104:15) 0|mm | at sorted.forEach (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/menu.js:171:10) 0|mm | at Array.forEach (<anonymous>) 0|mm | at Function.Menu.buildFromTemplate (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/menu.js:167:10) 0|mm | at App.app.once (/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js:240:21) 0|mm | at Object.onceWrapper (events.js:273:13) 0|mm | at App.emit (events.js:187:15) 0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment.
Yesterday i made the update to 2.8.0 and now the mirror starts but i cant see it. I just see the startscreen.
The Log doesnt make sence to me.
That’s… well, that’s a new one.
I hate to say it, but I would recommend a reinstall of the MagicMirror framework. This isn’t pleasant but it can be accomplished in about 30 minutes.
First step: back up your
config.jsfile. Copy it to your /home/pi directory or wherever. Verify that it copied properly.
Second step: write down a list of all of your installed modules.
3rd step: Stop the magic mirror framework. Usually this is
pm2 stop all.
4th step: Delete the magic mirror folder.
rm -rf /home/pi/MagicMirror
5th re-clone Magic Mirror manually.
git clone https://github.com/MichMich/MagicMirror.git
6th step: install Magic Mirror (this will take a few minutes):
cd /home/pi/MagicMirror npm install
7th step - Install modules: Change to the modules folder:
cd /home/pi/MagicMirror/modules. For each module in your
config.jsfile, find them on GitHub and clone the module.
git clone [module url]. Be sure to follow the installation instructions for each module. Some will be easy, some will involve the
npm installcommand, and some will be complex (MMM-FitBit).
8th Step - copy your
config.jsfrom backup to the original location in
9th step: run the MagicMirror process and see how she rolls:
pm2 start MagicMirror.
@bhepler rename the magic mirror folder. Do not delete til u are happily running again
A reinstall wouldnt be the Problem. It is not the first time i have to do this ^^
But i really dont unterstand why he wont start anymore. I also had this before the update, forgot to write. From one to the other the Mirror doesnt starts just with the first start of the day. When i reboot or just unplug the Pi, the mirror starts correct
@Mykle1 one of my sd cards suddenly became read only… no fix…
had to buy new sd card
I just unplug the Pi sometimes since he is not starting anymore
I know thats not the best way, it’s my 4th Pi
No i cant. I just can reboot or shutdown the Pi by Terminal.
I know i shouldnt unplug the Pi ^^