• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Update fail

Scheduled Pinned Locked Moved Solved Troubleshooting
28 Posts 4 Posters 6.2k Views 4 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.
  • J Offline
    JerryP
    last edited by Jul 3, 2022, 8:29 PM

    please Help.

    I just run the update tot V.2.20
    but now the mirror is brokken

    pi@raspberrypi:~ $ pm2 logs mm
    [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
    /home/pi/.pm2/logs/mm-out.log last 15 lines:
    4|mm       | [03.07.2022 22:23.06.022] [LOG]   Starting MagicMirror: v2.20.0
    4|mm       | [03.07.2022 22:23.06.033] [LOG]   Loading config ...
    4|mm       | [03.07.2022 22:23.06.043] [LOG]   Loading module helpers ...
    4|mm       | [03.07.2022 22:23.06.048] [LOG]   No helper found for module: alert.
    4|mm       | [03.07.2022 22:23.06.067] [LOG]   Initializing new module helper ...
    4|mm       | [03.07.2022 22:23.06.070] [LOG]   Module helper loaded: updatenotification
    4|mm       | [03.07.2022 22:23.06.160] [LOG]   Initializing new module helper ...
    4|mm       | [03.07.2022 22:23.06.161] [LOG]   Module helper loaded: MMM-Spotify
    4|mm       | [03.07.2022 22:23.06.168] [LOG]   Loading module helpers ...
    4|mm       | [03.07.2022 22:23.06.169] [LOG]   No helper found for module: alert.
    4|mm       | [03.07.2022 22:23.06.170] [LOG]   Initializing new module helper ...
    4|mm       | [03.07.2022 22:23.06.171] [LOG]   Module helper loaded: updatenotification
    4|mm       | [03.07.2022 22:23.06.172] [LOG]   Initializing new module helper ...
    4|mm       | [03.07.2022 22:23.06.173] [LOG]   Module helper loaded: MMM-Spotify
    4|mm       | [03.07.2022 22:23.06.483] [LOG]   Launching application.
    
    /home/pi/.pm2/logs/mm-error.log last 15 lines:
    4|mm       |     '/home/pi/MagicMirror/js/electron.js',
    4|mm       |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
    4|mm       |     undefined
    4|mm       |   ]
    4|mm       | }
    4|mm       | [03.07.2022 22:23.06.186] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    4|mm       | [03.07.2022 22:23.06.187] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    4|mm       | MESA-LOADER: failed to retrieve device information
    4|mm       | MESA-LOADER: failed to retrieve device information
    4|mm       | MESA-LOADER: failed to retrieve device information
    4|mm       | MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    4|mm       | failed to load driver: kms_swrast
    4|mm       | MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    4|mm       | failed to load swrast driver
    4|mm       | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
    

    What’s going wrong???

    S 1 Reply Last reply Jul 3, 2022, 9:03 PM Reply Quote 0
    • T Offline
      torte22
      last edited by Jul 10, 2022, 11:55 AM

      after updating my MM installation I had also an electron problem and MM didn’t start. This topic works for my fine and fixed my installation:

      https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more?page=1

      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @JerryP
        last edited by Jul 3, 2022, 9:03 PM

        @JerryP how did u do the update?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Jul 4, 2022, 5:48 AM Reply Quote 0
        • J Offline
          JerryP @sdetweil
          last edited by Jul 4, 2022, 5:48 AM

          @sdetweil
          Goodmorning

          I run the

          git pull && npm install --only=prod --omit=dev
          

          And i remana the MAP and than

          git clone https://github.com/MichMich/MagicMirror
          cd MagicMirror/
          npm install --only=prod --omit=dev
          

          Same result alt the end…

          S 1 Reply Last reply Jul 4, 2022, 12:29 PM Reply Quote 0
          • S Away
            sdetweil @JerryP
            last edited by Jul 4, 2022, 12:29 PM

            @JerryP and try my script?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 2 Replies Last reply Jul 4, 2022, 2:59 PM Reply Quote 0
            • J Offline
              JerryP @sdetweil
              last edited by Jul 4, 2022, 2:59 PM

              @sdetweil
              No Not yet.

              1 Reply Last reply Reply Quote 0
              • J Offline
                JerryP @sdetweil
                last edited by Jul 5, 2022, 12:10 PM

                @sdetweil said in Update fail:

                @JerryP and try my script?

                Yesterday I have made a new install whit your script.
                After that i’ts was running fine (Standard module)

                https://github.com/sdetweil/MagicMirror_scripts (That was good)

                When I’m trying to put my own module back whit al git clone and install I run in to trouble.

                • https://github.com/skuethe/MMM-Spotify (check)

                • https://github.com/mazim-co/MMM-MyVolvo (Check)

                • https://github.com/ianperrin/MMM-NetworkScanner (Check)

                • https://github.com/darickc/MMM-BackgroundSlideshow (Check)

                • https://github.com/shbatm/MMM-RTSPStream (Check)

                • https://github.com/ianperrin/MMM-Formula1 (Check)

                • https://github.com/BenRoe/MMM-SystemStats (Trouble black screen)

                • https://github.com/ashishtank/MMM-MercedesMe (Trouble black screen)

                		{
                			module: "MMM-MercedesMe",
                			position: "bottom_right",
                			config: {
                				client_id: '************',
                				client_secret: '************',
                				vehicleType: 'Electric',
                				vehicleId: 'WDD**************',
                				displayStyle: 'singledial',  //# twodial & singledial 
                				//updateInterval: 300000, // 10 Minutes,
                				maxRange: 175,
                				debug: false,
                				logsInFile: false,
                		}},
                		{
                		module: 'MMM-SystemStats',
                		position: 'top_center',
                		config: {
                			updateInterval: 10000, // every 10 seconds
                			align: 'right', // align labels
                			units: 'metric', // default, metric, imperial
                			view: 'textAndIcon',
                		},
                

                And the total mirror is look like i’ts zoom-in for 20% or something.

                So that’s the status for now. Its running on 75% hahahah (Smile)

                S 1 Reply Last reply Jul 5, 2022, 12:38 PM Reply Quote 0
                • S Away
                  sdetweil @JerryP
                  last edited by Jul 5, 2022, 12:38 PM

                  @JerryP black screen see

                  https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                  if you had run the upgrade script from the old version, then I would have fixed these for you

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Jul 5, 2022, 8:12 PM Reply Quote 0
                  • J Offline
                    JerryP @sdetweil
                    last edited by Jul 5, 2022, 8:12 PM

                    @sdetweil said in Update fail:

                    @JerryP black screen see

                    https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                    if you had run the upgrade script from the old version, then I would have fixed these for you

                    So that was not the fix.
                    I’ts not the black screen that makes the problemen. It.s hangingang on the electron… I think

                    S 1 Reply Last reply Jul 5, 2022, 9:00 PM Reply Quote 0
                    • S Away
                      sdetweil @JerryP
                      last edited by Jul 5, 2022, 9:00 PM

                      @JerryP the two modules failing are because of the black screen issue.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 1 Reply Last reply Jul 6, 2022, 5:56 AM Reply Quote 0
                      • J Offline
                        JerryP @sdetweil
                        last edited by Jul 6, 2022, 5:56 AM

                        @sdetweil said in Update fail:

                        @JerryP the two modules failing are because of the black screen issue.

                        pi@raspberrypi:~/MagicMirror/modules $ grep -r -E '('request') | ('valid-url')' ~/MagicMirror/modules/*/*.js
                        /home/pi/MagicMirror/modules/MMM-MercedesMe/node_helper.js:const request = require('request');
                        /home/pi/MagicMirror/modules/MMM-MercedesMe/node_helper.js:   * Handles the auth request endpoint, should be call by clicking on authenticate link
                        /home/pi/MagicMirror/modules/MMM-MercedesMe/OAuth.js:const request = require('request');
                        /home/pi/MagicMirror/modules/MMM-Screencast/DialServer.js:          console.log("Got request to stop", appName," with pid: ", pid);
                        /home/pi/MagicMirror/modules/MMM-Spotify/Spotify.js:          console.error(this.logMessage, "Failed to request API:", api)
                        /home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.js:var request = require('request');
                        

                        SO MMM-screencast is working and MMM-Spotify is working.

                        S 1 Reply Last reply Jul 6, 2022, 10:52 AM Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        1 / 3
                        • First post
                          4/28
                          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