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

Mirror starts not correct

Scheduled Pinned Locked Moved Unsolved Troubleshooting
18 Posts 5 Posters 6.4k 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
    Mykle1 Project Sponsor Module Developer @sdetweil
    last edited by Jul 11, 2019, 10:16 PM

    @sdetweil said in Mirror starts not correct:

    one of my sd cards suddenly became read only… no fix…
    had to buy new sd card

    Sux! :-(

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • T Offline
      thedk @Mykle1
      last edited by Jul 12, 2019, 8:23 AM

      @Mykle1
      No i cant. I just can reboot or shutdown the Pi by Terminal.
      I know i shouldnt unplug the Pi ^^

      1 Reply Last reply Reply Quote 0
      • T Offline
        thedk
        last edited by Aug 12, 2019, 5:59 AM

        Jusat am month ago, it starts again, but with an other fault

        0|mm  | > magicmirror@2.8.0 start /home/pi/MagicMirror
        0|mm  | > sh run-start.sh
        0|mm  | /home/pi/MagicMirror/node_modules/electron/dist/electron: relocation error: /home/pi/MagicMirror/node_modules/electron/dist/libffmpeg.so: symbol cnprantf, version GLIBC_2.4 not defined in file libc.so.6 with link time reference
        0|mm  | npm
        0|mm  |  ERR! file sh
        0|mm  | npm ERR! code ELIFECYCLE
        0|mm  | npm ERR! errno ENOENT
        0|mm  | npm ERR! syscall spawn
        0|mm  | npm
        0|mm  |  ERR! magicmirror@2.8.0 start: `sh run-start.sh`
        0|mm  | npm ERR! spawn ENOENT
        0|mm  | npm
        0|mm  |  ERR!
        0|mm  | npm ERR! Failed at the magicmirror@2.8.0 start script.
        0|mm  | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        0|mm  | npm ERR! A complete log of this run can be found in:
        0|mm  | npm ERR!     /home/pi/.npm/_logs/2019-08-12T05_54_45_996Z-debug.log
        

        I didnt changed anything, the error came from one day to the other an i just see the startscreen and the mirror wont start.

        Could somebody help?

        M T 2 Replies Last reply Aug 13, 2019, 4:55 PM Reply Quote 0
        • M Offline
          mumblebaj Module Developer @thedk
          last edited by Aug 13, 2019, 4:55 PM

          @thedk Have you upgraded your installation of Raspbian before updating the MM? You would also have to check every module folder that has a package.json and run npm install in the module folder. This has generally worked for most of the guys with the same issue as you have.

          Check out my modules at: https://github.com/mumblebaj?tab=repositories

          1 Reply Last reply Reply Quote 0
          • T Offline
            thedk
            last edited by Aug 14, 2019, 11:31 AM

            I didnt upgrade, i made an complete new installation cause of the issue i had before.

            Since two days the mirror has no error and everything goes fine, dont know why. I made no upgrade or similar but will do this now. Maybe the issue is gone with that.

            Thanks for your help.

            M 1 Reply Last reply Aug 14, 2019, 2:25 PM Reply Quote 0
            • M Offline
              mumblebaj Module Developer @thedk
              last edited by Aug 14, 2019, 2:25 PM

              @thedk Please remember to check every module folder that has a package.json in it and run npm install in those folders as well.

              Check out my modules at: https://github.com/mumblebaj?tab=repositories

              1 Reply Last reply Reply Quote 0
              • T Offline
                thedk
                last edited by Aug 14, 2019, 2:46 PM

                I will do this.

                Thanks.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thedk @thedk
                  last edited by Sep 18, 2019, 6:14 AM

                  @thedk said in Mirror starts not correct:

                  Jusat am month ago, it starts again, but with an other fault

                  0|mm  | > magicmirror@2.8.0 start /home/pi/MagicMirror
                  0|mm  | > sh run-start.sh
                  0|mm  | /home/pi/MagicMirror/node_modules/electron/dist/electron: relocation error: /home/pi/MagicMirror/node_modules/electron/dist/libffmpeg.so: symbol cnprantf, version GLIBC_2.4 not defined in file libc.so.6 with link time reference
                  0|mm  | npm
                  0|mm  |  ERR! file sh
                  0|mm  | npm ERR! code ELIFECYCLE
                  0|mm  | npm ERR! errno ENOENT
                  0|mm  | npm ERR! syscall spawn
                  0|mm  | npm
                  0|mm  |  ERR! magicmirror@2.8.0 start: `sh run-start.sh`
                  0|mm  | npm ERR! spawn ENOENT
                  0|mm  | npm
                  0|mm  |  ERR!
                  0|mm  | npm ERR! Failed at the magicmirror@2.8.0 start script.
                  0|mm  | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                  0|mm  | npm ERR! A complete log of this run can be found in:
                  0|mm  | npm ERR!     /home/pi/.npm/_logs/2019-08-12T05_54_45_996Z-debug.log
                  

                  I didnt changed anything, the error came from one day to the other an i just see the startscreen and the mirror wont start.

                  Could somebody help?

                  About a month ago and now again…
                  Everything is up to date but the issue is still there. Each day when the Mirror starts, the error comes second for second. A reboot solves the problem the mirror is runinng without problems.

                  Are there people where the Mirror is working für ober two months without issues? ^^

                  S 1 Reply Last reply Sep 18, 2019, 12:32 PM Reply Quote 0
                  • S Offline
                    sdetweil @thedk
                    last edited by Sep 18, 2019, 12:32 PM

                    @thedk said in Mirror starts not correct:

                    About a month ago and now again…
                    Everything is up to date but the issue is still there. Each day when the Mirror starts, the error comes second for second. A reboot solves the problem the mirror is runinng without problems

                    sorry, I am not quite sure I am understanding…

                    you start the mirror (with pm2? or manually?), and it fails, with the above message

                    and then you reboot

                    and it runs ok…

                    and runs ok for how long?

                    i have 5 mirror instances, and all have been running for months without issues like this

                    did u put updates onto your operating system, or were some applied automatically?
                    libc.so.6 is a system library

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thedk
                      last edited by Sep 19, 2019, 6:06 AM

                      The mirror starts every day automatically with pm2 throw a smart plug and the raspberry shuts down throw corn every day.
                      At the first start, he wont run with the log above, when i reboot the pi he is working without any problems till he shuts down at the end of the day.

                      All updates were made by me, none automatically.

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