Moode Forum
[PROBLEM] Library update not working since 8.3.7 - 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] Library update not working since 8.3.7 (/showthread.php?tid=6402)

Pages: 1 2


Library update not working since 8.3.7 - Tonewheelkev - 04-11-2024

Revisiting this....as still not out of the woods yet....Library U/D hasn't worked for some months....so rely on regenerating library.
Now using 8.3.9
Here's a dump of the log....after rebooting and attempting library update :

20240312 080323 worker: --
20240312 080323 worker: -- Start moOde 8 series
20240312 080323 worker: --
20240312 080323 worker: Successfully daemonized
20240312 080323 worker: Wait for Linux startup...
20240312 080342 worker: Linux startup complete
20240312 080348 worker: Boot config backed up
20240312 080355 worker: Session loaded
20240312 080404 worker: Package holds applied
20240312 080407 worker: File check complete
20240312 080407 worker: Debug logging off
20240312 080407 worker: Reduced logging off
20240312 080407 worker: --
20240312 080407 worker: -- Audio debug
20240312 080407 worker: --
20240312 080407 worker: ALSA cards:   0:b1 | 1:Headphones | 2:E30 | 3:empty
20240312 080407 worker: MPD config:   2:E30 | mixer:E30 | cardnum:2
20240312 080407 worker: Mixer name:   [E30 ]
20240312 080407 worker: Hdwr volume:  set to 0%
20240312 080407 worker: Volume knob:  0
20240312 080407 worker: --
20240312 080407 worker: -- System
20240312 080407 worker: --
20240312 080410 worker: Host:     moode
20240312 080410 worker: Model:    Pi-4B 1.5 4GB
20240312 080410 worker: moOde:    8.3.9 2024-02-23
20240312 080410 worker: RaspiOS:  11.8 Bullseye 64-bit
20240312 080410 worker: Kernel:   6.1.21 64-bit
20240312 080410 worker: MPD ver:  0.23.14
20240312 080410 worker: CPU gov:  ondemand
20240312 080410 worker: Userid:   pi
20240312 080410 worker: Homedir:  /home/pi
20240312 080410 worker: Timezone: Europe/London
20240312 080410 worker: Keyboard: gb
20240312 080410 worker: USB boot: enabled
20240312 080411 worker: File sys: expanded
20240312 080411 worker: HDMI out: off
20240312 080411 worker: Sys LED0: on
20240312 080411 worker: Sys LED1: on
20240312 080411 worker: --
20240312 080411 worker: -- Network
20240312 080411 worker: --
20240312 080411 worker: Eth: adapter exists
20240312 080411 worker: Eth: timeout off
20240312 080411 worker: Eth: method  static
20240312 080411 worker: Eth: address 192.168.0.30
20240312 080411 worker: Eth: netmask 255.255.255.0
20240312 080411 worker: Eth: gateway 0.0.0.0
20240312 080411 worker: Eth: pri DNS 194.168.4.100
20240312 080411 worker: Eth: domain  
20240312 080411 worker: Wlan: adapter does not exist
20240312 080411 worker: --
20240312 080411 worker: -- Software update
20240312 080411 worker: --
20240312 080411 worker: Automatic check off
20240312 080411 worker: --
20240312 080411 worker: -- File sharing
20240312 080411 worker: --
20240312 080411 worker: SMB file sharing:  on
20240312 080411 worker: NFS file sharing:  off
20240312 080411 worker: DLNA file sharing: off
20240312 080411 worker: --
20240312 080411 worker: -- Audio config
20240312 080411 worker: --
20240312 080411 worker: MPD config:    update skipped (USB audio device)
20240312 080411 worker: Audio device:  E30
20240312 080413 worker: Formats:       S32_LE, SPECIAL, DSD_U32_BE
20240312 080413 worker: Mixer type     Fixed (0dB)
20240312 080413 worker: Mixer name     E30
20240312 080413 worker: Hdwr volume:   controller detected
20240312 080413 worker: ALSA max vol:  65%
20240312 080413 worker: ALSA card:     2
20240312 080413 worker: ALSA mode:     Direct
20240312 080413 worker: ALSA loopback: off
20240312 080413 worker: CamillaDSP:    off
20240312 080413 worker: Renderers:     active flags reset
20240312 080413 worker: --
20240312 080413 worker: -- MPD startup
20240312 080413 worker: --
20240312 080418 worker: MPD service:        started
20240312 080418 worker: MPD port 6600:      accepting connections
20240312 080418 worker: MPD ALSA Default:   on
20240312 080418 worker: MPD ALSA Bluetooth: off
20240312 080418 worker: MPD HTTP Server:    off
20240312 080418 worker: MPD crossfade:      off
20240312 080418 worker: MPD ignore CUE:     yes
20240312 080418 worker: MPD CDSP volsync:   off
20240312 080418 worker: MPD CDSP volrange:  60 dB
20240312 080418 worker: --
20240312 080418 worker: -- Music sources
20240312 080418 worker: --
20240312 080418 worker: USB auto-mount: udisks-glue
20240312 080418 worker: USB drive:      Crucial2TB
20240312 080418 worker: USB drive:      Kingston1TB
20240312 080418 worker: USB drive:      Kingston1TB_
20240312 080418 worker: NAS sources:    no music sources defined
20240312 080418 worker: --
20240312 080418 worker: -- Feature availability
20240312 080418 worker: --
20240312 080418 worker: Input select:    available, src MPD, out E30
20240312 080418 worker: Bluetooth:       available, ALSA mode Default
20240312 080418 worker: AirPlay:         available
20240312 080418 worker: Spotify Connect: available
20240312 080418 worker: Squeezelite:     available
20240312 080418 worker: RoonBridge:      not installed
20240312 080418 worker: Multiroom:       available
20240312 080418 worker: UPnP client:     available
20240312 080418 worker: GPIO buttons:    available
20240312 080418 worker: HTTPS mode:      available
20240312 080418 worker: Stream recorder: n/a
20240312 080418 worker: --
20240312 080418 worker: -- Volume levels
20240312 080418 worker: --
20240312 080419 worker: Volume knob:   0
20240312 080419 worker: Saved MPD vol: -1
20240312 080419 worker: Saved SRC vol: 0
20240312 080419 worker: Mixer type:    none
20240312 080419 worker: Hdwr volume:   91%
20240312 080420 worker: CDSP volume:   0.0dB
20240312 080420 worker: --
20240312 080420 worker: -- Peripherals
20240312 080420 worker: --
20240312 080421 worker: Local display:   off
20240312 080421 worker: On-screen kbd:   off
20240312 080421 worker: Rotary encoder:  off
20240312 080421 worker: USB volume knob: off
20240312 080421 worker: LCD updater:     off
20240312 080421 worker: --
20240312 080421 worker: -- Miscellaneous
20240312 080421 worker: --
20240312 080421 worker: Auto-CoverView:    off
20240312 080421 worker: CoverView timeout: Never
20240312 080421 worker: Auto-shuffle:      off
20240312 080421 worker: Auto-play:         off
20240312 080421 worker: Web SSH server:    on
20240312 080421 worker: Maintenance task:  360 mins
20240312 080421 worker: Current view:      reset to Playback
20240312 080421 worker: Session check:     ok
20240312 080421 worker: --
20240312 080421 worker: -- Startup complete
20240312 080421 worker: --
20240312 080422 worker: Mount monitor:    off
20240312 080422 worker: Radio monitor:    off
20240312 080422 worker: Watchdog monitor: started
20240312 080422 worker: Responsiveness:   Default
20240312 080422 worker: Ready


