title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Raspberry Asset 6.3 Scan all

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RaspberryAsset

    • Feb 2018
    • 41

    Raspberry Asset 6.3 Scan all

    Hi

    I have upgraded to Asset 6.3 on a clean install and if I do reboot, I have to run "rescan folders detecting changes" as "rescan all" does not detect any media.

    I do not "think" I have an install issue but am not sure if this could be a bug.

    Thanks
  • PeterP
    Super Moderator
    • Jul 2011
    • 1471

    #2
    Re: Raspberry Asset 6.3 Scan all

    Thanks for your feedback.
    Why do you need to manually rescan the in first place? Is your library empty after each reboot?


    In order to extract diagnostic info, please enable debug logging in settings, perform the problematic actions ('rescan all' which finds nothing), then email the media library log file to peter@dbpoweramp.com for analysis.
    Last edited by PeterP; October 26, 2019, 12:30 PM. Reason: Added info about logs

    Comment

    • RaspberryAsset

      • Feb 2018
      • 41

      #3
      Re: Raspberry Asset 6.3 Scan all

      Hi Spoon

      I have Asset installed in this directory:

      /home/pi/Asset-R6.6-Linux-ARM32-registered/bin

      I have it pointing to this that points to my external library

      /home/pi/DLNA

      Where is the database stored of the music for Asset?

      Thanks

      Comment

      • PeterP
        Super Moderator
        • Jul 2011
        • 1471

        #4
        Re: Raspberry Asset 6.3 Scan all

        Asset's database information is stored under ~/.dBpoweramp, which in your case evaluates to /home/pi/.dBpoweramp

        Do you still need to hit rescan commands on startup? I have not received a debug log (library log, not UPnP log) of unsuccessful rescan run from you.

        Also, "rescan all" is more thorough, basically recreates the database from scratch - it would be more likely that "rescan folders detecting changes" misses something.

        Comment

        • RaspberryAsset

          • Feb 2018
          • 41

          #5
          Re: Raspberry Asset 6.3 Scan all

          Hi Peter

          I noticed when I looked for a solution for this issue, that I had already inquired about this and did not send the debug log.
          I will reboot it and get you the log.

          What is the name of the database file This is all that is in the directory you indicated. What permissions should this directory have?
          Yes I have to rescan after startup.

          Click image for larger version

Name:	CaptureAsset3-18-2020.JPG
Views:	1
Size:	14.5 KB
ID:	294224

          Comment

          • RaspberryAsset

            • Feb 2018
            • 41

            #6
            Re: Raspberry Asset 6.3 Scan all

            Hello again

            I started changing a few things and somehow I lost the ability to find my library.

            My Fstab is this:
            proc /proc proc defaults 0 0
            PARTUUID=8c1d116c-01 /boot vfat defaults 0 2
            PARTUUID=8c1d116c-02 / ext4 defaults,noatime 0 1
            //192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs guest, 0 0, vers=3.0


            If I run sudo mount -a
            I get a parse error in line 5

            Help please.

            Comment

            • PeterP
              Super Moderator
              • Jul 2011
              • 1471

              #7
              Re: Raspberry Asset 6.3 Scan all

              Thanks for the new info.

              First, there's no problem with access to Asset's configuration folder - or else all settings would be getting lost, which they are not.

              It seems that the network share is randomly inaccessible on startup - presented to Asset as an empty folder, hence disappearing library.

              Please follow forum instructions for mounting network shares in Linux. Specifically, make sure that your fstab line is correctly formatted.
              Try this exactly line:
              //192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs username=guest,x-systemd.automount 0 0

              x-systemd.automount should get the share auto mounted when Asset tries to index it, without letting Asset see blank folders. If that doesn't work, try without x-systemd.automount:
              //192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs username=guest 0 0
              Last edited by PeterP; March 19, 2020, 02:14 PM.

              Comment

              • RaspberryAsset

                • Feb 2018
                • 41

                #8
                Re: Raspberry Asset 6.3 Scan all

                Hi Peter

                You Rock!

                Almost there. It is asking for a password

                Password for guest@//192.168.2.210/Media/MEDIA/Music:

                Thanks

                Comment

                • Spoon
                  Administrator
                  • Apr 2002
                  • 44582

                  #9
                  Re: Raspberry Asset 6.3 Scan all

                  Enable guest read access to the music files, then a password is not needed.
                  Spoon
                  www.dbpoweramp.com

                  Comment

                  • PeterP
                    Super Moderator
                    • Jul 2011
                    • 1471

                    #10
                    Re: Raspberry Asset 6.3 Scan all

                    Slight change-
                    //192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs guest,x-systemd.automount 0 0

                    Apparently for guest user there's no need for the username=. Forum guide has just been updated with this.
                    Alternatively, if your network share needs user & password, specify them in fstab line:
                    //192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs username=myname,password=mypassword,x-systemd.automount 0 0
                    Replace myname and mypassword with your user name and password in the line above.
                    Last edited by PeterP; March 20, 2020, 01:06 PM.

                    Comment

                    • RaspberryAsset

                      • Feb 2018
                      • 41

                      #11
                      Re: Raspberry Asset 6.3 Scan all

                      Hi Peter

                      Thank you for this.
                      I will try this once I get home.

                      I did check the Forum Guide and played around with the line you gave me earlier.
                      The network I am connecting to is a Linux Nas box

                      Thanks again

                      Comment

                      • RaspberryAsset

                        • Feb 2018
                        • 41

                        #12
                        Re: Raspberry Asset 6.3 Scan all

                        Hi Peter

                        No luck.. but I am wondering if the issue is on my NAS.

                        Broadcast message from root@raspberrypi (Fri 2020-03-20 21:03:50 EDT):
                        Password entry required for 'Password for guest@//192.168.2.210:' (PID 2529).
                        Please enter password with the systemd-tty-ask-password-agent tool!

                        Could this still be coming from Asset?

                        Thanks again for you all your help.

                        Comment

                        • RaspberryAsset

                          • Feb 2018
                          • 41

                          #13
                          Re: Raspberry Asset 6.3 Scan all

                          Hi Peter

                          As mentioned I forgot to include the top directory in my case that was called Xigmanas.

                          This is what worked

                          //192.168.2.210/Xigmanas/Media/MEDIA/Music /home/pi/DLNA cifs guest,x-systemd.automount 0 0

                          After I reboot my Raspberry autostarts and has my library still active!

                          Thanks for your support.
                          Last edited by RaspberryAsset; March 22, 2020, 09:11 PM.

                          Comment

                          Working...

                          ]]>