Moode Forum
[PROBLEM] No updates available on 8.1.0 - 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: [PROBLEM] No updates available on 8.1.0 (/showthread.php?tid=5029)



No updates available on 8.1.0 - greg_m - 08-18-2022

Hi,

My Mo0de SD card failed a few weeks ago. I restored it from a backup. Then upgraded to 8.1.0 2022-06-21. Since then I have no in-place updates available in the system menu -> check for software update.

Is there any way to force the update first to 8.1.1, then to 8.1.2?


Many thanks,
Greg


RE: No updates available on 8.1.0 - Tim Curtis - 08-19-2022

Very odd. Post output from the commands below and I'll have a look.

Code:
moodeutl -l

ls /var/local/www/



RE: No updates available on 8.1.0 - greg_m - 08-19-2022

(08-19-2022, 01:25 AM)Tim Curtis Wrote: Very odd. Post output from the commands below and I'll have a look.

Code:
moodeutl -l

ls /var/local/www/

Thank you Tim,

Please find it below:



Code:
pi@moode:~ $ moodeutl -l
20220818 214042 worker: --
20220818 214042 worker: -- Start moOde 8 series
20220818 214042 worker: --
20220818 214042 worker: Successfully daemonized
20220818 214048 command/index.php: Connection to MPD failed
20220818 214049 worker: File check (OK)
20220818 214051 worker: Session vacuumed
20220818 214052 worker: Session loaded
20220818 214052 worker: Debug logging (OFF)
20220818 214052 worker: --
20220818 214052 worker: -- Audio debug
20220818 214052 worker: --
20220818 214052 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20220818 214052 worker: MPD config: (1:Pi Headphone jack | mixer:(Headphone) | card:1)
20220818 214052 worker: ALSA mixer actual (Headphone)
20220818 214052 worker: ALSA Headphone volume set to (0%)
20220818 214052 worker: --
20220818 214052 worker: -- System
20220818 214052 worker: --
20220818 214056 worker: Host      (moode)
20220818 214057 worker: moOde     (8.1.0 2022-06-21)
20220818 214057 worker: RaspiOS   (11.2)
20220818 214057 worker: Kernel    (5.15.32-v7+ #1537)
20220818 214057 worker: Platform  (Pi-2B 1.1 1GB)
20220818 214057 worker: ARM arch  (armv7l, 32-bit)
20220818 214057 worker: MPD ver   (0.23.5)
20220818 214057 worker: CPU gov   (ondemand)
20220818 214057 worker: USB boot  (not available)
20220818 214057 worker: File sys  (expanded)
20220818 214057 worker: HDMI port (Off)
20220818 214057 worker: Sys LED0  (On)
20220818 214057 worker: Sys LED1  (On)
20220818 214057 worker: --
20220818 214057 worker: -- Network
20220818 214057 worker: --
20220818 214057 worker: eth0 adapter exists
20220818 214057 worker: eth0 check for address (No)
20220818 214057 worker: eth0 address not assigned
20220818 214057 worker: wlan0 adapter exists
20220818 214057 worker: wlan0 country (GB)
20220818 214058 worker: wlan0 connected SSID is (vodafone15A11G)
20220818 214058 worker: IP addr (192.168.1.111)
20220818 214058 worker: Netmask (255.255.255.0)
20220818 214058 worker: Gateway (192.168.1.1)
20220818 214058 worker: Pri DNS (192.168.1.1)
20220818 214058 worker: Domain  (broadband)
20220818 214058 worker: --
20220818 214058 worker: -- Audio config
20220818 214058 worker: --
20220818 214100 worker: MPD conf updated
20220818 214100 worker: ALSA card number (1)
20220818 214100 worker: MPD audio output (Pi Headphone jack)
20220818 214100 worker: Audio formats (U8, S16_LE)
20220818 214101 worker: ALSA mixer name (Headphone)
20220818 214101 worker: MPD mixer type (software)
20220818 214101 worker: Hdwr volume controller exists
20220818 214101 worker: Max ALSA volume (100%)
20220818 214101 worker: ALSA output mode (Default: plughw)
20220818 214101 worker: ALSA loopback (Off)
20220818 214101 worker: Reset renderer active flags
20220818 214101 worker: CamillaDSP (off)
20220818 214101 worker: --
20220818 214101 worker: -- MPD startup
20220818 214101 worker: --
20220818 214104 worker: MPD started
20220818 214104 worker: MPD accepting connections
20220818 214104 worker: MPD output 1 ALSA Default (On)
20220818 214104 worker: MPD output 2 ALSA Bluetooth (Off)
20220818 214104 worker: MPD output 3 HTTP Server (Off)
20220818 214104 worker: MPD crossfade (off)
20220818 214104 worker: MPD ignore CUE files (yes)
20220818 214104 worker: --
20220818 214104 worker: -- Music sources
20220818 214104 worker: --
20220818 214104 worker: USB sources (none attached)
20220818 214105 sourceMount(): Mount error: (mount.nfs: mounting 192.168.1.140:/export/shared/mp3 failed, reason given by server: No such file or directory)
20220818 214105 sourceMount(): Mount error: (mount.nfs: mounting 192.168.1.140:/export/shared/backups/moode/ failed, reason given by server: No such file or directory)
20220818 214105 worker: NAS sources (mountall initiated)
20220818 214105 worker: --
20220818 214105 worker: -- Feature availability
20220818 214105 worker: --
20220818 214105 worker: Source select (available)
20220818 214105 worker: Source select (source: MPD)
20220818 214105 worker: Source select (output: Pi Headphone jack)
20220818 214106 worker: Bluetooth pairing agent (started)
20220818 214106 worker: Bluetooth (available: started)
20220818 214106 worker: Airplay renderer (available)
20220818 214106 worker: Spotify renderer (available)
20220818 214106 worker: Squeezelite (available)
20220818 214106 worker: RoonBridge renderer (not installed)
20220818 214106 worker: Multiroom sender (available)
20220818 214106 worker: Multiroom receiver (available)
20220818 214106 worker: UPnP renderer (available)
20220818 214106 worker: DLNA server (available)
20220818 214106 worker: GPIO button handler (available)
20220818 214106 worker: Stream recorder (n/a)
20220818 214106 worker: --
20220818 214106 worker: -- Other
20220818 214106 worker: --
20220818 214106 worker: USB volume knob (Off)
20220818 214106 worker: USB auto-mounter (udisks-glue)
20220818 214106 worker: Saved MPD vol level (0)
20220818 214106 worker: Preamp volume level (0)
20220818 214107 worker: MPD volume level (52) restored
20220818 214107 worker: ALSA Headphone volume (100%)
20220818 214107 worker: Auto-play (Off)
20220818 214107 worker: CoverView toggle (-off)
20220818 214107 worker: Maintenance interval (120 minutes)
20220818 214107 worker: Screen saver activation (Never)
20220818 214107 worker: Session permissions (OK)
20220818 214107 worker: Watchdog started
20220818 214107 worker: Ready
20220818 214955 sourceMount(): Mount error: (mount.nfs: mounting 192.168.1.140:/export/shared/mp3 failed, reason given by server: No such file or directory)
20220818 214955 sourceMount(): Mount error: (mount.nfs: mounting 192.168.1.140:/export/shared/backups/moode/ failed, reason given by server: No such file or directory)
20220818 215425 worker: Job compactdb
20220818 231014 watchdog: Info: Reducing PHP fpm worker pool




Code:
pi@moode:~ $ ls /var/local/www/
commandw           libcache_folder.json    libcache_tag.json  update-r810.log
currentsong.txt    libcache_format.json    playhistory.log    update-r810.txt
db                 libcache_hdonly.json    sysinfo.txt
imagesw            libcache_lossless.json  update-r802.log
libcache_all.json  libcache_lossy.json     update-r802.txt



If there is no way to force the update could I backup my settings (configure -> system -> backup / restore), download and install the newest mo0de, restore the settings and have it all working as before, but updated version?


Many thanks,
Greg


RE: No updates available on 8.1.0 - Tim Curtis - 08-19-2022

I don't see anything suspicious in the log or directory listing. Maybe reboot your Router or clear your Browser cache. The 8.1.0 release typically required a Browser cache clear in order to load all the newly named UI elements.

Starting with upcoming 8.2.0 we have included a "cache buster" feature in our Gulp build :-) This doesn't clear the Browser cache but rather it ensures that the UI files are tagged with a unique string that causes the Browser to directly  load the file instead of first looking in it's cache.

