Thank you for your donation!


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


Problem: can't update library
#21
(03-25-2025, 06:56 PM)ils1974 Wrote: Hi @Tim Curtis,

My PI4 is running moOde 9.3.0 on Bookworm 12.9. I see other's system is running 9.3.0 on Bookworm 12.10.
My question: If you do an in-place update, doen't the Rasberry OS version get updated?

Thanks

 I'm not actually sure what specific package contains the PiOS version number bump. In my environment all 8 of my systems are at PiOS 12.10. One of the systems is made from the release image and the rest are updated by performing apt upgrade (carefully honoring certain package holds) and eventually apt install moode-player=9.3.0-1moode1.

We only install or update the packages listed below as part of the in-place update script. 

Code:
# Part 2: List of package updates (cumulative)
PKG_UPDATES=(
moode-player=9.3.0-1moode1
alsa-cdsp=1.2.0-2moode1
mpd=0.24-1moode1
mpc=0.35-1moode1
bluez-alsa-utils=4.2.0-2moode1
libasound2-plugin-bluez=4.2.0-2moode1
camilladsp=3.0.0-1moode1
camillagui=3.0.2-1moode1
mpd2cdspvolume=2.0.0-1moode2
python3-camilladsp-plot=3.0.0-1moode1
python3-camilladsp=3.0.0-1moode1
shairport-sync=4.3.6-1moode1
log2ram=1.7.2
librespot=0.6.0-1moode1
libnpupnp13=6.2.0-1moode1
libupnpp16=0.26.7-1moode1
pleezer=0.13.0-1moode1
upmpdcli=1.9.0-1moode1
upmpdcli-qobuz=1.9.0-1moode1
upmpdcli-tidal=1.9.0-1moode1
bluez-firmware
firmware-atheros
firmware-brcm80211
firmware-libertas
firmware-linux-free
firmware-misc-nonfree
firmware-realtek
raspi-firmware
rpi-eeprom
)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#22
Thanks for the reply. Do I miss something when still being on 12.9?
In this case, isn't it recommended to start from a fresh image instead of the in-place update?
Reply
#23
(03-25-2025, 03:17 PM)patrik96 Wrote:
(03-25-2025, 09:44 AM)Tim Curtis Wrote: First, use only one active network interface either WiFi or Ethernet, not both.

Then to troubleshoot try monitoring the MPD log while the database update is running to see if there are any errors or warnings, and to see each file thats being processed.

Code:
# Clear the MPD log
sudo truncate /var/log/mpd/log --size 0

# Begin monitoring the log
tail -f /var/log/mpd/log

# Menu > Configure > Library
REGENERATE Music database
Thanks for the answer,
Same as before as you mentioned only one network use,

The log not able to upload (not know how) but made a print screen

