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.

    Update troubles. Again.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    10 Posts 5 Posters 2.0k 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.
    • U Offline
      uatuba @bdream
      last edited by

      @bdream said in Update troubles. Again.:

      link text

      This seems like a great feature that would prevent a lot of issues. I don’t think it will help me in my current predicament, though, since I already updated according to the readme.

      evroomE 1 Reply Last reply Reply Quote 0
      • evroomE Offline
        evroom @uatuba
        last edited by

        @uatuba

        The v2.20.0 announcement said
        https://forum.magicmirror.builders/topic/11899/v2-10-0

        Please update using the following command: git pull && npm install.
        

        Note that one has to be in the MagicMirror directory before issuing these commands (cd ~/MagicMirror).

        The README.md shows 2 commands, see:
        https://github.com/MichMich/MagicMirror/blob/master/README.md#updating

        Not a sign of just an single git pull anywhere.

        Anyway, I would suggest you to try the commands from the first post in this topic:
        https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing?page=1
        The only note would be that it is advised to stop MM (e.g. using pm2 stop mm).

        Success.

        MagicMirror version: 2.30.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.30.0
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          uatuba @evroom
          last edited by

          @evroom my apologies…I DID use both. After rebooting again, I now get “line 66: electron not found.”

          S evroomE 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @uatuba
            last edited by

            @uatuba the update posting says

            git pull & npm install
            

            did you do the npm install part? in the MagicMirror folder?

            the new distribution needs dependencies (libraries) newer than previously installed.
            so you have to redo npm install to update them

            if u ran the script from the new updater topic, please post the contents of

            MagicMirror/installers/upgrade.log
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • evroomE Offline
              evroom @uatuba
              last edited by

              @uatuba
              No need to apologize, but you were asked to supply the exact steps taken.
              A git pull followed by npm install in the MM homedir will most likely solve your electron error message.
              If not, the upgrade script from Sam will solve it or at least will provide with some info to check for.

              MagicMirror version: 2.30.0
              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              Test environment:
              MagicMirror version: v2.30.0
              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              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