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.

    Updating MM fails

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 586 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.
    • D Offline
      droidus
      last edited by

      Here is what is happening:

       git pull && npm run install-mm
      hint: Pulling without specifying how to reconcile divergent branches is
      hint: discouraged. You can squelch this message by running one of the following
      hint: commands sometime before your next pull:
      hint:
      hint:   git config pull.rebase false  # merge (the default strategy)
      hint:   git config pull.rebase true   # rebase
      hint:   git config pull.ff only       # fast-forward only
      hint:
      hint: You can replace "git config" with "git config --global" to set a default
      hint: preference for all repositories. You can also pass --rebase, --no-rebase,
      hint: or --ff-only on the command line to override the configured default per
      hint: invocation.
      error: Could not read a2d7cdcfb425c2a51715bbaf663c2feb267a9798
      error: Could not read b716ec33d99924733e8603ca5a657c83bf8cca26
      remote: Enumerating objects: 1230, done.
      remote: Counting objects: 100% (1166/1166), done.
      remote: Compressing objects: 100% (495/495), done.
      remote: Total 856 (delta 589), reused 543 (delta 318), pack-reused 0
      Receiving objects: 100% (856/856), 504.39 KiB | 2.61 MiB/s, done.
      Resolving deltas: 100% (589/589), completed with 156 local objects.
      error: Could not read b716ec33d99924733e8603ca5a657c83bf8cca26
      fatal: revision walk setup failed
      error: https://github.com/MichMich/MagicMirror.git did not send all necessary objects
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @droidus
        last edited by

        @droidus did u perchance checkout the develop branch before to fix a problem.

        best way to get out of this,

        rename the MagicMirror folder to MagicMirror.2
        install MagicMirror using my script

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

        the in the new magic mirror temporarily rename the module defaults folder to something else, so this copy command does write over anything

        cd ~/MagicMirror/modules
        mv defaults temp
        copy the old mm module folder content here in the mm’s module folder, including the old defaults folder
        cp -r -p ~/MagicMirror.2/modules/ .
        (dot at the end means here)

        delete the defaults folder that was copied
        rm -rf defaults
        restore the new defaults folder
        mv temp defaults

        then copy your old config.js and custom.css from the old MagicMirror.2 folder over to the new one

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        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