Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: In place update to 9.3.6 failed
#1
Hi   @Tim Curtis,

My in place update from 9.3.5 > 9.3.6 failed.

Code:
20250607 154710 updater: Downloading package [update-moode9.zip]
20250607 154711 updater: Start 2025-06-06 update for moOde
20250607 154711 updater: ** Step 01-28: Remove package hold
20250607 154711 updater: ** Step 02-28: Update package list
20250607 154717 updater: ** Step 03-28: Update Linux kernel to 6.12.25
20250607 154717 updater: ** - Kernel is current, no update required
20250607 154717 updater: ** Step 04-28: Install moode-player=9.3.6-1moode1
20250607 154724 updater: ** Step failed
20250607 154724 updater: ** Exiting update
20250607 154724 updater: Install failed, update cancelled


Is there a manual script to perform the update?

Tx
Reply
#2
Curious. I just updated two 9.3.5 players without an issue. IIRC the 9.3.5 players were virgin installs rather than updates from previous releases..

Regards,
Kent
Reply
#3
Mine has been updated several times via de in-place update.

I already got a failed update a few versions ago, and Tim provided a script I clould launch in an SSH terminal. This did the magic.

Is this (still) there for 9.3.6, as now, it reports 9.3.6, but it's actually not, as it broke during the update process.
Reply
#4
Just updated my 3 players without issue.

What I always do during an update:
1. restart the player
2. make backup
3. start in-place update
4. restart

This procedure has served me well so far...
Reply
#5
I just ran sudo /var/www/util/system-updater.sh moode9 and it completed successfully.
No idea why it failed via the UI?
Reply
#6
Hello.
I have same error updating from 9.3.5 to 9.3.6, I had a previuos update too.
I see:

** Step 04-28: Install moode-player=9.3.6-1moode1
20250607 181228 updater: ** Step failed

/var/log/apt/history.log:
Start-Date: 2025-06-07 18:12:24
Commandline: apt -y install moode-player=9.3.6-1moode1
Upgrade: moode-player:arm64 (9.3.5-1moode1, 9.3.6-1moode1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2025-06-07 18:12:28

/var/log/moode.log:

20250529 213823 worker: --
20250529 213823 worker: -- Start moOde 9 series
20250529 213823 worker: --
20250529 213823 worker: Daemonize: complete
20250529 213829 worker: Linux startup: complete
20250529 213829 worker: Boot config: ok
20250529 213829 worker: Boot folder: ok
20250529 213829 worker: Radio table: ok
20250529 213830 worker: PHP session: cleaned
20250529 213830 worker: PHP session: loaded
20250529 213832 worker: Package locks: applied
20250529 213833 worker: File check: complete
20250529 213833 worker: Log to RAM: on
20250529 213833 worker: Tmp to RAM: on
20250529 213833 worker: Debug logging: off
20250529 213833 worker: --
20250529 213833 worker: -- System
20250529 213833 worker: --
20250529 213834 worker: Host name: deskmoode
20250529 213834 worker: RPi model: Pi-4B 1.2 2GB
20250529 213835 worker: moOde release: 9.3.5 2025-05-25
20250529 213835 worker: RaspiOS: 12.10 Bookworm 64-bit
20250529 213835 worker: Linux Kernel: 6.12.25 64-bit
20250529 213835 worker: MPD version: 0.24.4
20250529 213835 worker: User id: moode
20250529 213835 worker: Home folder: /home/moode
20250529 213835 worker: Time zone: Europe/Madrid
20250529 213835 worker: Kbd layout: es
20250529 213835 worker: HDMI ports(s): on
20250529 213835 worker: HDMI-CEC: off
20250529 213835 worker: Sys LED0: on
20250529 213835 worker: Sys LED1: off
20250529 213835 worker: Reduce power: n/a
20250529 213835 worker: Fan control: n/a
20250529 213835 worker: CPU governor: performance
20250529 213835 worker: --
20250529 213835 worker: -- Network
20250529 213835 worker: --
20250529 213835 worker: Eth0
20250529 213835 worker: Ethernet: adapter exists
20250529 213835 worker: Ethernet: timeout off
20250529 213835 worker: Ethernet: method dhcp
20250529 213835 worker: Ethernet: address 192.168.1.131
20250529 213835 worker: Ethernet: netmask 255.255.255.0
20250529 213835 worker: Ethernet: gateway 192.168.1.1
20250529 213835 worker: Ethernet: pri DNS 192.168.1.1
20250529 213835 worker: Ethernet: domain home
Reply
#7
Updated a second instance. Same issue.

Code:
moode@moode:~ $ cat /var/log/apt/history.log

Start-Date: 2025-06-07  19:06:39
Commandline: apt -y install moode-player=9.3.6-1moode1
Upgrade: moode-player:arm64 (9.3.5-1moode1, 9.3.6-1moode1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2025-06-07  19:06:42

Running sudo /var/www/util/system-updater.sh moode9 after the failed install, made it work.
Reply
#8
Just to add to the data, one player succeeded, two failed here. All have been updated via in place since early nines.
----------------
Robert
Reply
#9
Using the manual updater:
Code:
Configuration file '/var/lib/mpd/playlists/Default Playlist.m3u'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
  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.
*** Default Playlist.m3u (Y/I/N/O/D/Z) [default=N] ?
I have deleted the default playlist on those players, but not on the one that updated successfully. Could that be the issue?
----------------
Robert
Reply
#10
Good point! I always delete that playlist as well on my instances, and both failed.
This was also the sole interaction point when exectuing the script manually.
Reply


Forum Jump: