Posts: 27
Threads: 4
Joined: Mar 2020
Reputation:
0
Hello,
The same tracks that cannot be played by moode on my raspberry, I can play them when the usb drive is plugged in my laptop, on vlc player.
I don’t think there is some errors in the file system. It’s rather an issue with mpd database or way to access the files. But I can’t figure out what a backup could have changed in this database, on tracks that were played before this update.
I will try the test @ Tim Curtis suggested above.
Posts: 27
Threads: 4
Joined: Mar 2020
Reputation:
0
I checked for the "UTF8" pref, it was off.
I turned it on and regenerate the library, It worked with no error. The library is full.
However moode is not able to play any track.
My moode install may be wrong. May a forced shutdown cause such strange behaviour, with moode not able to play, or even no library displayed just after you regenerate ?
Posts: 13,421
Threads: 304
Joined: Mar 2018
Reputation:
545
(09-25-2023, 09:46 PM)Girafenaine Wrote: I checked for the "UTF8" pref, it was off.
I turned it on and regenerate the library, It worked with no error. The library is full.
However moode is not able to play any track.
My moode install may be wrong. May a forced shutdown cause such strange behaviour, with moode not able to play, or even no library displayed just after you regenerate ?
Try regenerating the Library with UTF8 pref turned off.
Posts: 6,024
Threads: 176
Joined: Apr 2018
Reputation:
235
@ Girafenaine
Zip up a few of your files that don't play, upload the ZIP file to an accessible location in the cloud, and send a link to Tim, Al, and me via a private message in this forum. One or more of us will have a look at possible oddities.
Regards,
Kent
Posts: 27
Threads: 4
Joined: Mar 2020
Reputation:
0
Hello @Tim, hello @TheOldPresbyote,
Thank you very much for your help, that’s nice.
I fear the files are not part of the issue, as I can read them with vlc. Actually my moode raspi is now quite unusable. The UI is down…
The startup seems to be OK in the log. When I try to regenerate the library (with or without UTF8 option), the process met success officially, but with error about «mpd connection failed». And then the UI is the same as above and I cannot do anything, Here is moode log :
Code: pi@moode:~ $ moodeutl -l
20230925 234856 worker: --
20230925 234856 worker: -- Start moOde 8 series
20230925 234856 worker: --
20230925 234856 worker: Successfully daemonized
20230925 234856 worker: Waiting for Linux startup...
20230925 234902 worker: Linux startup complete
20230925 234902 worker: Boot config backed up
20230925 234905 worker: File check (OK)
20230925 234906 worker: Session vacuumed
20230925 234906 worker: Session loaded
20230925 234906 worker: Debug logging (OFF)
20230925 234906 worker: Reduced system logging (OFF)
20230925 234906 worker: --
20230925 234906 worker: -- Audio debug
20230925 234906 worker: --
20230925 234906 worker: ALSA cards: (0:b1 | 1:Headphones | 2:AUDIO | 3:empty
20230925 234906 worker: MPD config: (2:SMSL USB AUDIO | mixer:(SMSL USB AUDIO ) | card:2)
20230925 234906 worker: ALSA mixer actual (SMSL USB AUDIO )
20230925 234906 worker: ALSA SMSL USB AUDIO volume set to (0%)
20230925 234906 worker: --
20230925 234906 worker: -- System
20230925 234906 worker: --
20230925 234907 worker: Host (moode)
20230925 234907 worker: Hardware (Pi-4B 1.1 2GB)
20230925 234907 worker: moOde (8.3.6 2023-09-05)
20230925 234907 worker: RaspiOS (11.7)
20230925 234907 worker: Kernel (6.1.21-v8+ #1642)
20230925 234907 worker: Procarch (aarch64, 64-bit)
20230925 234907 worker: MPD ver (0.23.12)
20230925 234907 worker: CPU gov (ondemand)
20230925 234907 worker: Userid (pi)
20230925 234907 worker: Homedir (/home/pi)
20230925 234907 worker: Timezone (Europe/Paris)
20230925 234907 worker: Keyboard (fr)
20230925 234907 worker: USB boot (enabled)
20230925 234907 worker: File sys (expanded)
20230925 234907 worker: HDMI port (Off)
20230925 234908 worker: Sys LED0 (On)
20230925 234908 worker: Sys LED1 (On)
20230925 234908 worker: --
20230925 234908 worker: -- Network
20230925 234908 worker: --
20230925 234908 worker: eth0 adapter exists
20230925 234908 worker: eth0 address check (Off)
20230925 234908 worker: eth0 address not assigned
20230925 234908 worker: wlan0 adapter exists
20230925 234908 worker: wlan0 country (FR)
20230925 234908 worker: wlan0 configured SSID (HUAWEI-FCCC)
20230925 234908 worker: wlan0 SSID alternates (Yo,HUAWEI_E5576_7A70)
20230925 234908 worker: wlan0 router mode (Off)
20230925 234908 worker: wlan0 address check (up to 90 secs)
20230925 234908 worker: wlan0 connected to SSID (Yo)
20230925 234908 worker: wlan0 power save (Disabled)
20230925 234908 worker: IP addr (192.168.48.152)
20230925 234908 worker: Netmask (255.255.255.0)
20230925 234908 worker: Gateway (192.168.48.110)
20230925 234908 worker: Pri DNS (192.168.48.110)
20230925 234908 worker: Domain ()
20230925 234908 worker: --
20230925 234908 worker: -- Software update
20230925 234908 worker: --
20230925 234908 worker: Automatic check (Off)
20230925 234908 worker: --
20230925 234908 worker: -- File sharing
20230925 234908 worker: --
20230925 234909 worker: SMB file sharing (On)
20230925 234909 worker: NFS file sharing (Off)
20230925 234909 worker: --
20230925 234909 worker: -- Audio config
20230925 234909 worker: --
20230925 234909 worker: MPD conf update skipped (USB device)
20230925 234909 worker: ALSA card number (2)
20230925 234909 worker: MPD audio output (SMSL USB AUDIO)
20230925 234909 worker: Audio formats (S32_LE, SPECIAL, DSD_U32_BE)
20230925 234909 worker: ALSA mixer name (SMSL USB AUDIO )
20230925 234909 worker: MPD mixer type (hardware)
20230925 234909 worker: Hdwr volume controller exists
20230925 234909 worker: Max ALSA volume (98%)
20230925 234909 worker: ALSA output mode (Default)
20230925 234909 worker: ALSA loopback (Off)
20230925 234909 worker: Renderer active flags (reset)
20230925 234909 worker: CamillaDSP configuration (Salon Rouaix_V4 phase V5)
20230925 234909 worker: --
20230925 234909 worker: -- MPD startup
20230925 234909 worker: --
20230925 234910 worker: MPD started
20230925 234910 worker: MPD accepting connections
20230925 234910 worker: MPD output 1 ALSA Default (On)
20230925 234910 worker: MPD output 2 ALSA Bluetooth (Off)
20230925 234910 worker: MPD output 3 HTTP Server (Off)
20230925 234910 worker: MPD crossfade (off)
20230925 234910 worker: MPD ignore CUE files (no)
20230925 234910 worker: MPD camilladsp volume sync (Off)
20230925 234910 worker: MPD camilladsp volume range (60 dB)
20230925 234910 worker: --
20230925 234910 worker: -- Music sources
20230925 234910 worker: --
20230925 234910 worker: USB sources
20230925 234910 worker: Docs_Djenna
20230925 234910 worker: Sauvegardes_mus
20230925 234910 worker: Stockage
20230925 234910 worker: NAS sources
20230925 234910 worker: None configured
20230925 234910 worker: --
20230925 234910 worker: -- Feature availability
20230925 234910 worker: --
20230925 234910 worker: Input select (available)
20230925 234910 worker: Input (MPD)
20230925 234910 worker: Output (SMSL USB AUDIO)
20230926 222730 worker: Bluetooth (available: started)
20230926 222730 worker: Pairing agent (started)
20230926 222730 worker: AirPlay renderer (available)
20230926 222730 worker: Spotify renderer (available)
20230926 222730 worker: Squeezelite (available)
20230926 222730 worker: RoonBridge renderer (not installed)
20230926 222730 worker: Multiroom sender (available)
20230926 222730 worker: Multiroom receiver (available)
20230926 222730 worker: UPnP renderer (available)
20230926 222730 worker: DLNA server (available)
20230926 222730 worker: GPIO button handler (available: started)
20230926 222730 worker: Stream recorder (n/a)
20230926 222730 worker: HTTPS-Only mode (n/a)
20230926 222730 worker: --
20230926 222730 worker: -- Other
20230926 222730 worker: --
20230926 222730 worker: Rotary encoder on (75 2 3 23 24)
20230926 222730 worker: USB volume knob (Off)
20230926 222730 worker: Shellinabox SSH started
20230926 222730 worker: USB auto-mounter (udisks-glue)
20230926 222730 worker: Saved MPD vol level (0)
20230926 222730 worker: Preamp volume level (0)
20230926 222730 worker: MPD volume level (33) restored
20230926 222731 worker: ALSA SMSL USB AUDIO volume (78%)
20230926 222731 worker: Auto-play (Off)
20230926 222831 worker: LocalUI (Off)
20230926 222831 worker: Automatic CoverView (Off)
20230926 222831 worker: On-screen keyboard (Off)
20230926 222831 worker: Library scope (all)
20230926 222831 worker: Library active search (None)
20230926 222831 worker: View reset to (Playback)
20230926 222831 worker: Maintenance interval (360 minutes)
20230926 222831 worker: Screen saver activation (Never)
20230926 222831 worker: Session permissions (OK)
20230926 222831 worker: --
20230926 222831 worker: -- Startup complete
20230926 222831 worker: --
20230926 222831 worker: Mount monitor (off)
20230926 222831 worker: Watchdog monitor (started)
20230926 222831 worker: Responsiveness (Boosted)
20230926 222831 worker: Ready
20230926 223310 worker: Job regen_library
20230926 223613 thumb-gen: Start
20230926 223613 thumb-gen: Scan opt: Default
20230926 223613 thumb-gen: Priority: Embedded cover
20230926 223613 thumb-gen: Res,Qual: Auto
20230926 223613 thumb-gen: Px ratio: 1
20230926 223613 thumb-gen: Th width: 100
20230926 223613 thumb-gen: Thm qual: 75
20230926 223613 thumb-gen: Scanning: NAS, SDCARD, Docs_Djenna, Sauvegardes_mus, Stockage
20230926 223918 worker: Job regen_library done
20230926 224056 thumb-gen: Done: 1829 folders scanned, 0 thumbs created, 1829 already in cache.
20230926 224435 worker: Job regen_library
20230926 224634 command/index.php: Connection to MPD failed
20230926 224730 command/index.php: Connection to MPD failed
20230926 224738 thumb-gen: Start
20230926 224738 thumb-gen: Scan opt: Default
20230926 224738 thumb-gen: Priority: Embedded cover
20230926 224738 thumb-gen: Res,Qual: Auto
20230926 224738 thumb-gen: Px ratio: 1
20230926 224738 thumb-gen: Th width: 100
20230926 224738 thumb-gen: Thm qual: 75
20230926 224738 thumb-gen: Scanning: NAS, SDCARD, Docs_Djenna, Sauvegardes_mus, Stockage
20230926 225043 worker: Job regen_library done
20230926 225049 thumb-gen: Done: 1829 folders scanned, 0 thumbs created, 1829 already in cache.
Any clue about such a "dead" UI and library ?
Posts: 27
Threads: 4
Joined: Mar 2020
Reputation:
0
Hello,
I re-installed moode again on my raspi, and now my moode player work (with the same ntfs partition on the same usb drive).
So it seems that the issue I met was not caused by the usb drive and the ntfs partition. Probably some corrupted database or OS (after a hard shutdown ?).
I have had such an issue (non responsive moode system that cannot read music anymore) from time to time, about every year… and I end up with re-installation. And it is a pain… (I never could pre-set wifi network so I have to enter access point mode first. And I never could restore a moode backup, neither settings nor radio, camilla DSP settings and files… so I have to setup the whole thing).
Posts: 126
Threads: 19
Joined: Jul 2021
Reputation:
1
(10-17-2023, 07:54 PM)Girafenaine Wrote: Hello,
I re-installed moode again on my raspi, and now my moode player work (with the same ntfs partition on the same usb drive).
So it seems that the issue I met was not caused by the usb drive and the ntfs partition. Probably some corrupted database or OS (after a hard shutdown ?).
I have had such an issue (non responsive moode system that cannot read music anymore) from time to time, about every year… and I end up with re-installation. And it is a pain… (I never could pre-set wifi network so I have to enter access point mode first. And I never could restore a moode backup, neither settings nor radio, camilla DSP settings and files… so I have to setup the whole thing).
An alternative way of backing up your system would be to simply use dd (for example) to make a copy of the whole SD card. I do this as I don't have much success with moOde backups either!
Posts: 1,279
Threads: 24
Joined: Jun 2022
Reputation:
42
(10-17-2023, 07:54 PM)Girafenaine Wrote: Hello,
I re-installed moode again on my raspi, and now my moode player work (with the same ntfs partition on the same usb drive).
So it seems that the issue I met was not caused by the usb drive and the ntfs partition. Probably some corrupted database or OS (after a hard shutdown ?).
I have had such an issue (non responsive moode system that cannot read music anymore) from time to time, about every year… and I end up with re-installation. And it is a pain… (I never could pre-set wifi network so I have to enter access point mode first. And I never could restore a moode backup, neither settings nor radio, camilla DSP settings and files… so I have to setup the whole thing).
Now, once you are finished with setting everything up, do a backup and save the file for future use.
Furthermore, since the new installation requires that you create a username + password using the Raspberry Imager, there is the possibility to also setup a wireless network, so that at the first boot moOde is visible in your LAN without the need of starting the AP first.
The installation guide is your friend.
P.S.
It's weird you have to reinstall moOde about once a year... you do not regularly shut it down by just removing the power cord, do you?
Posts: 126
Threads: 19
Joined: Jul 2021
Reputation:
1
10-17-2023, 09:18 PM
(This post was last modified: 10-17-2023, 09:19 PM by Sehnsucht.)
(10-17-2023, 08:58 PM)Nutul Wrote: (10-17-2023, 07:54 PM)Girafenaine Wrote: Hello,
I re-installed moode again on my raspi, and now my moode player work (with the same ntfs partition on the same usb drive).
So it seems that the issue I met was not caused by the usb drive and the ntfs partition. Probably some corrupted database or OS (after a hard shutdown ?).
I have had such an issue (non responsive moode system that cannot read music anymore) from time to time, about every year… and I end up with re-installation. And it is a pain… (I never could pre-set wifi network so I have to enter access point mode first. And I never could restore a moode backup, neither settings nor radio, camilla DSP settings and files… so I have to setup the whole thing).
Now, once you are finished with setting everything up, do a backup and save the file for future use.
Furthermore, since the new installation requires that you create a username + password using the Raspberry Imager, there is the possibility to also setup a wireless network, so that at the first boot moOde is visible in your LAN without the need of starting the AP first.
The installation guide is your friend.
P.S.
It's weird you have to reinstall moOde about once a year... you do not regularly shut it down by just removing the power cord, do you?
Not the OP but perhaps you know the answer to my question. I have two moOde installs, on a Pi 4 and a Pi Zero W. I can't have shut either of them down via a ssh command or menu option more a handful of times; I use them both daily and also just "pull the plug" and have never had corruption. But I've recently started playing with the Pi game emulation "distro" Batocera and I noticed that if I do an rsync to the sd card, interrupt it and then restart it it always starts from the beginning, as opposed to moOde and every other linux distro I've used where rsync just seamlessly continues every time without fail. I wonder if it's because Batocera is set to always write and flush data to the device immediately and that if you interrupt it it just deletes the temp file and flushes that too. If this is some way linux (well, the file system) can be set up, and if you're concerned that this might potentially cause corruption to moOde if you're unlucky, perhaps moOde could be configured the same way?
Posts: 1,279
Threads: 24
Joined: Jun 2022
Reputation:
42
@ Sehnsucht
I was referring to the possibility the SD card gets damaged, after numerous power-cuts, rendering some reads or writes to it critical to the point that the unit freezes / becomes unresponsive.
Moode per-se does not continuously write to the FS (logs apart...) so that corrupting them is not an issue, but again...
There was a thread some time ago of a guy wanting to mount moOde read-only in a (sort of?) ram-fs, so that pulling the plug did never corrupt the SD card; but it has received tons of answers that brutally powering off moOde never resulted in problems. Apparently it is no so for everybody...
|