Thank you for your donation!


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


Solved: "Update Library"....not working after in-place update to 8.3.7
#1
As it says.....Update Library feature not working following update to 8.3.7

"Library update in progress" is momentarily displayed, as per usual....but then no spinning icon present, and nothing is updated.

Any thoughts please??
Reply
#2
Reboot and post the contents of the startup log either via moodeitl -l or it can be downloaded via the Logs section of System Config
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(12-10-2023, 03:26 PM)Tim Curtis Wrote: Reboot and post the contents of the startup log either via moodeitl -l or it can be downloaded via the Logs section of System Config

Here 'tis!!!

20231210 152811 worker: --
20231210 152811 worker: -- Start moOde 8 series
20231210 152811 worker: --
20231210 152811 worker: Successfully daemonized
20231210 152811 worker: Wait for Linux startup...
20231210 152823 worker: Linux startup complete
20231210 152823 worker: Boot config backed up
20231210 152825 worker: Session loaded
20231210 152826 worker: Package holds applied
20231210 152827 worker: File check complete
20231210 152827 worker: Debug logging off
20231210 152827 worker: Reduced logging off
20231210 152827 worker: --
20231210 152827 worker: -- Audio debug
20231210 152827 worker: --
20231210 152827 worker: ALSA cards:  0:b1 | 1:Headphones | 2:E30 | 3:empty
20231210 152827 worker: MPD config:  2:E30 | mixer:E30 | cardnum:2
20231210 152827 worker: Mixer name:  [E30 ]
20231210 152827 worker: Hdwr volume: set to 0%
20231210 152827 worker: --
20231210 152827 worker: -- System
20231210 152827 worker: --
20231210 152829 worker: Host:     moode
20231210 152829 worker: Model:    Pi-4B 1.5 4GB
20231210 152829 worker: moOde:    8.3.7 2023-12-07
20231210 152829 worker: RaspiOS:  11.7 Bullseye 64-bit
20231210 152829 worker: Kernel:   6.1.21 64-bit
20231210 152829 worker: MPD ver:  0.23.14
20231210 152829 worker: CPU gov:  ondemand
20231210 152829 worker: Userid:   MisterKevster
20231210 152829 worker: Homedir:  /home/MisterKevster
20231210 152829 worker: Timezone: Europe/London
20231210 152829 worker: Keyboard: gb
20231210 152829 worker: USB boot: enabled
20231210 152829 worker: File sys: expanded
20231210 152829 worker: HDMI out: off
20231210 152829 worker: Sys LED0: on
20231210 152829 worker: Sys LED1: on
20231210 152829 worker: --
20231210 152829 worker: -- Network
20231210 152829 worker: --
20231210 152829 worker: Eth: adapter exists
20231210 152829 worker: Eth: timeout off
20231210 152829 worker: Eth: method  dhcp
20231210 152829 worker: Eth: address 192.168.0.30
20231210 152829 worker: Eth: netmask 255.255.255.0
20231210 152829 worker: Eth: gateway 192.168.0.1
20231210 152829 worker: Eth: pri DNS 194.168.4.100
20231210 152829 worker: Eth: domain  
20231210 152829 worker: Wlan: adapter exists
20231210 152829 worker: Wlan: country GB
20231210 152829 worker: Wlan: SSID    None (activates AP mode)
20231210 152829 worker: Wlan: other   none
20231210 152829 worker: Wlan: router  off
20231210 152829 worker: Wlan: address not assigned
20231210 152829 worker: Wlan: AP mode not activated, Eth active but Router mode off
20231210 152829 worker: Wlan: address not assigned
20231210 152829 worker: --
20231210 152829 worker: -- Software update
20231210 152829 worker: --
20231210 152829 worker: Automatic check: on
20231210 152829 worker: Checking for available update...
20231210 152830 worker: Software is up to date
20231210 152830 worker: --
20231210 152830 worker: -- File sharing
20231210 152830 worker: --
20231210 152830 worker: SMB file sharing:  off
20231210 152830 worker: NFS file sharing:  off
20231210 152830 worker: DLNA file sharing: off
20231210 152830 worker: --
20231210 152830 worker: -- Audio config
20231210 152830 worker: --
20231210 152830 worker: MPD config:    update skipped (USB audio device)
20231210 152830 worker: Audio device:  E30
20231210 152830 worker: Formats:       S32_LE, SPECIAL, DSD_U32_BE
20231210 152830 worker: Mixer type     Fixed 0dB
20231210 152830 worker: Mixer name     E30
20231210 152830 worker: Hdwr volume:   controller detected
20231210 152830 worker: ALSA max vol:  75%
20231210 152830 worker: ALSA card:     2
20231210 152830 worker: ALSA mode:     Default
20231210 152830 worker: ALSA loopback: off
20231210 152830 worker: CamillaDSP:    off
20231210 152830 worker: Renderers:     active flags reset
20231210 152830 worker: --
20231210 152830 worker: -- MPD startup
20231210 152830 worker: --
20231210 152831 worker: MPD service:        started
20231210 152831 worker: MPD port 6600:      accepting connections
20231210 152831 worker: MPD ALSA Default:   on
20231210 152831 worker: MPD ALSA Bluetooth: off
20231210 152831 worker: MPD HTTP Server:    off
20231210 152831 worker: MPD crossfade:      off
20231210 152831 worker: MPD ignore CUE:     yes
20231210 152831 worker: MPD CDSP volsync:   off
20231210 152831 worker: MPD CDSP volrange:  60 dB
20231210 152831 worker: --
20231210 152831 worker: -- Music sources
20231210 152831 worker: --
20231210 152831 worker: USB auto-mount: udisks-glue
20231210 152831 worker: USB drive:      ADATA
20231210 152831 worker: USB drive:      Kingston1TB
20231210 152831 worker: USB drive:      Transcend1TB
20231210 152831 worker: NAS sources:    no music sources defined
20231210 152831 worker: --
20231210 152831 worker: -- Feature availability
20231210 152831 worker: --
20231210 152831 worker: Input select:    available, src MPD, out E30
20231210 152831 worker: Bluetooth:       available, ALSA mode Default
20231210 152831 worker: AirPlay:         available
20231210 152831 worker: Spotify Connect: available
20231210 152831 worker: Squeezelite:     available
20231210 152831 worker: RoonBridge:      not installed
20231210 152831 worker: Multiroom:       available
20231210 152831 worker: UPnP client:     available
20231210 152831 worker: GPIO buttons:    available
20231210 152831 worker: Stream recorder: n/a
20231210 152831 worker: HTTPS-Only mode: n/a
20231210 152831 worker: --
20231210 152831 worker: -- Volume levels
20231210 152831 worker: --
20231210 152831 worker: Volume knob:      0
20231210 152831 worker: Saved MPD volume: 0
20231210 152831 worker: Saved SRC volume: 0
20231210 152831 worker: Hdwr volume:      94%
20231210 152831 worker: --
20231210 152831 worker: -- Peripherals
20231210 152831 worker: --
20231210 152832 worker: Local display:   off
20231210 152832 worker: On-screen kbd:   off
20231210 152832 worker: Rotary encoder:  off
20231210 152832 worker: USB volume knob: off
20231210 152832 worker: LCD updater:     off
20231210 152832 worker: --
20231210 152832 worker: -- Miscellaneous
20231210 152832 worker: --
20231210 152832 worker: Auto-CoverView:    off
20231210 152832 worker: CoverView timeout: 60
20231210 152832 worker: Auto-shuffle:      off
20231210 152832 worker: Auto-play:         off
20231210 152832 worker: Web SSH server:    on
20231210 152832 worker: Maintenance task:  360 mins
20231210 152832 worker: Current view:      reset to Playback
20231210 152832 worker: Session check:     ok
20231210 152832 worker: --
20231210 152832 worker: -- Startup complete
20231210 152832 worker: --
20231210 152832 worker: Mount monitor:    off
20231210 152832 worker: MPD monitor:      off
20231210 152832 worker: Watchdog monitor: started
20231210 152832 worker: Responsiveness:   Default
20231210 152832 worker: Ready
Reply
#4
I don't see anything suspicious in the log.