RE: Library update not working since 8.3.7 - Tim Curtis - 04-11-2024

Prolly something to do with 3X USB drives and a USB DAC. Maybe exceeding some sort of USB power limit on the Pi.

Try with just one USB drive.


RE: Library update not working since 8.3.7 - Tonewheelkev - 04-12-2024

20240312 080418 worker: USB drive:      Crucial2TB
20240312 080418 worker: USB drive:      Kingston1TB     (Not seen in folder view)
20240312 080418 worker: USB drive:      Kingston1TB_

Actually...there are 2 drives.....
Moode 'sees' the drive with the underscore....and doesn't see the drive above.


RE: Library update not working since 8.3.7 - Tim Curtis - 04-12-2024

1. Unplug all the USB drives
2. Verify the mount directories are empty (the ls command returns nothing)

Code:
ls /media/Crucial2TB
ls /media/Kingston1TB
ls /media/Kingston1TB_

3. Delete the empty mount directories

Code:
sudo rmdir /media/Crucial2TB
sudo rmdir /media/Kingston1TB
sudo rmdir /media/Kingston1TB_

4. Plug in one USB drive
5. Menu "Update library"
6. View the moode log and verify that the library update stats were logged
7. Switch to Folder view, navigate to a folder and then "Update this folder"
8. Verify the library update stats for that folder were logged in the moode log


RE: Library update not working since 8.3.7 - Tonewheelkev - 04-12-2024

Thanks....I've entered the code from the 1st block.
How do I copy text from the SSH window to show you the response that I get please?
Have searched for around 1 hour now.....


RE: Library update not working since 8.3.7 - Tim Curtis - 04-12-2024

Hold left mouse button down and drag the pointer to highlight the text then click right mouse button to show the context menu then "copy"


RE: Library update not working since 8.3.7 - Tonewheelkev - 04-12-2024

Done it that way for 25+ years....but not letting me copy from SSH window to this one!
I've restarted rdclip.exe....no difference.


RE: Library update not working since 8.3.7 - Nutul - 04-12-2024

(04-12-2024, 03:11 PM)Tonewheelkev Wrote: Done it that way for 25+ years....but not letting me copy from SSH window to this one!
I've restarted rdclip.exe....no difference.

I understand you are doing this via the SSH web-console from the browser...
As a dirty solution you can ctrl-shift-i, which will open the developer tools env. Then search for the html component displaying the I/O of the ssh session, and copy the text from its "text".

P.S.
a better way is to actually SSH into moOde, maybe with putty or some similar tool...


RE: Library update not working since 8.3.7 - Tonewheelkev - 04-12-2024

(04-12-2024, 03:21 PM)Nutul Wrote:
(04-12-2024, 03:11 PM)Tonewheelkev Wrote: Done it that way for 25+ years....but not letting me copy from SSH window to this one!
I've restarted rdclip.exe....no difference.

I understand you are doing this via the SSH web-console from the browser...
As a dirty solution you can ctrl-shift-i, which will open the developer tools env. Then search for the html component displaying the I/O of the ssh session, and copy the text from its "text".

P.S.
a better way is to actually SSH into moOde, maybe with putty or some similar tool...
(I realise that should've said rdpclip.exe btw)

Dam!....thought I was doin' the right thing using the SSH web-console from the browser...so much for thought!!!
So....from Putty.....get:

pi@moode:~ $ ls /media/Crucial2TB
ls /media/Kingston1TB
ls /media/Kingston1TB_
ls: cannot access '/media/Crucial2TB': No such file or directory
ls: cannot open directory '/media/Kingston1TB': Permission denied
ls: cannot access '/media/Kingston1TB_': No such file or directory

Am I now ready to move on to the 2nd block of commands as Tim suggested?


RE: Library update not working since 8.3.7 - Tim Curtis - 04-12-2024

With all USB drives unplugged what is output of

ls /media