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.

    Something is wrong ....

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 4 Posters 7.2k Views 3 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.
    • cruunnerrC Offline
      cruunnerr
      last edited by

      Had/Have the same problem. I just copied all modules and the config of my main running RPi 3.
      I set up a RPi 2 with the copied files just for experimental usage. When i run up both at the same time my RPi 3 stops after a few minutes or 1-2 hours and put these errors:

      Tue Jan 16 2018 06:51:13 GMT+0100 (CET) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now.
      fatal: unable to access 'https://github.com/MichMich/MMM-WatchDog.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/vicmora/MMM-GoogleMapsTraffic.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/mykle1/MMM-EasyPix/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/Jopyth/MMM-Remote-Control.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/vicmora/MMM-GoogleMapsTraffic.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/Jopyth/MMM-Buttons.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/mykle1/MMM-EasyPix/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/paviro/MMM-Wunderlist.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/eouia/MMM-Remote-Control-Repository/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/jclarke0000/MMM-MyCommute.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/BenRoe/MMM-SystemStats/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/ptrbld/MMM-Podcast.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/cowboysdude/MMM-NOAA/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/KirAsh4/calendar_monthly/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/MichMich/MMM-WatchDog.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/eouia/MMM-Remote-Control-Repository/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/KirAsh4/calendar_monthly/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/Tueti/MMM-MovieListings.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/PtrBld/MMM-Scrobbler.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/Jopyth/MMM-Remote-Control.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/jclarke0000/MMM-MyCalendar.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/MichMich/MagicMirror/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/Jopyth/MMM-Buttons.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/ptrbld/MMM-Podcast.git/': SSL connection timeout
      
      fatal: unable to access 'https://github.com/eouia/MMM-Remote-Control-Repository/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/ptrbld/MMM-Podcast.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/KirAsh4/calendar_monthly/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/jclarke0000/MMM-MyCalendar.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/MichMich/MagicMirror/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/cowboysdude/MMM-NOAA/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/BenRoe/MMM-SystemStats/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/Tueti/MMM-MovieListings.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/paviro/MMM-Wunderlist.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/mykle1/MMM-EasyPix/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/PtrBld/MMM-Scrobbler.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/jclarke0000/MMM-MyCommute.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/MichMich/MagicMirror/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/jclarke0000/MMM-MyCalendar.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/jclarke0000/MMM-MyCommute.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/cowboysdude/MMM-NOAA/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/BenRoe/MMM-SystemStats/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/PtrBld/MMM-Scrobbler.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/Jopyth/MMM-Remote-Control.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/Tueti/MMM-MovieListings.git/': Couldn't connect to server
      
      fatal: unable to access 'https://github.com/paviro/MMM-Wunderlist.git/': Couldn't connect to server
      

      Even if i run just the modules without an API the problem comes up. Don’t know why yet

      1 Reply Last reply Reply Quote 0
      • cruunnerrC Offline
        cruunnerr @Peter
        last edited by

        @Peter

        Lets write here, so the other thread would not be filled up with this problem ;)

        so u don’t know how it starts. That sound like u used the automatic installer and clicked “YES” when it asked u to start automatically.

        Please type in console:

        pm2 status
        U will see a process name (probably “MagicMirror”)

        now u can use
        pm2 start MagicMirror to start MM
        pm2 stop MagicMirror to stop MM
        pm2 restart MagicMirror to restart MM

        or even
        pm2 logs MagicMirror to see logs and errors. Please try if i am right and then post the error log here

        P 1 Reply Last reply Reply Quote 2
        • P Offline
          Peter @cruunnerr
          last edited by

          @cruunnerr after typing pm2 status I see two processes:
          MagicMirror online
          mm. stopped

          after typing pm2 stop MagicMirror both processes are stopped.
          Peter

          1 Reply Last reply Reply Quote 0
          • cruunnerrC Offline
            cruunnerr
            last edited by cruunnerr

            alright. so u used the automatic installer AND did the “how to autostart”-Tutorial from MichMich, too ^^

            no problem, we will try to fix. As u can read here, ninjabreadman wrote how to remove one of the instances.

            so please try:

            cd
            pm2 stop mm && pm2 delete mm && pm2 save
            rm mm.sh

            now there should just be the “MagicMirror” process even when u reboot.

            Better now, to erase all logs and wait, if your problems come up again. So type:

            pm2 flush

            Next time u got any problems, please type:
            pm2 logs MagicMirror
            and post it here

            Hope that will help ;)

            1 Reply Last reply Reply Quote 1
            • P Offline
              Peter
              last edited by

              Thanks!
              Great help!
              I hope this helps.
              Next time I will post my error logs here.
              peter

              1 Reply Last reply Reply Quote 0
              • cruunnerrC Offline
                cruunnerr
                last edited by

                Lets hope there will be no “next time” ;)

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Peter
                  last edited by

                  Unfortunately the problem is not solved.
                  Maybe somebody can have a look at my config.js?

                  /* Magic Mirror Config Sample
                   *
                   * By Michael Teeuw http://michaelteeuw.nl
                   * MIT Licensed.
                   *
                   * For more information how you can configurate this file
                   * See https://github.com/MichMich/MagicMirror#configuration
                   *
                   */
                  
                  var 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, is "localhost"
                  	port: 8080,
                  	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"],
                  
                  	language: "nl",
                  	timeFormat: 24,
                  	units: "metric",
                  
                  
                  	modules: [
                  		
                  		{
                  			module: 'MMM-WatchDog',
                  			config: {
                  			// See 'Configuration options' for more information.
                  		}
                  	},
                  		{
                  			module: 'mmm-systemtemperature',
                  			position: 'top_center',	// This can be any of the regions.
                  			classes: 'xsmall dimmed', // Add your own styling. Optional.
                  			config: {
                  			// See 'Configuration options' for more information.
                  		}
                  	},
                  		{
                  			module: 'mmm-wu-moonphase',
                  			header: '',   // optionally you can add a header to this block
                  			position: 'top_center',  // this can be any of the regions.   
                  			config: {
                  			// See 'Configuration options' for more information.
                  			apikey: 'xxxxxxxxxxxx',
                  			country: 'Nederland',
                  			city: 'Apeldoorn',
                  			apiLang: 'NL',
                  			
                  		}
                  		},		 		
                  		{
                  			module: "clock",
                  			position: "top_left"
                  		},
                  		{
                  				module: 'calendar_monthly',
                  				position: 'top_left',
                  				config: {
                  						// The config property is optional
                  						// Without a config, a default month view is shown
                  						// Please see the 'Configuration Options' section for more information
                  				}
                  			},
                  		{
                  			module: "calendar",
                  			header: "Feestdagen en agenda",
                  			position: "top_left",
                  			config: {
                  				maximumEntries: '10',
                  				timeFormat: 'absolute',
                  				urgency: 0,
                  				getRelative: 0,
                  				dateFormat: 'D MMM',
                  				fullDayEventDateFormat: 'D MMM',
                  				fadePoint: 0.50, // Start on 1/4th of the list.
                  				calendars: [
                  				{
                  				symbol: 'calendar-check-o ',
                  				url: 'https://www.mozilla.org/media/caldata/DutchHolidays.ics'
                  				},
                  				{
                      				symbol: 'flag-checkered',
                      				url: 'http://localhost:8080/MMM-Formula1/schedule.ics',
                  				},
                  				{
                  				symbol: 'university ',
                  				url: 'https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxgroup.calendar.google.com/private-5926e1a950f5588d305e66d8b0af0cfa/basic.ics'
                  				},
                  				{
                  				url: 'https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxgroup.calendar.google.com/private-754f959bc1afb34da4f5ec42e92b1d01/basic.ics'
                  			},
                  				{
                  				symbol: 'birthday-cake ',
                  				url: 'https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgroup.calendar.google.com/private-2f98381b817baa8eb5bce7f11ac22120/basic.ics'
                  			},
                  				]
                  			}
                  		},
                  		{
                  			module: "MMM-MovieListings",
                  			position: "bottom_left",
                    				// Default module config.
                  				defaults: {
                      				apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxx',
                  				region: 'NL',
                      				language: 'en-EN',
                      				interface: 'poster', //'list', 'poster', 'detailed'
                      				includeMoviePlot: false,
                      				maxPlotLength: 198,
                      				header: 'Nu in de bioscoop',
                      				moviesPerPage: 0,
                      				refreshInterval: 1000 * 60 * 60 * 24, //Once a day
                      				baseUrl: 'https://api.themoviedb.org/3/movie/now_playing',
                      				animationSpeed: 2.5 * 1000,
                      				pageChangeInterval: 30 * 1000
                  		}		
                  		},
                  		
                  		{
                      			disabled: false,
                      			module: 'MMM-NOAA',
                      			position: 'top_right',
                      			config: {
                  
                  			apiKey: "xxxxxxxxxxxxxxxxxx",    // https://www.wunderground.com/weather/api  select the middle plan... 
                  			useAir: true,             // set to false if you do not want to use Air Quality Index
                  			airKey: "xxxxxxxxxxxxxx",    // IF you want Air Quality Index
                  			pws: "xxxxxxxxxx",         // go here to find your pws: https://www.wunderground.com/wundermap
                  			showClock: false,           // Hides or shows clock
                  			dformat: false,             // for M/D/YYYY format, false for D/M/YYYY
                  			format: "24",              // 12 or 24 hour format.. will default to 12 hour if none selected.
                  			ampm: false,                // to show AM and PM on Sunrise/Sunset time
                  			showGreet: true,          // deafult is false - to show greeting under clock and above date
                  			name: "xxxxxxxx",                  // Your name
                  			showWind: true,
                  			showDate: false,
                  			showForecast: true,         //show bottom 3 day forecast
                  			flash: true,                 //Today in forecast flashes halo
                  			showUV: true,               //show UV index
                          		showBar: true,             // show Barometer
                          		showHum: true,              //show Humidity level
                  			position: 'top_right',       //whatever you have in above position must also be here
                          		alert: true                //show weather alerts default is true
                  		}
                  		},
                  				
                  		{
                          		module: 'MMM-Formula1',
                          		position: 'top_right',
                          		header: 'Formule 1 Classificatie',
                          		config: {
                  			maxRows: 6,
                  			season: 'current',
                          		calendar: true,
                          		fade: false,
                          		fadePoint: 0.2,
                  			grayscale: false,
                              		// Optional configuration options - see https://github.com/ianperrin/MMM-Formula1#configuration-options
                          	}
                      		},
                  
                  		{
                  			module: "MMM-ImagesPhotos",
                  			position: "bottom_right",
                  			header: "Onze reizen door xxxxxxxxxxxxxx .................",
                  			config: {
                  			opacity: 1,
                  			animationSpeed: 5000,
                  			updateInterval: 50000,
                  			maxWidth: "100%",
                  			maxHeight: "100%",
                  		}
                  		},
                  				
                  		{
                  			module: "newsfeed",
                  			position: "bottom_bar",
                  			config: {
                  				feeds: [
                  					{
                  						title: "Algemeen Dagblad",
                  						url: "http://www.ad.nl/home/rss.xml"
                  					},
                  					{
                  						title: "Telegraaf",
                  						url: "http://www.telegraaf.nl/rss/"
                  					},
                  					{
                  						title: "Trouw",
                  						url: "https://www.trouw.nl/home/rss.xml"
                  					},
                  					{
                  						title: "Volkskrant",
                  						url: "https://www.volkskrant.nl/nieuws-voorpagina/rss.xml"
                  					},
                  					{
                  						title: "Nu.nl",
                  						url: "http://www.nu.nl/rss/Algemeen"
                  					}
                  				],
                  				showSourceTitle: true,
                  				showPublishDate: true
                  			}
                  		},
                  	]
                  
                  };
                  
                  /*************** DO NOT EDIT THE LINE BELOW ***************/
                  if (typeof module !== "undefined") {module.exports = config;}
                  
                  

                  Thanks!
                  Peter

                  1 Reply Last reply Reply Quote 0
                  • cruunnerrC Offline
                    cruunnerr
                    last edited by cruunnerr

                    Thats not what u promised ;)

                    You wanted to show your logs.

                    Your config is ok. Maybe its one of your modules. U have to try out by disabling them step by step or maybe in blocks.

                    Or try to run just default modules.

                    But first post your logs. i have been asking for it since the last 3 posts :D

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Peter @cruunnerr
                      last edited by

                      @cruunnerr , shame on me, you are right!
                      This is my error log:

                      /home/pi/.pm2/logs/MagicMirror-error-0.log last 15 lines:
                      0|MagicMir | npm ERR! 
                      0|MagicMir | npm ERR! Failed at the magicmirror@2.2.2 start script 'sh run-start.sh'.
                      0|MagicMir | npm ERR! Make sure you have the latest version of node.js and npm installed.
                      0|MagicMir | npm ERR! If you do, this is most likely a problem with the magicmirror package,
                      0|MagicMir | npm ERR! not with npm itself.
                      0|MagicMir | npm ERR! Tell the author that this fails on your system:
                      0|MagicMir | npm ERR!     sh run-start.sh
                      0|MagicMir | npm ERR! You can get information on how to open an issue for this project with:
                      0|MagicMir | npm ERR!     npm bugs magicmirror
                      0|MagicMir | npm ERR! Or if that isn't available, you can get their info via:
                      0|MagicMir | npm ERR!     npm owner ls magicmirror
                      0|MagicMir | npm ERR! There is likely additional logging output above.
                      0|MagicMir | 
                      0|MagicMir | npm ERR! Please include the following file with any support request:
                      0|MagicMir | npm ERR!     /home/pi/MagicMirror/npm-debug.log
                      
                      
                      
                      
                      

                      Peter

                      1 Reply Last reply Reply Quote 0
                      • cruunnerrC Offline
                        cruunnerr
                        last edited by

                        no need to shame ;)
                        i have had this problem, too.

                        Since i played around with new modules and deleted other modules it doesn’t comes up again.

                        we discussed that issue already here

                        I can’t help u, but maybe it really helps if you would uncomment modules step by step (maybe two at the same time) and wait if the error comes up again.

                        I know, that will take a while, but for me it would be the choice how to solve it.

                        I have no other idea, i am sorry :(

                        P 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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