Maybe try clearing Browser cache.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(12-10-2023, 05:41 PM)Tim Curtis Wrote: ................Maybe try clearing Browser cache.

That seems to have done the trick.....Thanks!! Smile
Reply
#6
Thought that I'd re-awaken this thread....I'd originally marked it as SOLVED.....but problems now persist 100% of the time!!

To recap....using RPi4/Moode 8.3.7 to play 'local' files.....so the simplest of scenarios I believe.
  • Files are on 3 attached USB drives (2 x USB3.0, and 1 x USB2.0)
  • In Folder view....I can see all 3 drives, and can navigate to all albums/tracks
  • In Album view......nothings can be seen in 'All Music'.....but 'Recently Added' CAN be viewed/accessed for playing.
  • Update Library does not work at all, and the oinly way I can add new files is to ReGenerate said Library
Startup logs don't show any errors....well not any that I can spot.

Is there a logical limit to the size of the Library I'm wondering??

More likely perhaps.....is the problem due to a Power (as in 'lack of') thing??
Have to add.....that for a short while.....library was successfully updating with the 3 drives attached!
Reply
#7
(01-19-2024, 05:34 PM)Tonewheelkev Wrote: Thought that I'd re-awaken this thread....I'd originally marked it as SOLVED.....but problems now persist 100% of the time!!

