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
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 [email]peter@dbpoweramp.com[/email] for analysis.
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
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.
1 Attachment(s)
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.
[ATTACH=CONFIG]2662[/ATTACH]
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.
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 [url="https://forum.dbpoweramp.com/showthread.php?44335-Indexing-network-shares-with-Linux-Asset"]forum instructions for mounting network shares in Linux[/url]. Specifically, make sure that your fstab line is correctly formatted.
Try this exactly line:
[font=Courier]//192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs username=guest,x-systemd.automount 0 0[/font]
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:
[font=Courier]//192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs username=guest 0 0[/font]
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
Re: Raspberry Asset 6.3 Scan all
Enable guest read access to the music files, then a password is not needed.
Re: Raspberry Asset 6.3 Scan all
Slight change-
[font=Courier]//192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs guest,x-systemd.automount 0 0[/font]
Apparently for guest user there's no need for the [font=Coutier]username=[/font]. Forum guide has just been updated with this.
Alternatively, if your network share needs user & password, specify them in fstab line:
[font=Courier]//192.168.2.210/Media/MEDIA/Music /home/pi/DLNA cifs username=[i]myname[/i],password=[i]mypassword[/i],x-systemd.automount 0 0[/font]
Replace [i]myname[/i] and [i]mypassword[/i] with your user name and password in the line above.
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
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.
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.