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.

    Unable to update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 2 Posters 564 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 @Sethur
      last edited by

      @sethur odd…

      at the command line can you try

      git clone https://github.com/MichMich/MagicMirror  newmm
      

      also, can u try

      sudo apt update
      sudo apt upgrade
      

      then try again

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        Sethur
        last edited by

        Thank you for your quick answer! I did as you said, trying to update I still get the error:

        pi@raspberrypi:~ $ apt list --upgradable
        Auflistung... Fertig
        raspberrypi-sys-mods/oldstable 20211005 armhf [aktualisierbar von: 20200514]
        raspberrypi-ui-mods/oldstable 1.20210706 all [aktualisierbar von: 1.20200611]
        pi@raspberrypi:~ $ cat /etc/os-release
        PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
        NAME="Raspbian GNU/Linux"
        VERSION_ID="10"
        VERSION="10 (buster)"
        VERSION_CODENAME=buster
        ID=raspbian
        ID_LIKE=debian
        HOME_URL="http://www.raspbian.org/"
        SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
        BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
        

        Sorry for the coming single posts, combined it would be flagged as spam by the system.

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sethur
          last edited by

          If i try to update the same error as posted is occuring, with a bit different deltas, but the same delta at offset.

          If i try to start the MM it is working about a second, then closing again with this output:

          pi@raspberrypi:~/MagicMirror $ npm start
          
          > magicmirror@2.13.0 start /home/pi/MagicMirror
          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
          
          [2021-11-15 08:04:51.959] [LOG]    Starting MagicMirror: v2.13.0
          [2021-11-15 08:04:51.973] [LOG]    Loading config ...
          [2021-11-15 08:04:51.985] [LOG]    Loading module helpers ...
          
          1 Reply Last reply Reply Quote 0
          • S Offline
            Sethur
            last edited by

            and this:

            [2021-11-15 08:04:53.997] [LOG]    Starting server on port 8080 ... 
            [2021-11-15 08:04:54.026] [LOG]    Server started ...
            [2021-11-15 08:04:54.028] [LOG]    Connecting socket for: updatenotification
            [2021-11-15 08:04:54.030] [LOG]    Connecting socket for: calendar
            [...]
            [2021-11-15 08:04:58.578] [LOG]    MMM-Screen-Powersave-Notification: Resetted screen timeout to 120 seconds!
            [2021-11-15 08:04:58.700] [INFO]   Checking git for module: MMM-GPIO-Notifications
            [2021-11-15 08:04:58.754] [INFO]   Checking git for module: MMM-Screen-Powersave-Notification
            [2021-11-15 08:05:44.559] [ERROR]  Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/ical/private/basic.ics Error: socket hang up
                at connResetException (internal/errors.js:559:14)
                at TLSSocket.socketOnEnd (_http_client.js:436:23)
                at TLSSocket.emit (events.js:205:15)
                at endReadableNT (_stream_readable.js:1154:12)
                at processTicksAndRejections (internal/process/task_queues.js:84:9) {
              code: 'ECONNRESET'
            }
            [2021-11-15 08:05:47.232] [LOG]    MMM-GPIO-Notifications: Watched pin: 4 triggered!
            [2021-11-15 08:05:47.235] [LOG]    MMM-GPIO-Notifications: Sending notifications of pin 4...
            [2021-11-15 08:05:47.237] [LOG]    CurProfile: 
            [2021-11-15 08:05:47.238] [LOG]    CurProfileString: undefined
            [2021-11-15 08:05:47.240] [LOG]    CurProfile: 
            [2021-11-15 08:05:47.241] [LOG]    CurProfileString: undefined
            [2021-11-15 08:05:50.418] [LOG]    Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/private/basic.ics
            [2021-11-15 08:05:50.420] [INFO]   Calendar-Fetcher: Broadcasting 0 events.
            [2021-11-15 08:05:50.615] [LOG]    MMM-GPIO-Notifications: Received Notification: CONFIG
            [2021-11-15 08:05:50.619] [LOG]    MMM-Screen-Powersave-Notification: Received Notification: CONFIG
            [3525:1115/080552.029852:FATAL:nss_util.cc(156)] nss_error=-8023, os_error=0
            

            Any more suggestions?

            Sorry for the multiple posts due to spam control. Do you need the complete code?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Sethur
              last edited by

              @sethur based on all the strange behavior, I think your SD card has become used up

              the memory technology is write once, just like SSD disc. they publish a total terabytes written TBW value for the lifetime.

              SD cards don’t publish this. but once it’s reached, the filesystem thinks it wrote data out, but sector by sector it did not. apparently there is no notification to the filesystem.

              I have lost 10 cards over 4 years. from 8 to 32 gb in size.

              u should be able to copy your modules and config off the card to a new card

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                Sethur
                last edited by

                Oh crap. Love a new setup.

                Anyways thank you a lot für your quick and helpful support!

                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