To recap....using RPi4/Moode 8.3.7 to play 'local' files.....so the simplest of scenarios I believe.
  • Files are on 3 attached USB drives (2 x USB3.0, and 1 x USB2.0)
  • In Folder view....I can see all 3 drives, and can navigate to all albums/tracks
  • In Album view......nothings can be seen in 'All Music'.....but 'Recently Added' CAN be viewed/accessed for playing.
  • Update Library does not work at all, and the oinly way I can add new files is to ReGenerate said Library
Startup logs don't show any errors....well not any that I can spot.

Is there a logical limit to the size of the Library I'm wondering??

More likely perhaps.....is the problem due to a Power (as in 'lack of') thing??
Have to add.....that for a short while.....library was successfully updating with the 3 drives attached!

It could be a power-related issue.
Sometimes (I have no clue, nor history / track for it) after a library-update succeeds, another one shortly after fails giving the "Library update in progress" you were experiencing.
Now, if I am doing the library update from my PC (as I 99% of the times do) at this point I just hit F5 (or ctrl-F5) and restart the update: it works
On the Pi itself there is no F5, but you can enter "m" => "System", or "Library", and then just gor BACK, this clears the UI and the "wrong" update-undergoing flag.

If, OTOH, you are never ever able to do an update, but only the regenerate works (and I underline WORKS) I really do not have a clue... may the way moOde detects changes in the library, in case of multi-hdd end after the first is checked?

Can you confirm, for instance, that making a small change to the discs (one by one, that is disc-a => update library, disc-b => update- library, etc.) can sometimes succeed? Always on the same disc?

Looking at their mount points, can you eventually confirm that the disc always working is, for instance, /dev/sdb1?

I made a lot of assumptions here, and probably said a lot of nonsense too; nevertheless it's a thing worth investigating; unless someone has already the answer by experience.

Just my 2c (or 20c, that is)
Reply
#8
How many tracks in the collection?
Are the USB drives powered or do they use USB port power?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
(01-19-2024, 09:07 PM)Nutul Wrote: It could be a power-related issue.
Sometimes (I have no clue, nor history / track for it) after a library-update succeeds, another one shortly after fails giving the "Library update in progress" you were experiencing.
Now, if I am doing the library update from my PC (as I 99% of the times do) at this point I just hit F5 (or ctrl-F5) and restart the update: it works
On the Pi itself there is no F5, but you can enter "m" => "System", or "Library", and then just gor BACK, this clears the UI and the "wrong" update-undergoing flag.

If, OTOH, you are never ever able to do an update, but only the regenerate works (and I underline WORKS) I really do not have a clue... may the way moOde detects changes in the library, in case of multi-hdd end after the first is checked?

Can you confirm, for instance, that making a small change to the discs (one by one, that is disc-a => update library, disc-b => update- library, etc.) can sometimes succeed? Always on the same disc?

Looking at their mount points, can you eventually confirm that the disc always working is, for instance, /dev/sdb1?

I made a lot of assumptions here, and probably said a lot of nonsense too; nevertheless it's a thing worth investigating; unless someone has already the answer by experience.

Just my 2c (or 20c, that is)

Thanks for this......I've clearly got a lot to think about here Smile ... much of which is beyond me at the moment!
My 'method' has been....to transfer material from PC to SSD drive(s)....then plug those drives into the Pi, and attempt update in Moode. Now that update is failing....Regenerating library is only way to add new files. Yes, that appears to work OK!....as I can find everything in Folder view. Album view is totally blank.....but recently added albums DO appear.

Not clear on the following..."On the Pi itself there is no F5, but you can enter "m" => "System", or "Library", and then just gor BACK, this clears the UI and the "wrong" update-undergoing flag."
....is this done in a Putty/SSh window?
Reply
#10
(01-19-2024, 09:28 PM)Tim Curtis Wrote: How many tracks in the collection?
Are the USB drives powered or do they use USB port power?

Drives plugged directly into Pi.....so just using port power....which I'm thinking to be a limiting factor.
Now searching for a suitable....Pi friendly....Powered hub I suppose!

Haven't counted tracks yet..... but must be around 5000.
Reply


Forum Jump: