Skip to main content
Enthusiast II
April 29, 2023
Answered

Access denied to Synolog NAS server – can’t play files in one room other rooms are fine?

  • April 29, 2023
  • 56 replies
  • 16095 views

Access denied to Synolog NAS server – can’t play files in one room other rooms are fine?

 

I am a long time user of Sonos. I have 4 zones that all uses S1. I do have a Roam also (S2) but hardly ever uses it at my home.

 

My zones are: 

 

Office: two Play 5: gen1

Livingroom: Soundbar, Sub and two Play:3

Room 3: Play:1

Room 4: Play:1

 

I do have a booster as well. 

 

Out of the I can no longer play my music files from my Synology NAS – BUT only in my office…. I can play my files in the livingroom, room 3 and 4 – but NOT in my office.

 

I have tried from my MacBookPro App and from my iPhone app – but it will not play the files. Radio and streaming services are doing fine.

 

I can perfectly see my files/folders in the app – but access for playing is denied in my office. If I combine livingroom with office I can play the files in the office – but I can not start music from files in the office.

 

On my NAS I have 5 different main folders with files and it is all the same. Will not play in office but other zones are playing fine.

 

All systems are updated and I have rebooted computer, iPhone, modem, router, server, Play:5’s.

 

Can someone help me?

 

 

 

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Best answer by sjw

OK great, I’ll put all the instructions into one post.

Connect to the NAS via SSH (use PUTTY). (you may have to enable SSH in the NAS Control Panel)

Type sudo -i  (note the space after sudo).

Press enter. (it should give a slightly humorous prompt).

Type the root password.

Type cd /etc/samba  Press enter

Then type ls -al (they are lowercase L’s)

It should list the smb.conf file.

Type cp smb.conf smb.conf.backup  (that gives you a backup)

Now type:

vi smb.conf    Press enter

This takes you into a text editor in the smb.conf file

Check the line unix extensions=no isn’t already there.

Now press the down arrow until you reach the end of the file.

Type the letter o.  It should put the cursor below the last line - and you can now insert text.

Type the line unix extensions=no

Then press the esc key (top left of keyboard) a couple of times.

Now press the : key.  (Shift ;)

The cursor should go to the bottom of the file.

Type wq and then enter.

That writes the changes and quits out of the text editor.

The change is now made.

If anything seems to go wrong when you are in the file, press escape a couple of times, then : and then q! and enter.  This will quit the editor and make no changes.

56 replies

Contributor III
June 11, 2023

Add me to the list of grateful users… I have a mix of newer and older Sonos products, and this has been driving me nuts! Thanks

Lyricist III
June 11, 2023

Thank you VERY much @sjw you are a super star.

I had the same issue, that Sonos iPad app suddenly started to report “access denied” when attempting to play music from my music library on my Synology NAS. Added “unix extensions=no” to the “smb.conf” of my Synology NAS DS218 solved it for me, and my old Sonos S1 system now works again.

Curious @sjw, how did you figure out this was the solution??

Contributor III
June 13, 2023

aargh.. it came back. checked smb.conf and line is still there, however.

Any thoughts

p.s. It CAN see the file! It offers it! :-)

 

Lyricist I
June 26, 2023

when i got my new synology nas (never had issue with old one apart from it died), it took me ages to sort out the smb for s1 vs s2 was fine straight off.

now is denied again even though settings are as detailed. why cant sonos fix this as clearly a big problem...and sorry i dont understand the access via SSH >use PUTTY

Lyricist I
July 23, 2023

I have a problem with the SJW mod to smb.conf file. If you reboot the NAS (DS218+) the file reverts to the previous version. So I still have a problem whereby the Play 1 works correctly but access is denied for my Connect. They both work if grouped together (sometimes).

Lyricist I
July 27, 2023

Yay! Thank you!

It worked, but if you have trouble, please check your spelling. 

It didn’t work the first time and when I went back to check the file, I had written “unit extensions=no”

That will not work.