Strawberry Music Player crashes when playing music on external HDD mounted to ~/Music

Hi folks

Speeding along getting this new EndeavourOS installed and configured, and still want to reply to some previous threads I’ve started, but in the interim, here’s anew one.

I have mounted an external HDD to ~/Music (I believe this is the approach @thefrog adopts and it makes good sense) and Strawberry is playing music from that mounted HDD. The mounting has been committed to /etc/fstab (see below).

After about four minutes or so, Strawberry just crashes without any notice. This doesn’t appear to happen (at least, not during testing) when launched from a terminal.

Here’s the /etc/fstab:

UUID=2f7ba8bb-2324-4f5f-a115-834d68587169 / ext4 noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
/dev/sda1 /home ext4 defaults 0 0
/dev/sdb1 /home/andy/Music ntfs defaults 0 0

Is this a time issue on the mount or is Strawberry buggy? Insights welcomed.

Many thanks.

ok instead of using the device path use the UUID instead you can find this by
lsblk -f

so fstab will look something like
UUID=123456789-0987-543-4321 /home/andy/Music …

Thanks thefrog

I’ll try that next because I realised after I posted that I hadn’t changed the chmod and chown permissions after having it mounted as sudo.

If this doesn’t work, then I’ll amend the fstab with the UUID as you’ve suggested and will post back.

Cheers

the drive is mounted here as NTFS so those commands wont work since NTFS does not support UNIX Permissions. You would need to change the Filesystem to a Native Linux one. You shouldn’t need the permissions for just music files.

I don’t use NTFS and I think you need other permissions for that in your fstab. Hopefully someone that does can chime in on what you probably need to add to your fstab opitions.

You might start a terminal and type:

journalctl -f

That will show the log output in real time.

Then start strawberry.

In terminal your may then see any relevant log entries.

Thanks SemLraug for your suggestion.

@thefrog was quite correct - the drive wasn’t correctly mounted following a reboot, so I am now setting this up properly using the /etc/fstab and UUIDs.

Unfortunately, this has required that the drive with all of the music be formatted, so the directories are in the process of being copied over. I should be able to retest in a few days and then will update here.

Cheers

1 Like

Hi

Thanks for the support, guys. It appears that I have fixed this and although I started off down several wrong paths, this now appears to be resolved.

The solution for those who may want to know later is:
(1) Create a sub-directory in /home e.g., mkdir /home/user/sub-dir
(2) Find the UUID of the external drive, e.g. udo blkid /dev/sdb1
(3) Edit /etc/fstab

UUID=5D375FD264FC6A28 /home/user/Drive_Name ntfs defaults,noatime,nofail 0 2

(4) Chown sudo chmod -R 755 ~/sub-dir/* and chmod sudo chmod -R 755 ~/sub-dir/* the local directory (not the drive)
(5) Reboot
Voila!

Thanks again.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.