Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Server connection

    Troubleshooting
    3
    4
    1601
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      howi42 last edited by

      I have problems to user the mirror server - no connection possible.
      Config seems quite standard :

      var config = {
      	port: 8080,
              adress: "0.0.0.0",
      	ipWhitelist: [], // Set [] to allow all IP addresses.
      	language: "de",
      	debug: true,
      	timeFormat: 24,
      	units: "metric",
      

      When I run MagicMirror trough pm2, it runs fine, display is ok and all modules work.
      When running as : node serveronly
      I get the following output :

      Starting MagicMirror: v2.1.3
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      Initializing new module helper ...
      Module helper loaded: mmm-systemtemperature
      No helper found for module: MMM-Admin-Interface.
      No helper found for module: MMM-GoogleAssistant.
      Initializing new module helper ...
      Module helper loaded: MMM-NASA
      No helper found for module: MMM-Globe.
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Module version mismatch. Expected 48, got 54.
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      Initializing new module helper ...
      Module helper loaded: mmm-systemtemperature
      No helper found for module: MMM-Admin-Interface.
      No helper found for module: MMM-GoogleAssistant.
      Initializing new module helper ...
      Module helper loaded: MMM-NASA
      No helper found for module: MMM-Globe.
      Whoops! There was an uncaught exception...
      Error: Module version mismatch. Expected 48, got 54.
          at Error (native)
          at Object.Module._extensions..node (module.js:597:18)
          at Module.load (module.js:487:32)
          at tryModuleLoad (module.js:446:12)
          at Function.Module._load (module.js:438:3)
          at Module.require (module.js:497:17)
          at require (internal/module.js:20:19)
          at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:81:44)
          at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:1:99)
          at Module._compile (module.js:570:32)
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      (node:1205) DeprecationWarning: sys is deprecated. Use util instead.
      
      

      Neither allows me to connect to
      http://10.0.0.60:8080

      Address is correct …

      Am I missing something ?

      I was not able to correct the listed version mismatch for the PIR-sensor,
      but it seems to run fine under pm2.

      1 Reply Last reply Reply Quote 0
      • yawns
        yawns Moderator last edited by

        It should be address: "0.0.0.0", with 2 d 🙂

        1 Reply Last reply Reply Quote 2
        • cruunnerr
          cruunnerr last edited by

          i did the same mistake on my first time. Think this is a german guys problem XD

          1 Reply Last reply Reply Quote 3
          • H
            howi42 last edited by

            I should know this …
            But you are right.
            Thank you

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy