|
Audio Asylum Thread Printer Get a view of an entire thread on one page |
For Sale Ads |
99.242.131.84
The issue is that I want to read my shared Music folder on my Synology NAS; both media servers are apparently able to find and "mount" the NAS share but both refuse to scan the contents.
Cut-Throat has provided me with a great deal thoughtful and helpful advice but our joint efforts have been to no avail beyond getting my Music share mounted using the NFS method.
I'm hoping for suggestions. Unless I can find a solution to the no-scan issue, I will abandon the Raspberry Pi as without the NAS access it isn't useful to me.
Dmitri Shostakovich
Follow Ups:
Seems to be working fine. My library of > 21,000 files is fully scanned and index according to LMS and from what I can see.I have some more testing and tweaking to the interface but it looks like all my numerous genres and correctly identified, also Composers seem correctly identified, (which is important for us Classical listeners). The indexing seems to work fine off metadata tags and doesn't rely on directory structure.
Note that at the very bottom of the 'LMS' page I am using 'Player/Server' tab, not the 'Beta' tab.
Below is a pic of my 'Setup Network Disk Mount' box. I'm using CIFS, not NSF. N.B. the 'Options' box, it is important to add the 'vers=2.0' parameter which is not added by default. Full Options parameters should look like "vers=2.0,uid=1001,gid=50", (or at least that's what works for me).
Dmitri Shostakovich
Edits: 04/21/21
Good to see you are up and running.
The link below gives an outline of what CIFS is and how it fits alongside Samba and NFS
Also interesting that CIFS is considered least secure while SMB is the most secure.
I use CIFS behind a firewall so I'm not concerned about it so far as I can see.
Dmitri Shostakovich
What made you add the vers=2.0 instead of the 1.0, which had worked for you before?
This is shown under "more" in the Setup Network Disk Mount box -- not clear why it isn't the default under Options for CIFS.
Dmitri Shostakovich
Edits: 04/21/21
Sure, but you had it working at 1.0 - Have you had your RPi 'Hang up' anymore? -- I have never experienced that one!
nt
Dmitri Shostakovich
This apparently happened while trying to use Orange Squeeze on my Android tablet.
Dmitri Shostakovich
Did it actually freeze the Rpi itself or did Orange Squeeze Freeze?
If the Rpi itself froze, I would install 6.1.0 the 32 bit version as I told you. There is nothing in the 7.0 version and 64 Bit that you would use anyway. These are 'Leading Edge' software updates for mostly 'Power Users'.
Both were running so it might have be some sort of interference.
Orange Squeeze has since worked fine, though I've used it only for a short time.
Dmitri Shostakovich
Have you applied any Patches to the the new version you have loaded? -- The later the version, the more patches there are.
nt
Dmitri Shostakovich
To be applied. Everything you download a new version.
Basic problems Cut-Throat and I determined seem to have been:
- Correct specification of the NAS drive including 'Options", and
- The some bug apparently in the 64 bit versions was preventing updating of config files for changes.
Looks like the 64 bit version is best avoided for now.
Dmitri Shostakovich
We don't know for sure whether it was the 64 Bit version or not...... The problem could have been solved by the Download of a 'Fresh' PcP version. Whether 32 bit or 64 Bit.
Also, the bug was produced by entering many incorrect parameters for the NAS Mount at the onset. Which may never be encountered by another user.
I suspected it was NAS protocol and permissions related.
What did the NAS mount syntax look like in pcp?
What NAS protocol did you use and how were permissions set?
In my case, I'm using SMB. NFS is disabled.
It was nothing to do with Permissions. The main problem was that he needed a "vers=1.0" added to the options field. Probably to do with the version of Synology NAS he is using. His looks very similar to mine with the exception of the above noted difference. Here is what mine looks like, along with the descriptions of what these parameters are.
Edits: 04/20/21 04/20/21
Ah, so it looks like you're not using NFS at all as I was originally led to believe from earlier posts. Looks like CIFS/SMB which is totally incompatible with NFS.
Permissions may not have been an issue in this case but it is always worth checking if there's a problem.
In any case, glad you got it working for him! pcp seems rather "fiddly" to me.
"pcp seems rather "fiddly" to me."
It certainly is. - That's because it supports the most devices, custom software, and most features of any streaming software.
I guess if you're experienced with pcp as you are, you know where to look to get it up and running. I thought it was confusing as heck! ;-)
Yes, it certainly can be 'confusing as heck', especially to a New Comer. That is why I offer help. And I still run into issues when connecting to different hardware.. Dacs, NAS etc.
Before the PiCorePlayer 'Wrapper', and the first iteration of squeezelite on an RPi, it was even worse. You needed a Monitor, Keyboard just to get it installed. I viewed this as a project, rather than something I wanted to get running on my audio system. I think, it took me about a week to get it to play music out of the analog port.... No Hats back then.
The first iteration also had some noise issues and was not as good sonically as my SB Touch. This was with the first generation 2012 RPi Model B (Which I still have and now it works perfectly with the latest PcP software.) Has half a gig of memory... Much slower than the new ones of course.
We also worked mostly with the 'Beta' version which might make a difference.
Presently I am having a problem with the player apparently crashing if left idle for a time or if I shift to a different genre and/or a different album. The file will not player or there will be no sound -- LMS reports "No player found".
Dmitri Shostakovich
There is really no advantage in the 64 bit version, as LMS does not 'strain' the capabilities of the OS in the least. And this is according to the developers.
If you are going for rock solid performance, I would download the 32 bit version of 6.1.0 (Which I ran all last year). 7.0 is also very new as of a few months ago. And the problem that you are currently describing I have not heard of ever. BTW - Do you have a case for your RPi?
It is a plastic case but tidy. It won't accommodate a HAT.
Dmitri Shostakovich
Synology's Media Server add-on is a DLNA server. Both Volumio and piCorePlayer support DLNA.
There's no need to use a general purpose file sharing protocol like SMB/CIFS or NFS for media sharing when DLNA is very widely supported and designed just for this purpose.
But if you have LMS as well as file sharing you have easy access to multiple Radio stations, Pod Casts, Multiple streaming sources and Bandcamp.
So it's worth the extra effort. (Very little if you use Samba rather than older mostly obsolete protocols)
I have all that too.
I don't use LMS, but LMS seems like a fine solution for audio only. Still, if you're using LMS, what do you need SMB or NFS for? LMS runs on the NAS, so it has local access to the files.
Hi.If LMS fails scanning a data directory, you've probably got one of these
issues ( assuming your system has all NFS and or Samba/Cifs related software and drivers up'n running and your NAS/file server can export the data ).1. There is no data ;)
2. There is no share mounted, thus no data
3. There's a timing issue
4. You mounted the share with wrong permissionsSo now. I'd assume 4. is the most probable cause.
1. On LMS based systems I'd suggest to disable the automatic rescan plugin as a first measure. That plugin might wipe your database at odd data-folder circumstances (e.g. if a net-mount fails once in while) .
2. If either NFS or Samba/Cifs shares are mounted, you need to make sure you have got the proper permissions applied on the mounts!!!
Otherwise LMS can not access them!
You'd preferably look for rwxrwxrwx (777) permissions on folders and rw-rw-rw (666) on files. And you need to have the correct lms user-id applied to the directories and files.You basically need to tell NFS/Samba what permissions to apply while mounting the share!
And you do that by adding related NFS/Samba mount-options to the "options" field.
I hope I point you into the right direction with this.Good luck.
****************************************************
blog latest: *** The Audio Streaming Series - tuning kit pCP ***
Edits: 04/17/21 04/17/21
Permissions look OK, but ...
Dmitri Shostakovich
This thread has some useful pointers to possible problems.
Specify file locations by the machines IP address not its name
Beware of Linux file securities suggested codes that work and that don't
It confirms my view that file locations have to be Samba shares ie Windows style shares even if running on a Linux box
I haven't had any issues in Roon getting to my music and database residing on my Synology NAS but I use SMB protocol. NFS was a PITA trying to setup. SMB has worked flawlessly for me for the past few years now.The OP might also want to check his volume and SMB read/write permissions on his NAS.
Edits: 04/15/21 04/15/21
nt
Dmitri Shostakovich
... are one of the most consistent challenges for that system. I've been using Linux for 20 years and still bump into issues from time to time.
These are the settings I have on both of my Pis... works fine...
I do recall have some issues when setting mine up and the "\/" part of the string really confused me...
Anyway, it's been working well since I figured that outBTW, all of the DLNA and UPNP options on the settings page are turned off.
Cheers
Welly
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
- Douglas Adams
Edits: 04/14/21
NFS at least gets my NAS share "mounted". I believe I need to enter "vers-3" under 'Options'
Dmitri Shostakovich
Here are the rest of my settings.
Haven't done it yet but I will. But I suspect they are already like yours.
Dmitri Shostakovich
Typically the Linux shares are using Samba, not NFS. The Linux box needs to have Samba installed and in some cases, you must create a Samba user on the Linux box.BTW: If you click more on the Mount Remote Network Share, I found this in their help:
[Server Share] for NFS is the complete volume i.e. /volume1/Media (DO not use :).
It's been a while, but you should only need to enter the IP address of the NAS and the share name on it, e.g. Music. You should see it as \\192.168.1.55\Music in a Windows Explorer.
If you can see it from the Windows Explorer or on your Mac finder, you should be able to just enter your same username/password as you would to access the NAS.
Here's another link on that topic:
-Rod
Edits: 04/14/21
Rod is spot on here. Plus make sure the drives are not NFS on the NAS but Samba (Samba are windows style file shares) as that is what LMS expects to see.There is a problem with the latest release of Windows 10 in that it turns off DNLA type 1 by default as it considers it less secure. You will need to manually turn this on in Windows 10. This will account for your Volumio not working.
This is a pretty good visual guide to enabling DNLA
Edits: 04/14/21
I'm not sure what's involved in making my Samba on the NAS but I can look into that further. LMS can install Samba on its end but I haven't done that at this point.
I will follow up your DNLA suggestion.
Dmitri Shostakovich
nt
Although I'm willing try anything a this point.
Dmitri Shostakovich
It certainly has access to its own files. So what if the latest version of Perl doesn't support LMS? It's not used by any other application I use.
A user named "Pinkdot" has installations for most every Synology model. Click here for files.
Since Synology no longer officially supports LMS, I first try to get LMS working on the Raspberry Pi.
Dmitri Shostakovich
Logitech stopped supporting LMS about a decade ago! Mine works peachy keen on the 718+ with both music and video.
I do enjoy using an RPi as player in the garage.
But LMS is superbly supported by the open source movement. Now up to release 8.2 and supports all the streaming and Internet radio well.
Doesn't matter if the *big* companies support it or not.
Nor do I have any reason to upgrade to Perl 5.28.
You are probably running an LMS Version supported by PinkDot (Martin)... He is no longer providing LMS Releases for Synology NAS systems since this past December. Your current LMS release will also stop working when you update to DSM 7.0 (Synology). I spoke to him last week on this.So, as long as you never upgrade your NAS or LMS, you can continue to run LMS. Although any new features in either you will not get.
There is a Solution for you however, if you want to continue to run LMS on your Synology NAS. The current way to do this is install the Software Package called 'Docker' on your NAS and run the Container lmscommunity/logitechmediaserver - Your NAS has 'Docker'. This is what all of Squeezelite Forum NAS people are doing now as they are running into problems with the old pinkdot stuff.
I installed this yesterday and it is actually better than the PinkDot Versions, as it is easier to update and better integrated to the Synology NAS. No software dependencies other than Docker, so it is good for the long haul. An improvement over the Pinkdot releases for sure.
I will still be sticking with running LMS on a RPi Model 4 as it is far better integrated with PiCorePlayer, Faster, more easily re-configured and updated with patches and full releases. And less software packages involved. All Software is contained in the 'PiCorePlayer Envelope' This is what the developers of PcP use and recommend.
Edits: 05/03/21
Your current LMS release will also stop working when you update to DSM 7.0 (Synology).
Or even to the current version of Perl. Since it sits there solely to support LMS, I have no reason to update it.
The current way to do this is install the Software Package called 'Docker' on your NAS and run the Container lmscommunity/logitechmediaserver...
Thanks for the tip.
...and better integrated to the Synology NAS.
How so?
it is far better integrated with PiCorePlayer, Faster,
Similar question to first claim and *faster* how?
Why should I bother to answer your questions? --- Anything I ever said About NAS Systems you argued with. -- So, you should have proved to yourself to try out the various approaches and see for yourself.
I have tried all these methods myself and I have selected the one that I thought was the best. I suggest you do the same.
You are not going to believe anybody anyway, right?
You are not going to believe anybody anyway, right?I think it would be helpful to understand the nature of the improvements. And mine is a different model than yours.
As a point of reference, the last rescan took 47 seconds. And additions are not particularly frequent.
Edits: 05/03/21
I will likely try LMS on the Synology NAS if I can't get it to work on the Raspberry. Cut-Throat has graciously volunteer to help me get in working on the latter.
The other factor is that my DS218+ is a whimpy model and already pretty slow.
Dmitri Shostakovich
Here is a screenshot of how mine is mounted in Volumio, I hope it helps. My NAS is just a WD MyCloud, but has worked well for a few years now.
Attaching USB drives to the Raspberry is no problem and their contents are readily scanned by both Volumio and LMS.
My current router doesn't accommodate attached drive so that isn't an option. My Synology NAS doing a pretty good job of doing backups, etc., as well as storing music file so I'm not about to abandon it for the latter purpose.
Dmitri Shostakovich
No,..... LMS was never able to find your NAS... That is the problem.... It only displayed what you called it... You have entered something wrong Period!! - You just have to accept that simple fact!Go back and triple check everything you enter... Make sure you have hit apply and Make sure you re-start LMS after entering the new parameters...
Edits: 04/14/21
I tried all you suggested; these were all valid suggestions but they didn't solve the problem. Probably I and the other folks are doing something wrong -- the question is what.
So for example I discovered that, on the NAS, I hadn't set NFS permissions properly for my Music shared folder. Once I did that Volumio would "mount" the NAS share, however it still refused to scan for music.
Dmitri Shostakovich
I told you that I had to putz with my settings awhile before I got it right also.. That's why I know that you have a setting wrong. I will be willing to spend some time on the phone with you this afternoon or in the next few days to get this working.. This is not magic. If you give it the right settings, LMS WILL find it.
Did you install and enable additional File Systems in LMS? Remember, I didn't help you install LMS.. You watched some video and plowed ahead. I don't know exactly how you got to where you're at. I have no idea about Volumio. As I said, I found it very buggy and this was confirmed by Volumio. I know LMS will work... But I have to understand your environment. Your network etc.
I follow up to seek if we have a mutually agreeable schedule.
Yes, I did enable those additional file systems, at least NTFS and extFAT for USB drives.
Dmitri Shostakovich
You have a working music system.
Look at setting up this RPi as a 'Fun Project' -- So, you need to approach this with a 'Can do' attitude, instead of a 'Ready to throw in the Towel' perspective. So what if this takes a few days to get going... It's a One Time Setup process.
Hours in from of a monitor is difficult.
Dmitri Shostakovich
Maybe you just need to go at it with a slower pace.... Again no urgency to get this stuff running... Take your time, relax. We'll find it, when you get on the phone with me.
I can call you at 2:30pm Central Time this afternoon, if that works for you. You can e-mail your phone number.
nt
Dmitri Shostakovich
FAQ |
Post a Message! |
Forgot Password? |
|
||||||||||||||
|
This post is made possible by the generous support of people like you and our sponsors: