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

[ERROR] unable to write js/positions.js

Scheduled Pinned Locked Moved Solved Troubleshooting
14 Posts 4 Posters 857 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.
  • E Offline
    emlowe Module Developer @sdetweil
    last edited by Jan 28, 2025, 9:46 PM

    Although it’s not related to your problem - I have a lot of trouble getting MM to run on the 512MB Pi3 A+.

    It freezes often - possibly it’s bad h/w or sd card although it all tests fine - but after several days of running and it ends up frozen and inaccessible. (ie can’t ssh to it, etc unless I restart it)

    I tried using some of the lower memory options instead of using electron without much success. It runs for a little longer but eventually still dies. None of my Pi3 B models with the 4GB RAM have had similar problems - so I tend to think it is something related to RAM

    Just to say that you may find the experience in running on the Pi 3 A+ to be “complicated”

    S 1 Reply Last reply Jan 28, 2025, 10:08 PM Reply Quote 0
    • S Offline
      sdetweil @emlowe
      last edited by Jan 28, 2025, 10:08 PM

      @emlowe what os level are you running?
      i recommend the 32 bit legacy image

      if you use my install script i will increase the swap spacr

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Jan 28, 2025, 11:55 PM Reply Quote 0
      • E Offline
        emlowe Module Developer @sdetweil
        last edited by Jan 28, 2025, 11:55 PM

        uname -m
        armv7l
        
        cat /etc/os-release 
        PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
        
        free -h
                       total        used        free      shared  buff/cache   available
        Mem:           425Mi       316Mi        99Mi       8.1Mi        67Mi       108Mi
        Swap:          732Mi       274Mi       457Mi
        
        swapon -s
        Filename				Type		Size		Used		Priority
        /var/swap                               file		204796		0		-2
        /dev/zram0                              partition	544892		299760		15
        
        zramctl 
        NAME       ALGORITHM DISKSIZE   DATA COMPR  TOTAL STREAMS MOUNTPOINT
        /dev/zram0 lz4         532.1M 292.7M 98.2M 101.8M       4 [SWAP]
        
        
        Jan 26 22:00:46 kid-mirror kernel: Out of memory: Killed process 23127 (WebKitWebProces) total-vm:1178000kB, anon-rss:184084kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:1044kB oom_score_adj:0
        
        S 2 Replies Last reply Jan 29, 2025, 12:34 AM Reply Quote 0
        • S Offline
          sdetweil @emlowe
          last edited by Jan 29, 2025, 12:34 AM

          @emlowe yes, i would try the 32 but legacy image on bullseye

          bookworm seems about 500m bigger

          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 @emlowe
            last edited by Jan 29, 2025, 12:53 AM

            @emlowe out of memory

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            P 1 Reply Last reply Jan 29, 2025, 3:35 AM Reply Quote 0
            • P Offline
              plainbroke @sdetweil
              last edited by Jan 29, 2025, 3:35 AM

              @FalcoonnnnPUNCH
              @emlowe
              @sdetweil
              I have had that problem before and it was a bad card. One other time it was a bad USB drive… Might try a different sdcard.

              Slow learner. But trying anyways.

              S 1 Reply Last reply Jan 29, 2025, 5:25 PM Reply Quote 1
              • S Offline
                sdetweil @plainbroke
                last edited by sdetweil Jan 29, 2025, 5:25 PM Jan 29, 2025, 5:25 PM

                @plainbroke good point, I have had a number of sd card failures over the years, and they have all become read-only

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • F Offline
                  FalcoonnnnPUNCH
                  last edited by Feb 3, 2025, 11:15 PM

                  Hello all,

                  So based on some of the comments here, i tried a new SD and a new pi. I had spare SDs lying around and I had a pi 4B that I was going to use initially but didn’t have a micro hdmi cable at the time so I had to use the 3. Micro HDMI cable came in, loaded piOS on the new SD, followed the MagicMirror install instructions and it came up first try.

                  Not sure what the initial issue was with the original install but I honestly just needed a win before getting bogged down in the weeds with stuff. I would like to have some fun with it first. Might go back to the original pi3 at a later date just to try and correct the initial issue, but for now, I’m happy.
                  The inital install, I had used sudo for the installation of MagicMirror, in this iteration I did not. I only utilized sudo to install the node.js

                  thanks everyone for the advice/comments.

                  S 2 Replies Last reply Feb 3, 2025, 11:22 PM Reply Quote 0
                  • S Offline
                    sdetweil @FalcoonnnnPUNCH
                    last edited by Feb 3, 2025, 11:22 PM

                    @FalcoonnnnPUNCH IF you had used my install script it would have done all that for you

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S sdetweil has marked this topic as solved on Feb 4, 2025, 12:58 AM
                    • S Offline
                      sdetweil @FalcoonnnnPUNCH
                      last edited by Feb 4, 2025, 5:14 PM

                      @FalcoonnnnPUNCH and sudo would have caused the prior problem. as the folder would have been write protected

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      F 1 Reply Last reply Feb 5, 2025, 3:09 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/14
                        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