Read the statement by Michael Teeuw here.
MMM-CalendarExt3 and MMM-MonthlyCalendar blank
-
@Scott-M great feedback… I have family stuff most of the day today…
did you do npm install or npm run install-mm
npm run install-mm is more like what I do in the script… which limits what things npm does…
npm install does everything possible
-
I didn’t do either, I just ran your script from first run on the OS on the first 2 cards. On the other 2 cards, on first run of the OS I entered
sudo apt update sudo apt full-upgrade bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
The only difference between them is your script not updating the system. It may all just be a coincidence and someone else with same hardware verifying would be helpful.
-
@Scott-M ah… ok, I don’t do full-upgrade… only upgrade
Use apt upgrade for routine updates when you don't want to risk removing packages. Use apt full-upgrade when you need to ensure that all packages are up-to-date, even if it means removing some packages. Be cautious when using apt full-upgrade as it can potentially remove packages that you might need.
but it seems that full-upgrade handles some dependencies NOT handled by upgrade, which seems like a bug to me… whats the point of upgrade if dependencies aren’t handled…
-
@Scott-M if you have a hankering to run another test, run the script from the test branch for next release… it will still get 2.30 , this does full-upgrade
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/v231/raspberry.sh)”
-
@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.
-
@Scott-M that lovely problem again… thanks
-
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
-
@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
-
@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
-
@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