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.

    MMM-CalendarExt3 and MMM-MonthlyCalendar blank

    Scheduled Pinned Locked Moved Solved Troubleshooting
    59 Posts 3 Posters 13.3k Views 3 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
      Scott-M
      last edited by Scott-M

      @sdetweil
      So, I have tried the following, each on a freshlly flashed OS.

      1 - Copied

      sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" full-upgrade
      

      directly from the raspberry.sh script, updated and then upgraded using the above and it worked.

      2 - Modified the script as below and ran it locally so I can see the output in terminal during the upgrade part, and it worked, no errors durring the upgrade. And Magic Mirror Ran successfully.

      	if [ $upgrade -eq $true ]; then
      	   sudo apt-get install pv -y >>$logfile
      	   echo "apt-get upgrade  started" >> $logfile
      	   sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" full-upgrade | tee -a $logfile
      	   #upgrade_result=$(sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" full-upgrade | pv -l -p)
      	   #upgrade_result=$(sudo apt-get --assume-yes full-upgrade  2>&1 | pv -l -p)
      		 #upgrade_rc=$?
      		 #echo apt-get upgrade result ="rc=$upgrade_rc $upgrade_result" >> $logfile
      	fi
      
      

      3 - Copied your raspberry.sh script to the home directory unmodified and ran it locally and it also works. Log file still reads

      apt-get upgrade result =rc=0
      

      But it worked, is the what you would expect in the log?

      4 - Run the script again directly using.

      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/v231/raspberry.sh)"
      

      This works and the log file reads the same

      apt-get upgrade result =rc=0
      

      Running apg-get full-upgrade again show that there is nothing new to do.

      Bottom line, it works!

      Attempt no 2 running the modified script locally, the whole upgrade output went to the log file.

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Scott-M
        last edited by

        @Scott-M thanks. pv is a tool for showing progress on the commandline

        it shows <=>
        moving left to right or right to left as output goes thru

        i put it in because others said they didnt know if it was still working or hung

        ill make changes, new release coming

        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 @Scott-M
          last edited by

          @Scott-M said in MMM-CalendarExt3 and MMM-MonthlyCalendar blank:

          sudo apt-get -y -o Dpkg::Options::=“–force-confdef” -o Dpkg::Options::=“–force-confnew” full-upgrade | tee -a $logfile

          updated script, removed pv , give it a try if you have time

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Scott-M @sdetweil
            last edited by

            @sdetweil

            All good, works fine.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Scott-M
              last edited by

              @Scott-M woohoo… thanks…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              O 1 Reply Last reply Reply Quote 0
              • S sdetweil has marked this topic as solved on
              • O Offline
                orayoflighto Project Sponsor @sdetweil
                last edited by

                @sdetweil

                Sorry to reply to an old thread, but I am getting this same error message when installing on a Pi5 32 bit.

                I tried the 64 bit version and that resulted in a black screen after a period of runtime with the default configs which is a separate issue.

                Can I install a package separate from the script to get around this issue?

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

                  @orayoflighto sure you can install manually. See the doc

                  https://docs.magicmirror.builders/getting-started/requirements.html

                  Trixie 32 bit looks to be trouble
                  Pi5 should be 64 bit

                  Can you send me the ~/install.log

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  O 1 Reply Last reply Reply Quote 0
                  • O Offline
                    orayoflighto Project Sponsor @sdetweil
                    last edited by

                    @sdetweil

                    Thanks for the quick response. I ended up wiping and reinstalling the 64 bit version so I lost the log. I will try and get that version to work.

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 4
                    • 5
                    • 6
                    • 5 / 6
                    • 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