Please so kind and help whre can I download the older (moOde audio player 8.3.9) what was workinf fine for that same setup, after the 9.3.0 not able to use because of the Library issue, Thanks
Reply
#24
It is in the link you posted..
https://github.com/moode-player/moode/re...4-lite.zip
----------
bob
Reply
#25
The download is at the bottom of the page you are referring to (https://github.com/moode-player/moode/re...g/r839prod) under "Assets".
Reply
#26
(03-25-2025, 06:28 PM)Tim Curtis Wrote:
(03-25-2025, 04:06 PM)nosferatu_cat Wrote: I'm having the same difficulty.  I've tried repeatedly using the library update on a fresh installation. I'm going to try the database regen.   This is the sub-directory it has died in at least 4 times: 

Code:
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/13--Two & Three Part Inventions No. 6 in E major, BWV777.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/14--Two & Three Part Inventions No. 6 in E major, BWV792.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/15--Two & Three Part Inventions No. 7 in E minor, BWV778.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/16--Two & Three Part Inventions No. 7 in E minor, BWV793.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/17--Two & Three Part Inventions No. 8 in F major, BWV779.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/18--Two & Three Part Inventions No. 8 in F major, BWV794.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/19--Two & Three Part Inventions No. 9 in F minor, BWV780.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/20--Two & Three Part Inventions No. 9 in F minor, BWV795.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/21--Two & Three Part Inventions No. 10 in G major, BWV781.flac
Mar 25 09:01:25 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/22--Two & Three Part Inventions No. 10 in G major, BWV796.flac
Mar 25 09:01:25 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Mar 25 09:01:25 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Mar 25 09:01:25 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (?)

Looks like it added the file below.
Mar 25 09:01:25 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/22--Two & Three Part Inventions No. 10 in G major, BWV796.flac

But possibly the next file produced some errors.

Zip up that album and PM me a download like so I can see if I can reproduce the issue.

No issues on my end with the Glenn Gould album.

       

Code:
pi@moode9:~ $ cat /var/log/mpd/log | grep Glenn
Mar 26 06:17:35 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/06--Variation 5 a 1 ovvero 2 Clav..flac
Mar 26 06:17:35 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/17--Variation 16 a 1 Clav. Ouverture.flac
Mar 26 06:17:35 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/13--Variation 12 a 1 Clav. Canone alla Quarta.flac
Mar 26 06:17:35 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/19--Variation 18 a 1 Clav. Canone alla Sesta.flac
Mar 26 06:17:35 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/26--Variation 25 a 2 Clav..flac
Mar 26 06:17:35 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/18--Variation 17 a 2 Clav..flac
Mar 26 06:20:34 : player: played "USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/06--Variation 5 a 1 ovvero 2 Clav..flac"
pi@moode9:~ $

What's the next album that MPD was trying to process when the errors your reported occurred and updating apparently stopped?

Zip that one up and PM me a download link.

Also, try the following procedure and see if MPD crashed

Code:
# 1. Get MPD process id (PID)
pgrep mpd

# 2. Begin MPD database update
mpc update

# 3. Wait until database update apparently hangs

# 4. Check if MPD is still running
# - Should return same PID from step 1
# - A blank return means its crashed
# - A different PID means it crashed and was auto-restarted by watchdog
pgrep mpd
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#27
(03-26-2025, 05:35 AM)patrik96 Wrote:
(03-25-2025, 03:17 PM)patrik96 Wrote:
(03-25-2025, 09:44 AM)Tim Curtis Wrote: First, use only one active network interface either WiFi or Ethernet, not both.

Then to troubleshoot try monitoring the MPD log while the database update is running to see if there are any errors or warnings, and to see each file thats being processed.

Code:
# Clear the MPD log
sudo truncate /var/log/mpd/log --size 0

# Begin monitoring the log
tail -f /var/log/mpd/log

# Menu > Configure > Library
REGENERATE Music database
Thanks for the answer,
Same as before as you mentioned only one network use,

The log not able to upload (not know how) but made a print screen

Please so kind and help whre can I download the older (moOde audio player 8.3.9) what was workinf fine for that same setup, after the 9.3.0 not able to use because of the Library issue, Thanks

The release archive is at the link below
https://github.com/moode-player/moode/releases
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#28
(03-25-2025, 04:06 PM)nosferatu_cat Wrote: I'm having the same difficulty.  I've tried repeatedly using the library update on a fresh installation. I'm going to try the database regen.   This is the sub-directory it has died in at least 4 times: 

Code:
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/13--Two & Three Part Inventions No. 6 in E major, BWV777.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/14--Two & Three Part Inventions No. 6 in E major, BWV792.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/15--Two & Three Part Inventions No. 7 in E minor, BWV778.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/16--Two & Three Part Inventions No. 7 in E minor, BWV793.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/17--Two & Three Part Inventions No. 8 in F major, BWV779.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/18--Two & Three Part Inventions No. 8 in F major, BWV794.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/19--Two & Three Part Inventions No. 9 in F minor, BWV780.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/20--Two & Three Part Inventions No. 9 in F minor, BWV795.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/21--Two & Three Part Inventions No. 10 in G major, BWV781.flac
Mar 25 09:01:25 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/22--Two & Three Part Inventions No. 10 in G major, BWV796.flac
Mar 25 09:01:25 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Mar 25 09:01:25 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Mar 25 09:01:25 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (?)

Disregard my previous test results with the album you provided.

When testing this morning I was able to reproduce the "database update never finishes" issue.

In this particular case track 09 is a zero-byte file.
-rw-r--r-- 1 root root        0 Aug  4  2014 '09--Variation 8 a 2 Clav..flac'

If I remove that file and restart MPD, the database update completes successfully. I'll need to run the same test with prior version of MPD and the 0-byte file to see what happens.

I'll forward the download link to @TheOldPresbyope and @Nutul in case they want to try and repro.


Code:
#
# MPD LOG DURING DATABASE UPDATE
# IT ENDS WHILE PROCESSING THE NEXT FILE AFTER "18--Variation"
#

pi@moode9:~ $ tail -f /var/log/mpd/log
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/06--Variation 5 a 1 ovvero 2 Clav..flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/17--Variation 16 a 1 Clav. Ouverture.flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/13--Variation 12 a 1 Clav. Canone alla Quarta.flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/19--Variation 18 a 1 Clav. Canone alla Sesta.flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/26--Variation 25 a 2 Clav..flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/18--Variation 17 a 2 Clav..flac
Mar 26 07:48:29 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Mar 26 07:48:29 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Mar 26 07:48:29 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (?)
^C

#
[size=small][font=Monaco, Consolas, Courier, monospace]# MPD DATABASE UPDATE STILL RUNNING[/font][/size]
#

pi@moode9:~ $ mpc update
Updating DB (#1) ...
volume: 20%   repeat: off   random: off   single: off   consume: off
pi@moode9:~ $

#
# ALBUM DIR LISTING SHOWING 0-BYTE FILE
# -rw-r--r-- 1 root root        0 Aug  4  2014 '09--Variation 8 a 2 Clav..flac'
#

pi@moode9:~ $ ls -l /media/VFAT64/Test/nosferatu_cat/Glenn\ Gould\ -\ Bach\ -\ Goldberg\ Variations\ \(1981\)/
total 174336
-rw-r--r-- 1 root root  9077197 Aug  4  2014  01--Aria.flac
-rw-r--r-- 1 root root  4791487 Aug  4  2014 '02--Variation 1 a 1 Clav..flac'
-rw-r--r-- 1 root root  2936829 Aug  4  2014 '03--Variation 2 a 1 Clav..flac'
-rw-r--r-- 1 root root  5469987 Aug  4  2014 "04--Variation 3 a 1 Clav. Canone all'Unisono.flac"
-rw-r--r-- 1 root root  3577350 Aug  4  2014 '05--Variation 4 a 1 Clav..flac'
-rw-r--r-- 1 root root  2389620 Aug  4  2014 '06--Variation 5 a 1 ovvero 2 Clav..flac'
-rw-r--r-- 1 root root  2497101 Aug  4  2014 '07--Variation 6 a 1 Clav. Canone alla Seconda.flac'
-rw-r--r-- 1 root root  4244563 Aug  4  2014 '08--Variation 7 a 1 ovvero 2 Clav..flac'
-rw-r--r-- 1 root root        0 Aug  4  2014 '09--Variation 8 a 2 Clav..flac'
-rw-r--r-- 1 root root  3570390 Aug  4  2014 '10--Variation 9 a 1 Clav. Canone alla Terza.flac'
-rw-r--r-- 1 root root  4500537 Aug  4  2014 '11--Variation 10 a 1 Clav. Fughetta.flac'
-rw-r--r-- 1 root root  3426707 Aug  4  2014 '12--Variation 11 a 2 Clav..flac'
-rw-r--r-- 1 root root  6928268 Aug  4  2014 '13--Variation 12 a 1 Clav. Canone alla Quarta.flac'
-rw-r--r-- 1 root root  8674311 Aug  4  2014 '14--Variation 13 a 2 Clav..flac'
-rw-r--r-- 1 root root  4443087 Aug  4  2014 '15--Variation 14 a 2 Clav..flac'
-rw-r--r-- 1 root root 16100709 Aug  4  2014 '16--Variation 15 a 1 Clav. Canone alla Quinta.flac'
-rw-r--r-- 1 root root  7092665 Aug  4  2014 '17--Variation 16 a 1 Clav. Ouverture.flac'
-rw-r--r-- 1 root root  3296982 Aug  4  2014 '18--Variation 17 a 2 Clav..flac'
-rw-r--r-- 1 root root  3824575 Aug  4  2014 '19--Variation 18 a 1 Clav. Canone alla Sesta.flac'
-rw-r--r-- 1 root root  3322892 Aug  4  2014 '20--Variation 19 a 1 Clav..flac'
-rw-r--r-- 1 root root  3734560 Aug  4  2014 '21--Variation 20 a 2 Clav..flac'
-rw-r--r-- 1 root root  9098839 Aug  4  2014 '22--Variation 21 Canone alla Settima.flac'
-rw-r--r-- 1 root root  4410082 Aug  4  2014 '23--Variation 22 a 1 Clav. Alla breve.flac'
-rw-r--r-- 1 root root  3990467 Aug  4  2014 '24--Variation 23 a 2 Clav..flac'
-rw-r--r-- 1 root root  6005410 Aug  4  2014 "25--Variation 24 a 1 Clav. Canone all'Ottava.flac"
-rw-r--r-- 1 root root 16747785 Aug  4  2014 '26--Variation 25 a 2 Clav..flac'
-rw-r--r-- 1 root root  3775330 Aug  4  2014 '27--Variation 26 a 2 Clav..flac'
-rw-r--r-- 1 root root  5346269 Aug  4  2014 '28--Variation 27 a 2 Clav. Canone alla Nona.flac'
-rw-r--r-- 1 root root  3935363 Aug  4  2014 '29--Variation 28 a 2 Clav..flac'
-rw-r--r-- 1 root root  4579301 Aug  4  2014 '30--Variation 29 1 ovvero 2 Clav..flac'
-rw-r--r-- 1 root root  6083447 Aug  4  2014 '31--Variation 30 a 1 Clav. Quodlibet.flac'
-rw-r--r-- 1 root root  9914295 Aug  4  2014 '32--Aria da capo e fine.flac'
-rw-r--r-- 1 root root      157 Dec 16  2021  album.json
-rw-r--r-- 1 root root   113500 Dec 16  2021  cover.jpg
-rw-r--r-- 1 root root    22391 Dec 16  2021  cover-thumb.jpg
drwxr-xr-x 2 root root    32768 Mar 26 06:16  scans
pi@moode9:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: