Collection does not update on start-up Lubuntu 20.04.1
-
I believe Focal Fossa (the Lubuntu distro I installed) uses initramfs and I have no idea how to how to use a "touch command", I apologize as I am an extreme novice "working under the hood" as it were.
Thank you for trying to help me sort this out.
-
To see what filesystem is in use:
mount | column -t
Just type touch filename, example:
touch ~/Music/song.flac
It won't modify the file, but only change the modification date, see if that triggers a collection update, watch the terminal output of strawberry afterwards.
-
This is the file system output:
~$ mount | column -t
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=1482032k,nr_inodes=370508,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=305600k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
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)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none 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/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15908)
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)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=305596k,mode=700,uid=1000,gid=1001)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1001)
/dev/sdb1 on /media/e/2DC2-B347 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1001,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1001)I keep my music on an external hard drive. It is 2DC2-B347 and if I am reading this correctly it's "vfat". Am I correct?
Again, thank you. I really appreciate your time and knowledge.
-
I couldn't get the "touch" command to see the external hard drive. The response was "no such file or directory exists" or some such.
-
@Ed did you type something like
touch /media/e/2DC2-B347/<path to your music directory>/<any music file name>
?
-
No but I see where I went wrong. I'm editing files currently but will give it another go later and let you know. I can't thank you enough. I really like the player and it works well on all my other machines.
-
This is the command I used:
touch /media/e/2DC2-B347/Altan/Another Sky/04 - Island Girl.ogg
and this is the response:
e@dshp:~$ touch /media/e/2DC2-B347/Altan/Another Sky/04 - Island Girl.ogg
touch: cannot touch 'Sky/04': No such file or directory
e@dshp:~$I think it best, as this machine is not used much for playing music, to leave this be and be happy to use Strawberry on the other three machines that I do use to play music routinely. Thank you both for all your help and time.
-
You need to escape all spaces with a backslash when you type a filename on the command line.: like.: before\ after\ space
-
@Ed try typing this:
touch "/media/e/2DC2-B347/Altan/Another Sky/04 - Island Girl.ogg"
If there are spaces in your path, you need to use quotes on either end of your path. Or as Jonas said in the above post, a backslash works too, but it will have to precede every space in your path, so the easy way is to go with quotes
touch /media/e/2DC2-B347/Altan/Another\ Sky/04\ -\ Island\ Girl.ogg"
-
Again, thank you. I've changed my studio around a bit and basically taken this machine off line. I did learn somethings about using the command line and for that I am very appreciative. Don't worry, as the novice I am I'm sure I'll be back at some point.
Keep well and all the best!