Please post your feedback, comments, bug reports for our HiFiBerry OS here.
Please post your feedback, comments, bug reports for our HiFiBerry OS here.
I see a problem here. It looks like your /data partition is corrupted as it shows an incorrect file system type. This explains the behavior. I recommend a fresh installation (just use the latest version from the HiFiBerryOS web site)
report problem with search on music:
results are displayed multiples times for albums;
Is this displayed multiple time only in search or also in the album list?
only in search
Probably has to do with the fact that multiple songs match. Let's see that we can fix this.
i find where is the problem.
my files are tagged with "artist" as this is the standard tagging ( for exemple when apply tag from internet database)
if i add "album artist" ( with the name of artist) , no more multiples item.
But normally "album artist" is used only when multiples artist are listed in the album.
my files working fine with all player i have used
I still have a problem with local usb music.
I did a clean installation but nothing changed, i tried to change usb stick but nothing changed.
what else can i do?
It will definitely help if you tell us what specific problem you have.
HifiBerry OS detect my usb stick but can't find my music on it
1. What version are you using?
2. What's the output of the command
mount
I'm using the latest version: 20200908
/dev/mmcblk0p2 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=330128k,nr_inodes=82532,mode=755)
sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,quiet,errors=remount-ro)
/dev/mmcblk0p4 on /data type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda1 on /mnt/90e02c90-01 type vfat (rw,nosuid,nodev,noexec,relatime,gid=100,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,flush,errors=remount-ro)
#
Ok, this looks fine. What's the output of
ls -l /data/music/90e02c90-01
My guess is that it won't show anything. In this case try
ls -l /data
ls -l /data/music
ls -l /data/music/90e02c90-01 -----> no such file or directory;
# ls -l /data
total 32
drwxr-xr-x 2 root root 8192 Sep 5 18:51 69cd18d7-01.bak
-rwxr-xr-x 1 root root 8192 Jan 1 1980 FSCK0000.REC
drwxr-xr-x 2 root root 8192 Jul 3 14:40 'System Volume Information'
drwxr-xr-x 7 root root 8192 Apr 17 14:37 library
# ls -l /data/music
ls: cannot access '/data/music': No such file or directory
Yes, I see the problem.
/data is created incorrectly or corrupted. What type of SD card are you using?
Do you mean the sd card for the OS?
Yes
A Kingston 16GB
Ok, this should work fine, but for some reason, the system didn't correctly create the file system. Did you format and/or partition this with your PC?
I just noticed, I made a mistake here.
Please check
ls -l /data/library
ls -l /data/library/music
ls -l /data/library/music/90e02c90-01
I just flashed the os on the sd with Etcher.
# ls -l /data/library
total 48
drwxr-xr-x 2 root root 8192 Jul 3 17:05 artists
-rwxr-xr-x 1 root root 224 Sep 5 19:11 mpd
drwxr-xr-x 5 root root 8192 Sep 5 19:11 music
drwxr-xr-x 2 root root 8192 Apr 17 14:37 overlaydir
drwxr-xr-x 2 root root 8192 Jul 1 11:34 playlists
drwxr-xr-x 2 root root 8192 Apr 17 14:37 workdir
# ls -l /data/library/music
total 40
drwxr-xr-x 2 root root 8192 Jul 3 13:14 46e54d73-3d63-4e0d-960f-eff99ba86640.bak
drwxr-xr-x 2 root root 8192 Jul 3 13:14 5566af6d-dedf-42a7-8530-97d0c39f01ba.bak
-rwxr-xr-x 1 root root 35 Sep 25 18:12 beo-cache.json
-rwxr-xr-x 1 root root 2 Sep 25 19:31 getcovers.log
drwxr-xr-x 2 root root 8192 Apr 17 14:37 local
# ls -l /data/library/music/90e02c90-01
ls: cannot access '/data/library/music/90e02c90-01': No such file or directory
#
Interesting. For some reason, the USB mounter didn't do the jobs correctly.
Try this by hand to see if it give an error:
/opt/hifiberry/bin/mount-usb add sda1
# /opt/hifiberry/bin/mount-usb add sda1
-bash: /opt/hifiberry/bin/mount-usb: No such file or directory
/opt/hifiberry/bin/mount-usb.sh add sda1
# /opt/hifiberry/bin/mount-usb.sh add sda1
mount: /mnt/sda1: special device /dev/sda1 does not exist.
Hmm, pretty sure it exists as it's mounted ;-)
umount -f /dev/sda1
/opt/hifiberry/bin/mount-usb.sh add sda1
If this still give an error, unplug the stick and re-plug it again
# umount -f /dev/sda1
umount: /dev/sda1: no mount point specified.
# /opt/hifiberry/bin/mount-usb.sh add sda1
mount: /mnt/sda1: special device /dev/sda1 does not exist.
If unplugging/re-plugging also doesn't work, we have to first add some more debugging tools to the next release...
unplugged and re-plugged:
# umount -f /dev/sda1
# /opt/hifiberry/bin/mount-usb.sh add sda1
Creating symlink as vfat does not support overlays
ln: failed to create symbolic link '/data/library/music/90e02c90-01': Operation not permitted
mounted 90e02c90-01
# Updating DB (#4) ...
volume:100% repeat: off random: off single: off consume: off
INFO: root - return code 0 only if new covers were found
INFO: root - loaded processed files from /data/library/music/getcovers.log
INFO: root - Extracting covers from /data/library/music
INFO: root - saved processed files to /data/library/music/getcovers.log
INFO: root - Stats: {}
Looking up images ...
INFO: root - retrieving covers from web services
INFO: root - retrieving artist pictures from web services
INFO: root - return code 0 only if new covers were found
INFO: root - Extracting album information from /data/library/music
INFO: root - processing /data/library/music/local
INFO: root - processing /data/library/music/46e54d73-3d63-4e0d-960f-eff99ba86640.bak
INFO: root - processing /data/library/music/5566af6d-dedf-42a7-8530-97d0c39f01ba.bak
Ok, for some reason the /data partition was formatted incorrectly and therefore this doesn't work. Unfortunately I don't know why this happened and how to fix it on a running installation. You might try to do a fresh installation. However, it seems you did this before already. Therefore, there's a good chance that the same problem will happen again.
We can try to add a fix in the next release, but right now I don't think I can do anything anymore.
Ok, I'll try to do another fresh installation.
Thanks for your help