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
    56 Posts 2 Posters 11.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
      Scott-M @sdetweil
      last edited by

      @sdetweil Bear with me, I have run it 3 times now and it seems to freeze / stop during the upgrade, I can’t see where in the upgrade process it is happening so I have modified the script to output to the treminal during the upgrade instead of the log after it has finished and running it locally on the Pi

      Will post back later…

      I am assuming the ugrade ran into a problem somewhere, I had left it for nearly an hour and progress hadn’t moved.

      Update::

      I think the issue is that despite having --assume-yes in the apt-get upgrade command it is still stopping and asking :

      Configuration file '/etc/xdg/labwc-greeter/autostart'
       ==> File on system created by you or by a script.
       ==> File also in package provided by package maintainer.
         What would you like to do about it ?  Your options are:
          Y or I  : install the package maintainer's version
          N or O  : keep your currently-installed version
            D     : show the differences between the versions
            Z     : start a shell to examine the situation
       The default action is to keep your current version.
      *** autostart (Y/I/N/O/D/Z) [default=N] ? 
      

      But there is no output to terminal so you can’t answer.

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

        @Scott-M that lovely problem again… thanks

        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

          On the plus side… It worked after answering Yes and MagicMirror started.

          It did take an unusually long time intalling dependencies and again fixing sandbox permissions. I almost gave up but it did finish, and works

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

            @Scott-M yes, how to avoid the prompt and handle it some other time

            searching leads to adding this in front of the apt full-upgrade command
            DEBIAN_FRONTEND=‘noninteractive’

            like this

            DEBIAN_FRONTEND=‘noninteractive’ apt full-upgrade -y

            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 said in MMM-CalendarExt3 and MMM-MonthlyCalendar blank:

              oninteractive’ apt full-upgrade -y

              That did not seem to make any difference, I tried apt-get update and then DEBIAN_FRONTEND=‘noninteractive’ apt-get --assume-yes full-upgrade

              but was still asked about the config file /labwc-greeter/autostart

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

                @Scott-M thanks… SO much fun…

                I am trying to test on my pi5 , I am remote from my home office, and do not have my hdmi/micro adapter… so am trying headless…

                pi imager, set ssh on, use pw authentication,
                pi boots, ssh is on, but password doesn’t work…

                using mac and ubuntu vm , and windows vm…

                also of interest is that the wifi connection also does not work , only ethernet

                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
                  Luckily I had a slow week at work!

                  This seems to have worked:

                  sudo apt-get -y  -o Dpkg::Options::=“–force-confdef” -o Dpkg::Options::=“–force-confnew” full-upgrade
                  

                  I have brought my Pi5 home, and a couple of micro SDs so happy to test when I can. I do have a lot of driving chilren around to do but some time in between.

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

                    @Scott-M thank you very much

                    ok, I’ve updated raspberry.sh on the v231 branch
                    let me know what you find when u can

                    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

                      These seems to be a subtle difference between our keyboard layouts perhaps,

                      raspberry.sh has this line

                      upgrade_result=$(sudo apt-get -y  -o Dpkg::Options::=“–force-confdef” -o Dpkg::Options::=“–force-confnew” full-upgrade | pv -l -p)
                      

                      but the quotes around –force-confdef and –force-confnew are the wrong type . Should be:

                      upgrade_result=$(sudo apt-get -y  -o Dpkg::Options::="–force-confdef" -o Dpkg::Options::="–force-confnew" full-upgrade | pv -l -p)
                      

                      It causes this error:

                      dpkg: error: need an action option
                      
                      Type dpkg --help for help about installing and deinstalling packages [*];
                      Use 'apt' or 'aptitude' for user-friendly package management;
                      Type dpkg -Dhelp for a list of dpkg debug flag values;
                      Type dpkg --force-help for a list of forcing options;
                      Type dpkg-deb --help for help about manipulating *.deb files;
                      
                      Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
                      E: Sub-process dpkg --set-selections returned an error code (2)
                      E: Couldn't record the approved state changes as dpkg selection states
                      
                      

                      Maybe just replace the quotes rather than copy and pase. I noticed the same thing when I copied the link you sent previously for the test branch.

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

                        @Scott-M I copied directly from your original post, it also shows the curved quotes

                        pushed fix

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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