Try below to do a manual update.

Code:
# Submit the update for r810 -> r811
sudo /var/www/util/system-updater.sh r810

# Monitor progress
moodeutl -t



RE: No updates available on 8.1.0 - greg_m - 08-21-2022

Hi Tim,

Restarting the router didn't help, so I tried the command from your post.


I had some errors, but it said it updated and needed a restart.


Code:
Start 2022-06-24 update for moOde 8.1.0 2022-06-21
** Release check
update/install.sh: line 115: [: too many arguments
** File system check
** Step 1-7: Install timesyncd
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
** Step 2-7: Update package list
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:2 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye InRelease [5,173 B]
Get:3 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]       
Get:4 https://pkgs.tailscale.com/stable/raspbian bullseye InRelease            
Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:6 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye/main armhf Packages [72.2 kB]
Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [295 kB]
Fetched 13.6 MB in 26s (515 kB/s)                                              
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
update/install.sh: line 139: [: !=: unary operator expected
** Step 3-7: Remove package hold
moOde-apt-hold
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
Oops something went wrong
** Step 4-7: Install moode-player=8.1.1-1moode1
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
** Step 5-7: Apply package hold
moOde-apt-hold
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
Oops something went wrong
** Step 6-7: Post-install cleanup
** Step 7-7: Sync changes to disk
Finish 2022-06-24 update for moOde 8.1.0 2022-06-21
Update installed, restart required




However after the restart it's still 8.1.0 Sad



Code:
S Y S T E M   P A R A M E T E R S

moOde release = 8.1.0 2022-06-21
RaspiOS = 11.2
Linux kernel = 5.15.32-v7+ #1537
Platform = Pi-2B 1.1 1GB
Architecture = armv7l (32-bit)
System uptime = up 21 minutes
Timezone = Europe/London
Current time = 2022-08-21 18:05:46


Any ideas please?

Thanks,
Greg


RE: No updates available on 8.1.0 - Tim Curtis - 08-21-2022

Looks like a bug in the update script.

I've uploaded a new script. Give it another try.

ETA:
You may have to first delete the following files.

Code:
sudo rm /var/local/www/update-*



RE: No updates available on 8.1.0 - greg_m - 08-21-2022

Tried that. Still 8.1.0 after the reboot.

It may be easier to backup my settings. Download and install the newest mo0de and restore the settings.

Unless you want to get a bottom of the problem and fix it.

Either way is good for me.

Thanks
Greg


RE: No updates available on 8.1.0 - Tim Curtis - 08-21-2022

Go with the fresh image. There were two bugs in the > 801 update scripts that would cause an incomplete update that may not be recoverable :-0