Posts: 703
Threads: 6
Joined: Apr 2018
Reputation:
11
11-16-2018, 08:19 PM
(This post was last modified: 11-16-2018, 08:20 PM by swizzle.)
Keep in mind Tim isn’t just using moode but needs to support it (which as you can see consumes many hours of his largely uncompensated time per week) and that is simplified greatly when the system is in a known good state.
Reinstalling from an image isn’t that daunting though configuring can be a bit of a pain. It can be streamlined though. I configure the network first, do the audio page, then the system and use the expand the file system to automatically trigger the reboot. After moode comes back up I listen to a radio stream while the mpd initial scan and thumbnail cover generation happens.
ETA: 512 MB ?
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
R u referring to the 3A+ ??
Thank you for your order from Chicago Electronic Distributors! We wanted to let you know that your order was shipped via USPS, USPS First Class Mail on 11/16/2018. You can track your package at any time using the link below.
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
(11-16-2018, 08:14 PM)philrandal Wrote: (11-16-2018, 02:51 PM)Tim Curtis Wrote: What would the process be to verify that a dist-upgrade of 2018-06-27 Raspbian, the version used in moOde 4.3, produced the equivalent of 2018-11-13 Raspbian?
Does it matter as long as it still works? I'm inclined to believe the Raspberry Pi folks when they tell us that it's equivalent. You could use apt to list installed versions on both installs. I can assure you that Moode 4.3 still works after updating as per my post above.
Phil
I'm glad it has worked in your case :-) but the manual makes no guarantees, and it specifically mentions that dist-upgrade only bumps the packages that are already installed so definitely not = latest release image.
https://www.raspberrypi.org/documentatio...pdating.md
The other problem with it is that it creates another support vector because its a live upgrade and for sure there will be failures in the field due to repositories being busy, SDCard out of disk space, network interruptions etc.
-Tim
Posts: 247
Threads: 15
Joined: Apr 2018
Reputation:
10
(11-16-2018, 08:50 PM)Tim Curtis Wrote: (11-16-2018, 08:14 PM)philrandal Wrote: (11-16-2018, 02:51 PM)Tim Curtis Wrote: What would the process be to verify that a dist-upgrade of 2018-06-27 Raspbian, the version used in moOde 4.3, produced the equivalent of 2018-11-13 Raspbian?
Does it matter as long as it still works? I'm inclined to believe the Raspberry Pi folks when they tell us that it's equivalent. You could use apt to list installed versions on both installs. I can assure you that Moode 4.3 still works after updating as per my post above.
Phil
I'm glad it has worked in your case :-) but the manual makes no guarantees, and it specifically mentions that dist-upgrade only bumps the packages that are already installed so definitely not = latest release image.
https://www.raspberrypi.org/documentatio...pdating.md
The other problem with it is that it creates another support vector because its a live upgrade and for sure there will be failures in the field due to repositories being busy, SDCard out of disk space, network interruptions etc.
-Tim It was only a small update. You can force install new packages if you really need to. An update like this is quite minor, not like going from Wheezy to Stretch, and we have no GUI to worry about.
My day job involves looking after dozens of Linux servers, so I'm used to apt-get dist-upgrade and yum update.
Any problems I've had have usually been resolved in a few minutes.
Funnily enough, I had to deal with a postfix upgrade issue today, where the update reset directory permissions to defaults. Found and fixed it in seconds, and it wouldn't have affected most users. The joys of setting custom permissions for very specialised third-party apps.
In my case, a reinstall involves reenabling cron, installing and configuring podget, configuring two NAS shares, and adding back a few radio stations.
So anything rather than rebuilding, if possible.
Try it and see. I honestly think it won't be that bad.
Today's update was mainly kernel, pi firmware, and bluetooth.
Phil
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
Ok, that helps put it into perspective.
I'll test it out :-)
Posts: 29
Threads: 7
Joined: Aug 2018
Reputation:
1
Wouldn’t moOde be a perfect candidate to run inside a docker container?
E.g., alter the build script to generate a new container with the exact versions required, set permissions from inside the container to outside, port forwarding etc etc. That way your Pi can be kept up-to-date and all that needs changing is the moOde container with each upgrade.
This isn’t my area so might have the wrong end of the stick - particularly in how the container interacts with hardware...
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
Interesting idea. Maybe someone with expertise in Docker can help explain how this could work or even make a test :-)
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
11-17-2018, 11:08 PM
(This post was last modified: 11-19-2018, 11:28 PM by Tim Curtis.
Edit Reason: remove log. won't fit into code box for some reason
)
(11-16-2018, 09:07 PM)philrandal Wrote: (11-16-2018, 08:50 PM)Tim Curtis Wrote: (11-16-2018, 08:14 PM)philrandal Wrote: (11-16-2018, 02:51 PM)Tim Curtis Wrote: What would the process be to verify that a dist-upgrade of 2018-06-27 Raspbian, the version used in moOde 4.3, produced the equivalent of 2018-11-13 Raspbian?
Does it matter as long as it still works? I'm inclined to believe the Raspberry Pi folks when they tell us that it's equivalent. You could use apt to list installed versions on both installs. I can assure you that Moode 4.3 still works after updating as per my post above.
Phil
I'm glad it has worked in your case :-) but the manual makes no guarantees, and it specifically mentions that dist-upgrade only bumps the packages that are already installed so definitely not = latest release image.
https://www.raspberrypi.org/documentatio...pdating.md
The other problem with it is that it creates another support vector because its a live upgrade and for sure there will be failures in the field due to repositories being busy, SDCard out of disk space, network interruptions etc.
-Tim It was only a small update. You can force install new packages if you really need to. An update like this is quite minor, not like going from Wheezy to Stretch, and we have no GUI to worry about.
My day job involves looking after dozens of Linux servers, so I'm used to apt-get dist-upgrade and yum update.
Any problems I've had have usually been resolved in a few minutes.
Funnily enough, I had to deal with a postfix upgrade issue today, where the update reset directory permissions to defaults. Found and fixed it in seconds, and it wouldn't have affected most users. The joys of setting custom permissions for very specialised third-party apps.
In my case, a reinstall involves reenabling cron, installing and configuring podget, configuring two NAS shares, and adding back a few radio stations.
So anything rather than rebuilding, if possible.
Try it and see. I honestly think it won't be that bad.
Today's update was mainly kernel, pi firmware, and bluetooth.
Phil
Hi Phil,
Starting with stock moOde 4.3 running 2018-06-27 Stretch on a Pi-ZeroW with 766MB free disk space the dist-upgrade took about 15 minutes and yielded what appears to be a 2018-11-13 Stretch equivalent. The Debian version number bumped from 9.4 to 9.6 and only a 1% increase in disk space used :-)
I still have to go through and test various components but overall looking very good :-)
EDIT: removed log because for some reason it will not fit into a code box :-0
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
Hi,
The wonderful Raspberry Pi-A3+ arrived today. Integration testing will begin tomorrow :-)
-Tim
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
May not be a need for much integration testing. I'm using Pi-3A+ and Allo Boss DAC listening to some Soma FM goodness as I write this :-)
The A+ appears to work OOB on moOde 4.3 which is based on Stretch Lite 2018-06-27 (Debian version 9.4). I'm running Linux kernel 4.14.80.
Below is from moOde System info.
Code: HDWR REV = Pi-3A+ 512 MB v1.0
SoC = BCM2835
CORES = 4
ARCH = armv7l
RASPBIAN = 9.4
KERNEL = 4.14.80-v7+
KTIMER FREQ = 100 Hz
USB BOOT = not available
Warranty = OK
|