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.

    my mirror freezes!

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    98 Posts 5 Posters 36.8k 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.
    • M Offline
      Manu85
      last edited by

      this one :
      MMM-Logging ?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Manu85
        last edited by sdetweil

        @Manu85 yes,

        make sure to do this

        Note: You can find more detailed information on debugging your MagicMirror here: Module Debugging. If you also want the Electron rederer (web browser) console logs to be printed to the standard console (or PM2 logs), change the following line to the very top of ~/MagicMirror/run-start.sh

        export ELECTRON_ENABLE_LOGGING=true

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          Manu85
          last edited by

          @sdetweil thank you for your answer i will follow your advice, but it exceeds my skills, can you tell me exactly what to do please?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Manu85
            last edited by

            @Manu85 install the module(note that it wants to be first in the module list in config.js), and add this to the batch file starting the mirror

            export ELECTRON_ENABLE_LOGGING=true

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Manu85
              last edited by

              The you lost me :-), "and add this to the batch file starting the mirror
              export ELECTRON_ENABLE_LOGGING = true "

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Manu85
                last edited by

                @Manu85 how does MM get started? pm2?

                if so, it usually uses a batch file (script)

                ~/MagicMirror/installers/mm.sh
                make it look like this

                cd ~/MagicMirror
                export ELECTRON_ENABLE_LOGGING = true       
                DISPLAY=:0 npm start
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Manu85
                  last edited by

                  I have this error message:
                  pi@raspberrypi:~/MagicMirror $ export ELECTRON_ENABLE_LOGGING = true
                  -bash: export: « = » : identifiant non valable

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Manu85
                    last edited by

                    -bash: export: “=”: invalid identifier

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Manu85
                      last edited by

                      @Manu85 sorry, hate that…

                      no spaces

                      export ELECTRON_ENABLE_LOGGING=true
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manu85
                        last edited by

                        ok perfect the line has passed,
                        pi@raspberrypi:~/MagicMirror $ export ELECTRON_ENABLE_LOGGING=true
                        pi@raspberrypi:~/MagicMirror $
                        i downloaded the module, now i set it in config.js?

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 9
                        • 10
                        • 2 / 10
                        • 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