MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Server connection

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 3 Posters 2.6k Views 2 Watching
    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.
    • ? Offline
      A Former User
      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
      • yawnsY Offline
        yawns Moderator
        last edited by

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

        1 Reply Last reply Reply Quote 2
        • cruunnerrC Offline
          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
          • ? Offline
            A Former User
            last edited by

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

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy