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.

    Beginner mistakes

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 3 Posters 2.0k 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.
    • CyruS1337C Offline
      CyruS1337 Project Sponsor
      last edited by

      Hi Guys

      I’ve certainly made a classic beginnings mistake. At the weekend I have provided my MagicMirror with the latest update. But before I git pull in the console typed.

      Did I type in a git reset hard. Everything as good. When I then restarted the mirror, I noticed that the symbols and the general presentation is different. Then I went to custom.css and saw it all away.

      Looking closer, I have noticed that all the additional compliments in the module compliments are gone. Only then did I realize what I did with the git reset.

      My question is, can I somehow retrieve the lost files? Unfortunately, I did not create a backup before.

      S bheplerB 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @CyruS1337
        last edited by

        @CyruS1337 said in Beginner mistakes:

        My question is, can I somehow retrieve the lost files? Unfortunately, I did not create a backup before

        sadly I do not think so… reset forces them back to the repo version, and overlays the working copy.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        CyruS1337C 1 Reply Last reply Reply Quote 0
        • CyruS1337C Offline
          CyruS1337 Project Sponsor @sdetweil
          last edited by

          @sdetweil That’s what I thought. Pity :(
          But you learn from the mistakes, even if this is unattractive.

          Thank you for your answer

          1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @CyruS1337
            last edited by

            @CyruS1337 - The Magic Mirror upgrade process is designed to avoid overwriting your customized configuration settings. In practice, that means that config.js and custom.css files are not overwritten with an update. Any changes you make to those files should persist from one major update to the next. That said… Jesus saves. And he backs up on removable media.

            Your compliments module external file should still be in the operating system. You just need to find it and configure the config file to point to it.

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

              @bhepler there is an ongoing problem w custom.css being overwritten.

              My new upgrade script saves and restores

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 2
              • CyruS1337C Offline
                CyruS1337 Project Sponsor
                last edited by

                @bhepler Let’s say this file still exists somewhere. Where should I start looking?

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

                  @CyruS1337 if u remember the file name

                  find / -name filename 2>/dev/null
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  CyruS1337C 1 Reply Last reply Reply Quote 0
                  • CyruS1337C Offline
                    CyruS1337 Project Sponsor @sdetweil
                    last edited by

                    @sdetweil

                    Thank you for your renewed help. You are just great.

                    I could solve my problem otherwise. I as a clever fox, downloaded the file 2 weeks ago on my computer. So I still had all the compliments and could overwrite the file with the current file 😊

                    I still have a question for you, but you can certainly help me with this. The question does not fit in here, but I’ll put it to you anyway. Before the hard reset, I changed the costum.css so that the modules were really in each corner of the monitors. So the display on the monitor optimally exploited before the module disappeared behind the edge of the monitor. Unfortunately I do not know the attitude anymore.

                    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