Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[IDEA] allow sshfs mount remote storage (rights access issue solved for sshfs)
#15
Hi,
Thanks for your patience.
@TheOldPresbyope:
 -p  because even internaly default ports are not used in my home network so  ssh port number is not 22 but 54321, yes now you know one  secret
     but yes you're right by default the option -p is not needed,  because ssh default port number is 22.

@Tim Curtis:
   it works for you not for me ... this is normal isn't it you're the boss, the man who knows.
   
In the directory links are OK (see below).
I have done as you  ie   mkdir /mnt/SDCARD/SSHFS and then mount here.
however:
- on the web page .. only entries displayed are:
   NAS
   Default Playlist
   Favorites
no USB nor SDCARD
I tried to restart servers ie moodeutl -r  ,  then moodeutil -t  
but   no USB nor SDCARD are shown on the web page. What do I have done wrong?
 
Code:
20230119 135947 worker: -- Music sources
20230119 135947 worker: --
20230119 135947 worker: USB sources
20230119 135947 worker: No drives found
20230119 135947 worker: NAS sources
20230119 135947 worker: NAS
20230119 135948 worker: Mount all submitted
20230119 135948 worker: --

Code:
cd /var/lib/mpd/music
ls -lalt
total 24
drwxr-xr-x 4 mpd  audio  4096 Jan 19 13:50 ..
drwxrwxrwx 2 root root  12288 Sep 29 14:27 RADIO
-rwxrwxrwx 1 root root      6 May 31  2022 .mpdignore
drwxr-xr-x 3 root root   4096 May 31  2022 .
lrwxrwxrwx 1 root root      8 Mar 26  2022 NAS -> /mnt/NAS
lrwxrwxrwx 1 root root     11 Mar 26  2022 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root      6 Mar 26  2022 USB -> /media
and
Code:
ls -lalrt mpd/music/SDCARD/
total 28
drwxr-xr-x 4 root root  4096 Jun 30  2022  ..
drwxrwxrwx 1 root root 16384 Nov 18 08:31  SSHFS
drwxr-xr-x 2 root root  4096 Jan 13 08:48 'Stereo Test'
drwxr-xr-x 4 root root  4096 Jan 19 13:43  .

 
Code:
mpd -V
Music Player Daemon 0.23.11 (r822prod-18-gb35b25b)
and

Code:
 moode-player                         8.2.4-1moode1
Reply


Messages In This Thread
RE: [IDEA] allow sshfs mount remote storage - by Phil35 - 01-19-2023, 01:20 PM

Forum Jump: