Server connection



  • 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.


  • Moderator

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



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



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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.