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

Lyricist III
May 7, 2023

Great, I am sure this will help others as well.

Lyricist I
May 10, 2023

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.


Thank you very much. After the update Synology my Sonos system failed, but with this help it's working again. You're a genius!

Lyricist II
May 10, 2023

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.

Thanks champion!!!

Lyricist I
May 11, 2023

Hello,

I have 8 rooms; Synology DS920 NAS; 3 rooms couldn’t play music from the NAS; getting the “access denied” error; I am using Windows 10 Home on a Dell XPS 13; Sonos S1 app

I had removed and added NAS music folders as well as re-booted the offending Sonos speakers in the 3 rooms - that didn’t help

I followed the Connect to the NAS via SSH (use PUTTY) from @sjw and then rebooted the NAS and everything worked. FYI, my root pswd was the same as the initial login pswd.  

Thanks, Mike

Majikthise
Lyricist II
May 11, 2023

Thanks sjw, initially I had rolled back the SMB package to an earlier version to fix the “access denied” problem but your SMB.conf tweak using the latest SMB is obviously a more elegant solution.

May 13, 2023

Thanks heaps for this answer. 

 

sjw wrote:

Hans-Jakob
Lyricist I
May 17, 2023

Thank you, gyus, for this solution. It works for me as well on the most recent release of my Synology NAS. Big relief for my family.

May 22, 2023

Adding ‘unix extensions=no to smb.conf worked for me, sonos S1 accessing usb ssd on a pi3b+ running ubuntu sever. Thanks

Lyricist I
May 30, 2023

Like so many others, I have a signig=ficant investment in Sonos S1 hardware. This enables my family to continue using the speakers with our NAS.

THANKS sjw -- Not all heroes wear capes!

 

Question…

Should I avoid future SMB service updates?

May 31, 2023

Linux has a hold command to stop apt-get update for a specific package. Alternatively, I flashed an image of the pi disc to my computer that I can revert to if it goes wrong again.