Read the statement by Michael Teeuw here.
HELP -- MMM-calendarExt2 was not displayed
-
change the port in config and now this
[16.04.2022 21:49.40.284] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast] [16.04.2022 21:49.40.286] [LOG] Connecting socket for: MMM-CalendarExt2 [16.04.2022 21:49.40.290] [LOG] Sockets connected & modules started ... [16.04.2022 21:49.40.733] [ERROR] Whoops! There was an uncaught exception... [16.04.2022 21:49.40.751] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8082 at Server.setupListenHandle [as _listen2] (node:net:1334:16) at listenInCluster (node:net:1382:12) at GetAddrInfoReqWrap.doListen [as callback] (node:net:1520:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '127.0.0.1', port: 8082 }
-
@SARCux try address 0.0.0.0 and restart the pi
-
@swvalenti ```
[16.04.2022 21:53.09.202] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
[16.04.2022 21:53.09.204] [LOG] Connecting socket for: MMM-CalendarExt2
[16.04.2022 21:53.09.207] [LOG] Sockets connected & modules started …
[16.04.2022 21:53.09.227] [ERROR] Whoops! There was an uncaught exception…
[16.04.2022 21:53.09.241] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8082
at Server.setupListenHandle [as _listen2] (node:net:1334:16)
at listenInCluster (node:net:1382:12)
at doListen (node:net:1520:7)
at processTicksAndRejections (node:internal/process/task_queues:84:21) {
code: ‘EADDRINUSE’,
errno: -98,
syscall: ‘listen’,
address: ‘0.0.0.0’,
port: 8082
} -
@SARCux Are you running MagicMirror with pm2? Or manually?
Please run sudo netstat -lnptu to check which application is blocking 8082
-
> magicmirror@2.19.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev" [16.04.2022 21:59.19.108] [LOG] Starting MagicMirror: v2.19.0 [16.04.2022 21:59.19.126] [LOG] Loading config ... [16.04.2022 21:59.19.142] [LOG] Loading module helpers ... [16.04.2022 21:59.19.150] [LOG] No helper found for module: alert. [16.04.2022 21:59.19.204] [LOG] Initializing new module helper ... [16.04.2022 21:59.19.210] [LOG] Module helper loaded: updatenotification [16.04.2022 21:59.19.215] [LOG] No helper found for module: clock. [16.04.2022 21:59.19.227] [LOG] Initializing new module helper ... [16.04.2022 21:59.19.232] [LOG] Module helper loaded: MMM-DWD-WarnWeather [16.04.2022 21:59.19.285] [LOG] Initializing new module helper ... [16.04.2022 21:59.19.289] [LOG] Module helper loaded: MMM-bsh-tides [16.04.2022 21:59.19.293] [LOG] No helper found for module: MMM-OpenmapWeather. [16.04.2022 21:59.19.432] [LOG] Initializing new module helper ... [16.04.2022 21:59.19.434] [LOG] Module helper loaded: MMM-OpenWeatherForecast [16.04.2022 21:59.19.825] [LOG] Initializing new module helper ... [16.04.2022 21:59.19.829] [LOG] Module helper loaded: MMM-CalendarExt2 [16.04.2022 21:59.19.833] [LOG] All module helpers loaded. [16.04.2022 21:59.20.096] [LOG] Starting server on port 8081 ... [16.04.2022 21:59.20.117] [WARN] You're using a full whitelist configuration to allow for all IPs [16.04.2022 21:59.20.136] [LOG] Server started ... [16.04.2022 21:59.20.139] [LOG] Connecting socket for: updatenotification [16.04.2022 21:59.20.143] [LOG] Starting module helper: updatenotification [16.04.2022 21:59.20.145] [LOG] Connecting socket for: MMM-DWD-WarnWeather [16.04.2022 21:59.20.147] [LOG] MMM-DWD-WarnWeather helper started... [16.04.2022 21:59.20.149] [LOG] Connecting socket for: MMM-bsh-tides [16.04.2022 21:59.20.151] [LOG] Starting module helper: MMM-bsh-tides [16.04.2022 21:59.20.154] [LOG] Connecting socket for: MMM-OpenWeatherForecast [16.04.2022 21:59.20.156] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast] [16.04.2022 21:59.20.161] [LOG] Connecting socket for: MMM-CalendarExt2 [16.04.2022 21:59.20.163] [LOG] Sockets connected & modules started ... [16.04.2022 21:59.20.629] [ERROR] Whoops! There was an uncaught exception... [16.04.2022 21:59.20.648] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8081 at Server.setupListenHandle [as _listen2] (node:net:1334:16) at listenInCluster (node:net:1382:12) at GetAddrInfoReqWrap.doListen [as callback] (node:net:1520:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '127.0.0.1', port: 8081 }
-
@SARCux not too sure now, have to call in the big guns to help good luck
-
you sure there is not another instance of magicmirror running somewhere?
-
Server started is this correct??
Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 517/vncserver-x11-c tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 519/sshd: /usr/sbin tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 487/cupsd tcp6 0 0 ::1:631 :::* LISTEN 487/cupsd tcp6 0 0 :::5900 :::* LISTEN 517/vncserver-x11-c tcp6 0 0 :::22 :::* LISTEN 519/sshd: /usr/sbin udp 0 0 0.0.0.0:68 0.0.0.0:* 862/dhcpcd udp 0 0 0.0.0.0:631 0.0.0.0:* 545/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 368/avahi-daemon: r udp 0 0 0.0.0.0:51486 0.0.0.0:* 368/avahi-daemon: r udp6 0 0 :::40941 :::* 368/avahi-daemon: r udp6 0 0 :::5353 :::* 368/avahi-daemon: r
-
Let’s get all the info we can on this - strip your config of anything like passwords and private urls, and post it.
-
let config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8081, basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "de", locale: "de-DE", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_right" }, { module: "MMM-DWD-WarnWeather", position: "top_right", config: { warnCellID: "803455020", changeColor: true, minutes: false, displayRegionName: true, displayInnerHeader: true, interval: 5 * 60 * 1000, // every 5 minutes loadingText: "Warnungen werden geladen...", noWarningText: "Keine Warnungen", severityThreshold: 1 } }, { module: "MMM-bsh-tides", position: "top_right", header: "*********", config: { filename: "*********", // file from https://tableau.bsh.de/views/Gezeitenvorausberechnung_V02/Download-Bereich todayLabel: "Heute", tomorrowLabel: "Morgen", highTide: "Hochwasser", lowTide: "Niedrigwasser", showIcons: false, // Hide or show arrow icons updateInterval: 60 * 60 * 1000, // 1 hour } }, { module: "MMM-OpenmapWeather", position: "top_left", // This can be any of the regions. Best results in left or right regions. header: "Current Weather", //Location is the default value if header is empty or not defined. config: { // See 'Configuration options' for more information. location: "*******", locationID: "***********", //Location ID from http://openweathermap.org/help/city_list.txt appid: "***************", //openweathermap.org API key colorIcon: true } }, { module: "MMM-OpenWeatherForecast", position: "top_left", header: "Wettervorhersage Hooksiel", language: "de", config: { apikey: "*****************", //only string here latitude: 53.640873, //number works here longitude: 8.093848, //so does a string units: "metric", iconset: "5c", colored: true, concise: true, requestDelay: "2000", showFeelsLikeTemp: true, showCurrentConditions: false, showSummary: false, showExtraCurrentConditions: true, extraCurrentConditions: { highLowTemp: true, precipitation: true, sunrise: true, sunset: true, wind: true, barometricPressure: true, humidity: true, dewPoint: false, uvIndex: true, visibility: true }, } }, { module: "MMM-CalendarExt2", config: { calendars : [ { name: "******", url: "***********", scanInterval: 7200000, //(already tried: 1000*60*60*2, 2*60*60*1000, ) }, ], views: [ { name: "view1", mode: "week", calendars: ["******"], hideOverflow: false, position: "top_bar", slotCount: 3, filterPassedEvent: true, locale: "de-DE", }, { name: "upcoming", mode: "upcoming", position: "top_center", maxItems: 5, maxDays: 7, locale: "de-DE", hideOverflow: false, filterPassedEvent: true, }, ], scenes: [ { name: "DEFAULT", }, ], }, }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}