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.

    Avoidance of Troubleshooting Q

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 3 Posters 2.3k Views 2 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.
    • S Offline
      sdetweil @ankonaskiff17
      last edited by sdetweil

      @ankonaskiff17 that should work…

      u might want to look at my backup/restore scripts.

      they backup config.js and custom.css and the URLs of all the modules u have installed

      so 3 small files.

      and then on restore copies back the 2 files and uses the URLs to reinstall all the modules and (fix the missing dependencies too)…

      https://github.com/sdetweil/MagicMirror-backup-restore

      I need to make them so they can be executed from the repo… but haven’t done that yet…

      i made it so the 3 files are in a git repo, so you version them and then can restore any particular version…
      and push the git repo to your github (in a private repo)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      ankonaskiff17A 1 Reply Last reply Reply Quote 0
      • ankonaskiff17A Offline
        ankonaskiff17 @sdetweil
        last edited by

        @sdetweil I was just reading the topic about fix for black screen and while I need to read several more times to get my arms around it, I was wondering if I can do those scripts on the files before I copy them over. Instead of ssh’ing in to Pi open terminal go to drive and see if they are problematic before moving?
        I would back up exiting files in case I blew something up.

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

          @ankonaskiff17 u can run the backup script on your sd folder… it takes a -s parm for source
          (-h shows the syntax)

          this would create the 3 files…

          then u could run the restore on the new system by copying the backup folder to the new system
          (and -h shows syntax)

          this reinstalls the modules from github… not copies any of their files…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          ankonaskiff17A 1 Reply Last reply Reply Quote 0
          • ankonaskiff17A Offline
            ankonaskiff17 @sdetweil
            last edited by

            @sdetweil Found my first 3rd party module lacking “request”. Your tutorial worked like a charm

            ankonaskiff17A 1 Reply Last reply Reply Quote 0
            • ankonaskiff17A Offline
              ankonaskiff17 @ankonaskiff17
              last edited by

              @ankonaskiff17 @sdetweil Found a new way scorch a Pi on this project.
              Had a snap together case I put Pi in, snapped closed and I’ll admit, it to some muscle to snap case closed.
              Shortly thereafter I caught the unmistakable odor of burning electronics.
              I snapped the SD card so it was bent like 90°
              The Pi did not like that.

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

                @ankonaskiff17 same here, oops… just snap the cover on…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                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