MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. fox
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 20
    • Posts 187
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How to MANUALLY install MM on your Pi. For absolute beginners.

      Hi @Mykle1 i get this error when i make

      npm start
      

      Error:

      Whoops! There was an uncaught exception...
      { Error: listen EADDRINUSE 0.0.0.0:8080
          at Object.exports._errnoException (util.js:1050:11)
          at exports._exceptionWithHostPort (util.js:1073:20)
          at Server.setupListenHandle [as _listen2] (net.js:1263:14)
          at listenInCluster (net.js:1304:12)
          at doListen (net.js:1428:7)
          at _combinedTickCallback (internal/process/next_tick.js:83:11)
          at process._tickCallback (internal/process/next_tick.js:104:9)
          at Module.runMain (module.js:607:11)
          at run (bootstrap_node.js:431:7)
          at startup (bootstrap_node.js:155:9)
        code: 'EADDRINUSE',
        errno: 'EADDRINUSE',
        syscall: 'listen',
        address: '0.0.0.0',
        port: 8080 }
      
      

      edit:
      with

      sudo netstat -lnptu
      

      i saw that electron.js is already using the port. But i have a blank screen and nothing is shown. Also rebooted a couple of times.

      posted in Troubleshooting
      foxF
      fox
    • RE: How to MANUALLY install MM on your Pi. For absolute beginners.

      @Mykle1 said in How to MANUALLY install MM on your Pi. For absolute beginners.:

      Backup your config.js file

      Thank you very much for this Tut. I’ll give it a try. And thank you for linking it here

      posted in Troubleshooting
      foxF
      fox
    • Can not start MM anymore

      Hi, i have some problems - mainly after the latest update.

      I cant start MM anymore.

      The logfile (/home/pi/.npm/_logs/2017-10-14T02_58_48_833Z-debug.log)

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'bugs', 'magicmirror' ]
      2 info using npm@4.2.0
      3 info using node@v7.10.1
      4 silly fetchPackageMetaData magicmirror
      5 silly fetchNamedPackageData magicmirror
      6 silly mapToRegistry name magicmirror
      7 silly mapToRegistry using default registry
      8 silly mapToRegistry registry https://registry.npmjs.org/
      9 silly mapToRegistry data Result {
      9 silly mapToRegistry   raw: 'magicmirror',
      9 silly mapToRegistry   scope: null,
      9 silly mapToRegistry   escapedName: 'magicmirror',
      9 silly mapToRegistry   name: 'magicmirror',
      9 silly mapToRegistry   rawSpec: '',
      9 silly mapToRegistry   spec: 'latest',
      9 silly mapToRegistry   type: 'tag' }
      10 silly mapToRegistry uri https://registry.npmjs.org/magicmirror
      11 verbose request uri https://registry.npmjs.org/magicmirror
      12 verbose request no auth needed
      13 info attempt registry request try #1 at 04:58:46
      14 verbose request id 3fa149b5af7f1094
      15 verbose etag W/"56fbae0b-bef"
      16 verbose lastModified Wed, 30 Mar 2016 10:44:27 GMT
      17 http request GET https://registry.npmjs.org/magicmirror
      18 http 304 https://registry.npmjs.org/magicmirror
      19 verbose headers { date: 'Sat, 14 Oct 2017 02:58:46 GMT',
      19 verbose headers   via: '1.1 varnish',
      19 verbose headers   'cache-control': 'max-age=300',
      19 verbose headers   etag: 'W/"56fbae0b-bef"',
      19 verbose headers   age: '22',
      19 verbose headers   connection: 'keep-alive',
      19 verbose headers   'x-served-by': 'cache-hhn1550-HHN',
      19 verbose headers   'x-cache': 'HIT',
      19 verbose headers   'x-cache-hits': '1',
      19 verbose headers   'x-timer': 'S1507949927.624052,VS0,VE0',
      19 verbose headers   vary: 'Accept-Encoding, Accept' }
      20 silly get cb [ 304,
      20 silly get   { date: 'Sat, 14 Oct 2017 02:58:46 GMT',
      20 silly get     via: '1.1 varnish',
      20 silly get     'cache-control': 'max-age=300',
      20 silly get     etag: 'W/"56fbae0b-bef"',
      20 silly get     age: '22',
      20 silly get     connection: 'keep-alive',
      20 silly get     'x-served-by': 'cache-hhn1550-HHN',
      20 silly get     'x-cache': 'HIT',
      20 silly get     'x-cache-hits': '1',
      20 silly get     'x-timer': 'S1507949927.624052,VS0,VE0',
      20 silly get     vary: 'Accept-Encoding, Accept' } ]
      21 verbose etag https://registry.npmjs.org/magicmirror from cache
      22 verbose get saving magicmirror to /home/pi/.npm/registry.npmjs.org/magicmirror/.cache.json
      23 verbose correctMkdir /home/pi/.npm correctMkdir not in flight; initializing
      24 silly bugs url https://github.com/MichMich/MagicMirror/issues
      25 verbose stack Error: Command failed: xdg-open https://github.com/MichMich/MagicMirror/issues
      25 verbose stack /usr/bin/xdg-open: 1: eval: www-browser: not found
      25 verbose stack /usr/bin/xdg-open: 1: eval: links2: not found
      25 verbose stack /usr/bin/xdg-open: 1: eval: elinks: not found
      25 verbose stack /usr/bin/xdg-open: 1: eval: links: not found
      25 verbose stack /usr/bin/xdg-open: 1: eval: lynx: not found
      25 verbose stack /usr/bin/xdg-open: 1: eval: w3m: not found
      25 verbose stack xdg-open: no method available for opening 'https://github.com/MichMich/MagicMirror/issues'
      25 verbose stack
      25 verbose stack     at ChildProcess.exithandler (child_process.js:205:12)
      25 verbose stack     at emitTwo (events.js:106:13)
      25 verbose stack     at ChildProcess.emit (events.js:194:7)
      25 verbose stack     at maybeClose (internal/child_process.js:899:16)
      25 verbose stack     at Socket. (internal/child_process.js:342:11)
      25 verbose stack     at emitOne (events.js:96:13)
      25 verbose stack     at Socket.emit (events.js:191:7)
      25 verbose stack     at Pipe._handle.close [as _onclose] (net.js:511:12)
      26 verbose cwd /home/pi/MagicMirror
      27 error Linux 4.9.35-v7+
      28 error argv "/usr/bin/nodejs" "/usr/bin/npm" "bugs" "magicmirror"
      29 error node v7.10.1
      30 error npm  v4.2.0
      31 error code 3
      32 error Command failed: xdg-open https://github.com/MichMich/MagicMirror/issues
      32 error /usr/bin/xdg-open: 1: eval: www-browser: not found
      32 error /usr/bin/xdg-open: 1: eval: links2: not found
      32 error /usr/bin/xdg-open: 1: eval: elinks: not found
      32 error /usr/bin/xdg-open: 1: eval: links: not found
      32 error /usr/bin/xdg-open: 1: eval: lynx: not found
      32 error /usr/bin/xdg-open: 1: eval: w3m: not found
      32 error xdg-open: no method available for opening 'https://github.com/MichMich/MagicMirror/issues'
      33 error If you need help, you may report this error at:
      33 error     
      34 verbose exit [ 1, true ]
      
      

      and tail of the mm-error file:

      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/pi/.npm/_logs/2017-10-14T02_58_23_366Z-debug.log
      error: object file .git/objects/54/95af1f76e98870ede078c41304a08747792caa is empty
      error: object file .git/objects/54/95af1f76e98870ede078c41304a08747792caa is empty
      fatal: loose object 5495af1f76e98870ede078c41304a08747792caa (stored in .git/objects/54/95af1f76e98870ede078c41304a08747792caa) is corrupt
      fatal: The remote end hung up unexpectedly
      
      Sat Oct 14 2017 04:58:52 GMT+0200 (CEST) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now.
      
      npm ERR! Linux 4.9.35-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
      npm ERR! node v7.10.1
      npm ERR! npm  v4.2.0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.1.3 start: `sh run-start.sh`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.1.3 start script 'sh run-start.sh'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, 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!     sh run-start.sh
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs magicmirror
      npm ERR! Or if that isn't available, 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/.npm/_logs/2017-10-14T02_58_52_966Z-debug.log
      error: object file .git/objects/54/95af1f76e98870ede078c41304a08747792caa is empty
      error: object file .git/objects/54/95af1f76e98870ede078c41304a08747792caa is empty
      fatal: loose object 5495af1f76e98870ede078c41304a08747792caa (stored in .git/objects/54/95af1f76e98870ede078c41304a08747792caa) is corrupt
      fatal: The remote end hung up unexpectedly
      
      Sat Oct 14 2017 04:59:23 GMT+0200 (CEST) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now.
      
      npm ERR! Linux 4.9.35-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
      npm ERR! node v7.10.1
      npm ERR! npm  v4.2.0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.1.3 start: `sh run-start.sh`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.1.3 start script 'sh run-start.sh'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, 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!     sh run-start.sh
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs magicmirror
      npm ERR! Or if that isn't available, 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/.npm/_logs/2017-10-14T02_59_23_738Z-debug.log
      error: object file .git/objects/54/95af1f76e98870ede078c41304a08747792caa is empty
      error: object file .git/objects/54/95af1f76e98870ede078c41304a08747792caa is empty
      fatal: loose object 5495af1f76e98870ede078c41304a08747792caa (stored in .git/objects/54/95af1f76e98870ede078c41304a08747792caa) is corrupt
      fatal: The remote end hung up unexpectedly
      
      
      posted in Troubleshooting
      foxF
      fox
    • RE: MMM Remote dont work after update

      After update it started with the same problem at me.
      First remote was down, then i made the fix from @roramirez :
      https://forum.magicmirror.builders/post/28921
      and now my complete MM is crashed and i dont know how to solve it.
      Only blank screen, i did several times a

      git pull & npm install
      

      Dont update! Never touch a running system

      posted in Troubleshooting
      foxF
      fox
    • RE: After update to Mirror to 2.1.3 - no working Whitlist

      @Sandy2503 ok nice to know. My problem, that - as i wrote - that with the “developer checkout” from github my MagicMirror is now broken :(

      posted in Troubleshooting
      foxF
      fox
    • RE: After update to Mirror to 2.1.3 - no working Whitlist

      @randomnoise thank you for clarifying.

      @roramirez said in After update to Mirror to 2.1.3 - no working Whitlist:

      That happens because the release 2.1.3 was introduced a new change to make more secure the MagicMirror, to prevent open all interfaces to world. So, now from 2.1.3 the default values for address is localhost instead of 0.0.0.0… so …be careful to set this value.

      i tried your fix: https://github.com/MichMich/MagicMirror/issues/1036#issuecomment-333243474
      now MM crashed. With “pm2 logs mm” only weird errors appear :(
      Was that thing with the developer checkout really intended to remain a stable MM?

      posted in Troubleshooting
      foxF
      fox
    • RE: After update to Mirror to 2.1.3 - no working Whitlist

      @randomnoise said in After update to Mirror to 2.1.3 - no working Whitlist:

      @d3r said in After update to Mirror to 2.1.3 - no working Whitlist:

      address:“0.0.0.0”,

      Thanks d3r, this was indeed the solution.

      And how is the syntax?
      Something like this?

      var config =
      {
              electronOptions: {
      
              },
              ipWhitelist: [
                      "127.0.0.1",
                      "0.0.0.0",
                      "::ffff:127.0.0.1",
                      "::1",
                      "::ffff:192.168.188.42",
                      "192.168.188.1/24",
                      "::ffff:192.168.188.50"
              ],
      
      

      that does not work for me, before the update my MM was working really fine.
      Also MMM-iFrameReload is not working anymore :(

      posted in Troubleshooting
      foxF
      fox
    • Show Brandenburger Tor on MM

      Hi,
      i would like to see the Live Cam from Brandenburger Tor on my MM.

      http://www.earthtv.com/de/webcam/berlin-brandenburger-tor

      What do you think, shall i embedd the live video? E.g. with Iframe Module? But how?

      Has someone experience with embedding Webcams from the Internet?

      posted in General Discussion
      foxF
      fox
    • RE: Webcam with microphone setup

      Some recommendations for a good cheap outdoor cam?

      posted in Hardware
      foxF
      fox
    • RE: MMM-synology-ds

      Could be a cool module

      posted in Utilities
      foxF
      fox
    • 1 / 1