Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    21

    Squeezebox can't see read-only NFS mounted folder - but everyone else can?

    I'm moving my Squeezbox server installation from a dedicated server with it's own local music folder, and in the new Ubuntu server I'm trying to mount the music library using an NFS share from FreeNAS.

    fstab is as follows:
    Code:
    stew@waffle:/mnt$ cat /etc/fstab 
    # /etc/fstab: static file system information.
    #
    ...
    #
    manzanita.doodle.local:/mnt/ManzanitaPool/ManzanitaDataset/ManzanitaMusicDataset /mnt/ManzanitaMusic nfs defaults,ro 0 0
    This mounts fine, and even my lowly testuser can see into the directories:

    Code:
    root@waffle:/mnt# su testuser
    testuser@waffle:/mnt$ cd /mnt
    testuser@waffle:/mnt$ ls -alg
    total 9
    drwxr-xr-x  3 root 4096 Aug  2 18:33 .
    drwxr-xr-x 22 root 4096 Jul 11 22:30 ..
    drwxrwx---  6 root    6 Aug  2 18:50 ManzanitaMusic
    testuser@waffle:/mnt$ cd ManzanitaMusic/
    testuser@waffle:/mnt/ManzanitaMusic$ ls -alg
    total 611
    drwxrwx---   6 root    6 Aug  2 18:50 .
    drwxr-xr-x   3 root 4096 Aug  2 18:33 ..
    drwxrwx---  63 root   68 Aug  2 15:03 MusicLibrary
    drwxrwx---   5 root    5 Jan  9  2017 MusicLibrary2
    drwxrwx--- 839 root  845 Sep 27  2013 MusicStew
    drwxrwx---  58 root   81 Sep 28  2013 MusicTerri
    testuser@waffle:/mnt/ManzanitaMusic$
    testuser is in the same group with squeezeboxserver:

    Code:
    testuser@waffle:/mnt/ManzanitaMusic$ cat /etc/passwd | grep sque
    squeezeboxserver:x:116:65534:Logitech Media Server,,,:/usr/share/squeezeboxserver:/usr/sbin/nologin
    testuser@waffle:/mnt/ManzanitaMusic$ 
    
    testuser@waffle:/mnt/ManzanitaMusic$ cat /etc/passwd | grep testuser
    testuser:x:1002:65534:testuser,,,:/home/testuser:/bin/bash
    testuser@waffle:/mnt/ManzanitaMusic$
    But the squeezebox still can't see into the NFS mount. See attached screenshot:

    Name:  CantGoDownMnt.PNG
Views: 259
Size:  49.7 KB

    I suppose I can switch to CIFS if I had to, but I figure I'm very close to having this working, and would like to understand what's going wrong.
    Last edited by StewLG; 2020-08-02 at 13:11.

  2. #2
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    6,222
    Did you start LMS before or after the NFS share was mounted?
    Jim
    https://jukeradio.double6.net


    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Radio
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

  3. #3
    Junior Member
    Join Date
    Mar 2008
    Posts
    21
    Quote Originally Posted by d6jg View Post
    Did you start LMS before or after the NFS share was mounted?
    I did reboot the server to test the mount, and I guess I've been assuming that mounts would be handled before other services.

    But just in case, I just tried:

    Code:
    root@waffle:/home/stew# service logitechmediaserver restart
    No difference; mnt shows no directories below it in the LMS interface.

  4. #4
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    6,222
    Quote Originally Posted by StewLG View Post
    I did reboot the server to test the mount, and I guess I've been assuming that mounts would be handled before other services.

    But just in case, I just tried:

    Code:
    root@waffle:/home/stew# service logitechmediaserver restart
    No difference; mnt shows no directories below it in the LMS interface.
    Is your squeezeboxserver user in the root group?
    Jim
    https://jukeradio.double6.net


    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Radio
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •