• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 1.7k 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
    last edited by Jan 4, 2020, 6:49 PM

    Every time I update, it seems to break something. This is getting frustrating, because I can’t diagnose the problem. This time, it shows MM is running in PM2, but all I see is my Pi desktop. I don’t even know where to begin to fix the issue, because it seems like everything should be working.

    M 1 Reply Last reply Jan 4, 2020, 6:52 PM Reply Quote 0
    • M Offline
      MichMich Admin @uatuba
      last edited by Jan 4, 2020, 6:52 PM

      What exact steps did you take to update?

      1 Reply Last reply Reply Quote 0
      • U Offline
        uatuba
        last edited by Jan 4, 2020, 6:52 PM

        Ssh to the device
        git pull (as mentioned in the readme)
        reboot

        1 Reply Last reply Reply Quote 0
        • U Offline
          uatuba
          last edited by Jan 4, 2020, 7:05 PM

          Was the update intended to work with Raspbian updates, too? Could the MagicMirror update have a breaking change if Raspbian hasn’t been updated?

          1 Reply Last reply Reply Quote 0
          • B Offline
            bdream
            last edited by Jan 4, 2020, 7:05 PM

            @uatuba I had trouble also.
            As mentiones by Stedweil I used script from first threat in link text

            Make sure to stop MM before running update

            –
            cheers, bdream

            U 1 Reply Last reply Jan 4, 2020, 7:07 PM Reply Quote 0
            • U Offline
              uatuba @bdream
              last edited by Jan 4, 2020, 7:07 PM

              @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.

              E 1 Reply Last reply Jan 4, 2020, 7:36 PM Reply Quote 0
              • E Offline
                evroom @uatuba
                last edited by Jan 4, 2020, 7:36 PM

                @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 Jan 4, 2020, 8:45 PM Reply Quote 0
                • U Offline
                  uatuba @evroom
                  last edited by Jan 4, 2020, 8:45 PM

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

                  S E 2 Replies Last reply Jan 4, 2020, 9:38 PM Reply Quote 0
                  • S Online
                    sdetweil @uatuba
                    last edited by Jan 4, 2020, 9:38 PM

                    @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
                    • E Offline
                      evroom @uatuba
                      last edited by Jan 4, 2020, 10:08 PM

                      @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
                      1 / 1
                      • First post
                        5/10
                        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