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

Trouble updating Magic Mirror on Raspberry Pi Zero 2W

Scheduled Pinned Locked Moved Unsolved Troubleshooting
14 Posts 2 Posters 1.1k 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 @sdetweil
    last edited by Jul 8, 2024, 8:13 PM

    @wyovino what os is it?

    do
    lsb_release -a

    latest MagicMirror doesn’t run on buster

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S W 2 Replies Last reply Jul 8, 2024, 9:17 PM Reply Quote 0
    • S Offline
      sdetweil @sdetweil
      last edited by Jul 8, 2024, 9:17 PM

      @wyovino pi02w is a pi3+ in a pi0 form factor
      so it runs all the 32 and 64 bit os. but should stay 32 bit due to the small memory space

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • W Offline
        wyovino @sdetweil
        last edited by Jul 8, 2024, 9:20 PM

        @sdetweil It’s Buster. I guess I’ll have to build it from scratch again. I remember having a hard time getting the PIR Sensor module to work, not sure if works under bookworm.

        S 1 Reply Last reply Jul 8, 2024, 9:37 PM Reply Quote 0
        • S Offline
          sdetweil @wyovino
          last edited by sdetweil Jul 8, 2024, 9:37 PM Jul 8, 2024, 9:37 PM

          @wyovino use my backup/restore scripts to copy to new system
          https://github.com/sdetweil/MagicMirror-backup-restore

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          W 1 Reply Last reply Jul 16, 2024, 1:49 AM Reply Quote 0
          • W Offline
            wyovino @sdetweil
            last edited by Jul 16, 2024, 1:49 AM

            @sdetweil I’ve been struggling with this for a week. Nothing new seems to play well with Pi Zero 2. I built the OS and MM from scratch on a USB drive and after many tries finally got it working. When I moved the USB drive to the Pi Zero 2 that’s mounted in my mirror it didn’t work. I tried it in the Zero 2 that I used to build the software and it didn’t work there either. However when I plug it into a Pi 4 it works fine. It seems that the changes they made in Bookworm ignored the needs of the Pi Zero 2.

            I also built it from scratch on a 32gb microSD card and that worked. I tried using PiShrink to reduce the image size so it would fit on my 16gb USB drive. It appeared to work, but the Zero 2 wouldn’t boot from it. The way my mirror is set up, I can’t access the SD slot.

            S 1 Reply Last reply Jul 16, 2024, 2:15 AM Reply Quote 0
            • S Offline
              sdetweil @wyovino
              last edited by sdetweil Jul 16, 2024, 2:16 AM Jul 16, 2024, 2:15 AM

              @wyovino ok, I’ll try to find some time tomorrow or Wednesday to look at my pi02w and see what I can get done.

              I would start w the legacy 32 bit bullseye image myself

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              W 1 Reply Last reply Jul 16, 2024, 3:06 AM Reply Quote 0
              • W Offline
                wyovino @sdetweil
                last edited by Jul 16, 2024, 3:06 AM

                @sdetweil I did try Bullseye and that failed to install MM. I guess I could try again. This is so frustrating. I can can it working on one Pi Zero 2, but not another one. I’m done with this for now. My older version is working fine.

                S 2 Replies Last reply Jul 16, 2024, 3:13 AM Reply Quote 0
                • S Offline
                  sdetweil @wyovino
                  last edited by Jul 16, 2024, 3:13 AM

                  @wyovino I use my script all the time.
                  I’ve spent too many hours working out the kinks to do it manually.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @wyovino
                    last edited by Jul 16, 2024, 6:32 PM

                    @wyovino So, I flashed a 32gb sd card… age unknown. with the 32bit legacy OS + Desktop ( not with recommended software, cause its office, … I don’t need that on a mirror)

                    booted, did setup, changed hostname, enabled ssh,
                    reboot

                    ssh’d in and checked swap space , 99 meg, none used,
                    I then ran my install script…

                    it increased swap space to 871

                                   total        used        free      shared  buff/cache   available
                    Mem:             426         152          88           0         185         221
                    Swap:            871          48         823
                    

                    I then watched install run thru without problems, updated node/npm
                    installed pm2 setup to autostart at boot

                    and started MM as part of the installer script…

                    that first start of MM took 33 seconds (stopwatch timing)
                    with MM running memory usage

                                   total        used        free      shared  buff/cache   available
                    Mem:             426         152         109          24         164         191
                    Swap:            871         179         692
                    

                    so MM is 42% over the base memory on Bullseye 32 bit
                    system is responsive

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    W 1 Reply Last reply Jul 16, 2024, 6:48 PM Reply Quote 0
                    • W Offline
                      wyovino @sdetweil
                      last edited by Jul 16, 2024, 6:48 PM

                      @sdetweil I appreciate your efforts with this. After a week of trying everything to make it work on Bookworm I gave up and built it on Bullseye. I had a couple of issues though. The automatic install script froze the system during the Node installation. I had previously expanded the swapfile to 1024 (1 gb) as I found that the default setting was too low.

                      I removed MagicMirror and all of it’s sub directories and followed the manual install instructions. The mirror is now running well except for the MMM-Jast ticker which is now not nearly as smooth as it was under the previous version of MM running on Buster. I tried adding export ELECTRON_ENABLE_GPU=1 to my mm.sh script but that completely distorted the display.

                      I’m not sure if I’m going to keep this new version.

                      S 1 Reply Last reply Jul 16, 2024, 6:55 PM 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