Moode Forum
9.0.2 in-place update - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: 9.0.2 in-place update (/showthread.php?tid=6598)



9.0.2 in-place update - TheOldPresbyope - 06-13-2024

I just ran the in-place update successfully on several different moOde 9.0.1 players - Pi 3B+, Pi 4B, and Pi 5B.


On a Pi 3A+, however, the system went catatonic part way through the steps. I suspect the 512MB device ran out of memory.

As a test, I ran the in-place update again on a fresh moOde 9.0.1 install on the same Pi 3A+ but this time with swap enabled. The update was a success.

I'm guessing it would fail on other small-memory Pi models too.

Since I seem to be batting well south of 500 these days, I suggest someone else check my guess.

Regards,
Kent


RE: 9.0.2 in-place update - Tim Curtis - 06-13-2024

I'll add to the TODO list to try and repro


RE: 9.0.2 in-place update - philrandal - 06-13-2024

(06-13-2024, 04:47 PM)TheOldPresbyope Wrote: As a test, I ran the in-place update again on a fresh moOde 9.0.1 install on the same Pi 3A+ but this time with swap enabled. The update was a success.

I'm old-school, and always enable swap on any linux boxes I build.

Was there a good reason to disable it?

Could this be made configurable in the GUI?

Cheers,

Phil


RE: 9.0.2 in-place update - Tim Curtis - 06-13-2024

It's a legacy config from the early days of 2013 and given that moode has such a small memory footprint there was no need to ever have swap.

My TODO list has "test in-place update on 3A+ 512M and see if Kent's issue can be reproduced". If for some reason the in-place update blows up and it's because of OOM then I'll investigate further. Maybe enabling swap b4 update and turning off after, I dunno.


RE: 9.0.2 in-place update - Tim Curtis - 06-13-2024

No issues on my end but it did take a while.

The raspy-firmware install took like 4 minutes

Code:
20240613 151126 updater: ** Step 13-16: Install raspi-firmware
20240613 151507 updater: ** Step 14-16: Apply package hold

Code:
20240613 150822 updater: Downloading package [update-moode9.zip]
20240613 150822 updater: Start 2024-06-12 update for moOde
20240613 150822 updater: ** Step 1-16: Remove package hold
20240613 150836 updater: ** Step 2-16: Update package list
20240613 150904 updater: ** Step 3-16: Install moode-player=9.0.2-1moode1
20240613 150946 updater: ** Step 4-16: Install upmpdcli=1.8.11-1moode1
20240613 151027 updater: ** Step 5-16: Install upmpdcli-qobuz=1.8.11-1moode1
20240613 151053 updater: ** Step 6-16: Install bluez-firmware
20240613 151101 updater: ** Step 7-16: Install firmware-atheros
20240613 151105 updater: ** Step 8-16: Install firmware-brcm80211
20240613 151109 updater: ** Step 9-16: Install firmware-libertas
20240613 151113 updater: ** Step 10-16: Install firmware-linux-free
20240613 151117 updater: ** Step 11-16: Install firmware-misc-nonfree
20240613 151121 updater: ** Step 12-16: Install firmware-realtek
20240613 151126 updater: ** Step 13-16: Install raspi-firmware
20240613 151507 updater: ** Step 14-16: Apply package hold
20240613 151510 updater: ** Step 15-16: Post-install cleanup
20240613 151510 updater: ** Step 16-16: Sync changes to disk
20240613 151510 updater: Finish 2024-06-12 update for moOde
20240613 151511 updater: Update installed, restart required



RE: 9.0.2 in-place update - TheOldPresbyope - 06-13-2024

(06-13-2024, 07:23 PM)Tim Curtis Wrote: No issues on my end but it did take a while.

The raspy-firmware install took like 4 minutes

Code:
20240613 151126 updater: ** Step 13-16: Install raspi-firmware
20240613 151507 updater: ** Step 14-16: Apply package hold

Code:
20240613 150822 updater: Downloading package [update-moode9.zip]
20240613 150822 updater: Start 2024-06-12 update for moOde
20240613 150822 updater: ** Step 1-16: Remove package hold
20240613 150836 updater: ** Step 2-16: Update package list
20240613 150904 updater: ** Step 3-16: Install moode-player=9.0.2-1moode1
20240613 150946 updater: ** Step 4-16: Install upmpdcli=1.8.11-1moode1
20240613 151027 updater: ** Step 5-16: Install upmpdcli-qobuz=1.8.11-1moode1
20240613 151053 updater: ** Step 6-16: Install bluez-firmware
20240613 151101 updater: ** Step 7-16: Install firmware-atheros
20240613 151105 updater: ** Step 8-16: Install firmware-brcm80211
20240613 151109 updater: ** Step 9-16: Install firmware-libertas
20240613 151113 updater: ** Step 10-16: Install firmware-linux-free
20240613 151117 updater: ** Step 11-16: Install firmware-misc-nonfree
20240613 151121 updater: ** Step 12-16: Install firmware-realtek
20240613 151126 updater: ** Step 13-16: Install raspi-firmware
20240613 151507 updater: ** Step 14-16: Apply package hold
20240613 151510 updater: ** Step 15-16: Post-install cleanup
20240613 151510 updater: ** Step 16-16: Sync changes to disk
20240613 151510 updater: Finish 2024-06-12 update for moOde
20240613 151511 updater: Update installed, restart required

Good to know I was wrong.

Guess I was just too quick to think it had died. “All good things come to those who wait” was one of my grandmother’s many aphorisms that went in one ear and out the other when I was a kid.

Regards,
Kent


RE: 9.0.2 in-place update - TheOldPresbyope - 06-13-2024

On the plus side, the upgrade in kernel and firmware seems to have resolved the BT instability I was experiencing with 9.0.1 trying to output to a Sonos Move.

Regards,
Kent


RE: 9.0.2 in-place update - Tim Curtis - 06-13-2024

(06-13-2024, 08:48 PM)TheOldPresbyope Wrote: On the plus side, the upgrade in kernel and firmware seems to have resolved the BT instability I was experiencing with 9.0.1 trying to output to a Sonos Move.

Regards,
Kent

Fantastic :-)

Kernel devs to the rescue!