Collection does not update on start-up Lubuntu 20.04.1


  • Version 0.8.4 in Lubuntu 20.04.01 collection doesn't update on start up even though option is chosen. It will update accurately when removing entire collection (approx. 43,000 tracks) and re-scanning collection (a long process, which is fine if it updates as I add to the collection) folder in it's entirety.


  • Start strawberry from command line and see if there are any errors printed.


  • I started the player from the terminal and this is the output:

    ~$ strawberry
    08:49:38.209 INFO main:167 Strawberry 0.8.4
    08:49:38.229 INFO main:168 "Ubuntu 20.04.1 LTS 20.04 - (linux 5.4.0-54-generic) [x86_64]"
    08:49:38.348 DEBUG main:209 Style: "breeze"
    08:49:38.426 DEBUG Application:254 Database(0x55bdd35a6ab0) moved to thread QThread(0x55bdd351b170)
    08:49:38.427 DEBUG SCollection:63 CollectionBackend(0x55bdd35a57b0) moved to thread QThread(0x55bdd351b170)
    08:49:38.838 DEBUG Application:254 AlbumCoverLoader(0x55bdd3640b10) moved to thread QThread(0x55bdd3636ae0)
    08:49:38.849 DEBUG SCollection:95 CollectionWatcher(0x55bdd362d510) moved to thread QThread(0x55bdd36517c0)
    08:49:38.955 DEBUG Application:254 TagReaderClient(0x55bdd3621050) moved to thread QThread(0x55bdd36344d0)
    08:49:38.955 DEBUG NetworkProxyFactory:55 Detected system proxy URLs: ("", "", "", "")
    08:49:38.955 DEBUG WorkerPool<HandlerType>:282 Starting worker 0x7fc7b3ffdf10 "/usr/bin/strawberry-tagreader" "/tmp/strawberry_-1158445428"
    08:49:39.369 INFO main:56 TagReader worker connecting to "/tmp/strawberry_-1158445428"
    08:49:39.370 DEBUG WorkerPool<HandlerType>:300 Worker 0x7fc7a8004ff0 connected to "/tmp/strawberry_-1158445428"
    08:49:39.555 WARN unknown Icon theme "elementary" not found.
    08:49:40.442 INFO Player:799 Registered URL handler for "subsonic"
    08:49:40.449 DEBUG InternetServices:49 Added internet service "Subsonic"
    08:49:40.464 INFO Player:799 Registered URL handler for "tidal"
    08:49:40.487 DEBUG InternetServices:49 Added internet service "Tidal"
    08:49:40.509 INFO Player:799 Registered URL handler for "qobuz"
    08:49:40.531 DEBUG InternetServices:49 Added internet service "Qobuz"
    08:49:42.053 DEBUG MainWindow:319 Starting
    08:49:42.351 DEBUG CoverProviders:105 Registered cover provider "Last.fm"
    08:49:42.351 DEBUG CoverProviders:105 Registered cover provider "MusicBrainz"
    08:49:42.351 DEBUG CoverProviders:105 Registered cover provider "Discogs"
    08:49:42.364 DEBUG CoverProviders:105 Registered cover provider "Deezer"
    08:49:42.365 DEBUG CoverProviders:105 Registered cover provider "Musixmatch"
    08:49:42.384 DEBUG CoverProviders:105 Registered cover provider "Spotify"
    08:49:42.385 DEBUG CoverProviders:105 Registered cover provider "Tidal"
    08:49:42.385 DEBUG CoverProviders:105 Registered cover provider "Qobuz"
    08:49:42.427 DEBUG LyricsProviders:103 Registered lyrics provider "AudD"
    08:49:42.428 DEBUG LyricsProviders:103 Registered lyrics provider "Genius"
    08:49:42.428 DEBUG LyricsProviders:103 Registered lyrics provider "Lyrics.ovh"
    08:49:42.428 DEBUG LyricsProviders:103 Registered lyrics provider "LoloLyrics"
    08:49:42.428 DEBUG LyricsProviders:103 Registered lyrics provider "Musixmatch"
    08:49:42.428 DEBUG LyricsProviders:103 Registered lyrics provider "ChartLyrics"
    08:49:42.475 DEBUG MainWindow:367 Initializing player
    08:49:42.598 DEBUG MainWindow:377 Creating models
    08:49:42.598 DEBUG MainWindow:384 Creating models finished
    08:49:42.617 DEBUG DeviceLister:66 CddaLister(0x55bdd408e860) moved to thread QThread(0x55bdd40ebd40)
    08:49:42.617 DEBUG DeviceLister:66 Udisks2Lister(0x55bdd4120d20) moved to thread QThread(0x55bdd4119010)
    08:49:42.617 DEBUG DeviceLister:66 GioLister(0x55bdd41189c0) moved to thread QThread(0x55bdd3fefa70)
    08:49:42.635 DEBUG Application:254 PlaylistBackend(0x55bdd44f8580) moved to thread QThread(0x55bdd351b170)
    08:49:42.656 DEBUG logging:83(GLib-GIO) _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
    08:49:48.946 DEBUG MainWindow:402 Creating UI
    08:49:49.005 DEBUG ScrobblerServices:49 Registered scrobbler service "Last.fm"
    08:49:49.006 DEBUG ScrobblerServices:49 Registered scrobbler service "Libre.fm"
    08:49:49.006 DEBUG ScrobblerServices:49 Registered scrobbler service "ListenBrainz"
    08:49:49.007 DEBUG ScrobblerServices:49 Registered scrobbler service "Subsonic"
    08:49:49.149 DEBUG MainWindow:820 Creating playing widget
    08:49:49.281 DEBUG MainWindow:872 Loading settings
    08:49:49.874 DEBUG MainWindow:1002 Started QThread(0x55bdd348e300)
    08:49:49.890 INFO DeviceManager:446 Device added: "/dev/sr0" ("/dev/sr0")

    I'm not sure what I should be looking for as I've relied upon the application menu and GUI's all my Open Source experience. The Collection did not update when using the terminal or application menu.

    Funny thing is this is on an old HP Compaq and the other machine is the same and Strawberry updates just fine on it.

    Thank you in advance for any help!

    Ed


  • What filesystem do you use for the disk where the music directories are?
    Try to use the touch command on a music folder or a audio file and see if it anything outputs on the strawberry terminal output.


  • 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!