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.

    I think I Broke my MagicMirror

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 4 Posters 784 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.
    • plainbrokeP Offline
      plainbroke
      last edited by plainbroke

      My MagicMirror was working and I was doing some customizing of the css ect. all went as planned. UNTIL, I ran “sudo apt-get update && sudo apt-get upgrade -y” and when it was finished, “sudo reboot” Now I cannot get MM to start.
      So I ran “npm outdated” and found electron missing.
      So I found bugsounets electron install on GitHub.
      “npm install magicmirror-rebuild --save” and ran it.
      another “sudo reboot” still cannot get MM to start. pm2 shows it loaded and when I go into VNC , Using ctrl+m I see , electron instead of MagicMirror is minimised. What did I do wrong this is a fresh install a couple days ago.
      pi@MM:~/MagicMirror $ npm -v
      8.11.0
      pi@MM:~/MagicMirror $ node -v
      v16.16.0
      pi@MM:~/MagicMirror $ npx electron -v
      v19.0.9
      pi@MM:~/MagicMirror $
      Here are my electron, npm and node versions.

      HELP…

      Slow learner. But trying anyways.

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

        @sdetweil Well that got me no where. I still have the black screen and when I ctrl+m it says electron instead of MagicMirror.
        So I just renamed MagicMirror to MM and reinstalled with your script I have the backup restore module saved so I can reinstall my modules quickly and with minimal effort. The mirror looks better already…

        Slow learner. But trying anyways.

        BKeyportB S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @plainbroke
          last edited by sdetweil

          @plainbroke yeesh…
          don’t run upgrades unless you know how to work thru the issues.

          MagicMirror-rebuild is for some modules. not the base.

          do this
          stop MagicMirror

          cd ~
          rm -rf .config/Electron
          

          note the dot in front of config

          then run my upgrade script w

          force 
          

          as the parameter, instead of apply

          see
          https://github.com/sdetweil/MagicMirror_scripts

          it does all the steps (not mm-rebuild tho)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          plainbrokeP 1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke @sdetweil
            last edited by

            @sdetweil Well that got me no where. I still have the black screen and when I ctrl+m it says electron instead of MagicMirror.
            So I just renamed MagicMirror to MM and reinstalled with your script I have the backup restore module saved so I can reinstall my modules quickly and with minimal effort. The mirror looks better already…

            Slow learner. But trying anyways.

            BKeyportB S 2 Replies Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @plainbroke
              last edited by

              @plainbroke I would, at this point, back up your custom files, (config.js and custom.css), then delete and reinstall, or reformat and install on a fresh OS install.

              The "E" in "Javascript" stands for "Easy"

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

                @plainbroke can u send me the MM/installers/upgrade.log
                if u still have it

                same userid at gmail.

                glad u got it running again

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                plainbrokeP 1 Reply Last reply Reply Quote 0
                • plainbrokeP Offline
                  plainbroke @sdetweil
                  last edited by

                  @sdetweil
                  I went all out and started fresh, I have the backups of all files that are not “default”. My modified files are backed up to 3 places after having an issue when my OpenMediaVault somehow became corrupted. Now I run a simple Samba file server. Really all I needed in the first place. Short answer is I wiped it SSD drive, so no upgrade.log to send you.

                  Slow learner. But trying anyways.

                  plainbrokeP 1 Reply Last reply Reply Quote 0
                  • plainbrokeP Offline
                    plainbroke @plainbroke
                    last edited by

                    @plainbroke
                    reloading 36 modules and getting them all to work as expected ,takes some time. Almost there today. MMM-RSTPStream is being difficult not wanting to play nice with vlc for some reason this round… Guess 5 different instances is too many. eventhough I have them spread out in the list of modules that carousel runs for me…

                    Slow learner. But trying anyways.

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