Jump to content

mount over ssh under ubuntu can't read media ?


youl94

Recommended Posts

Hi,

 

I'm new user of mediabrowser,

 

Everything of basic config works well.. but, i tried to mount my NAS with sshfs, in cli i have no problem to list my folder or move a file, but when i want add this folder in the librairie as Movies Folder, MB3 say the path doesn't exist, but it exist ! why ? MB can't follow FUSE mount point ?

 

I use this to mount

sshfs -o uid=1000 -o gid=1000 -p MYPORT MYLOGIN@MYIPNAS:/share/MD0_DATA/Multimedia/ /home/sysop/mediabrowser/sshtest/

I can list ! with good user and group persmissions

~$ ls -hail mediabrowser/sshtest/
total 73G
      1 drwxrwxrwx  1 sysop sysop  20K janv. 16 23:28 .
7077899 drwxrwxrwx 11 sysop sysop 4,0K févr.  3 00:24 ..
    144 -rwxrwxrwx  1 sysop sysop 701M févr. 21  2006 10eme chambre instants d'audiences Depardon.AVI

This is log file of MB3 when i tried to add the floder in the librairy:

2015-02-03 13:35:26.3570 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
    *** Error Report ***
    Version: 3.0.5490.2
    Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser
    Operating system: Unix 3.13.0.45
    Processor count: 2
    64-Bit OS: False
    64-Bit Process: False
    Program data path: /var/lib/mediabrowser
    Mono: 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)
    Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe
    The path does not exist.
    System.IO.DirectoryNotFoundException
    at MediaBrowser.Api.Library.LibraryHelpers.AddMediaPath (MediaBrowser.Common.IO.IFileSystem,string,string,MediaBrowser.Controller.IServerApplicationPaths) <0x00133>
    at MediaBrowser.Api.Library.LibraryStructureService.Post (MediaBrowser.Api.Library.AddMediaPath) <0x0006f>
    at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object,object) <0x0004f>
    at ServiceStack.Host.ServiceExec`1/<>c__DisplayClass6<MediaBrowser.Api.Library.LibraryStructureService>.<CreateExecFn>b__5 (object,object) <0x0001b>
    at ServiceStack.Host.ServiceRunner`1<MediaBrowser.Api.Library.AddMediaPath>.Execute (ServiceStack.Web.IRequest,object,MediaBrowser.Api.Library.AddMediaPath) <0x002e3>
    
    
2015-02-03 13:35:26.3570 Error - HttpServer: Error processing request for /mediabrowser/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fhome%2Fsysop%2Fmediabrowser%2Fsshtest&name=Films+over+SSH+NC
    *** Error Report ***
    Version: 3.0.5490.2
    Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser
    Operating system: Unix 3.13.0.45
    Processor count: 2
    64-Bit OS: False
    64-Bit Process: False
    Program data path: /var/lib/mediabrowser
    Mono: 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)
    Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe
    The path does not exist.
    ServiceStack.HttpError
    No Stack Trace Available
    
2015-02-03 13:35:26.3570 Error - NotFoundHttpHandler: 172.16.195.202:8096 Request not found: /mediabrowser/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fhome%2Fsysop%2Fmediabrowser%2Fsshtest&name=Films+over+SSH+NC

But application path exist, and my mount poin to :/

~$ ls -hail /opt/mediabrowser/MediaBrowser.Server.*
12714761 -rw-r--r-- 1 mediabrowser mediabrowser 5,1M févr.  1 01:19 /opt/mediabrowser/MediaBrowser.Server.Implementations.dll
12714006 -rw-r--r-- 1 mediabrowser mediabrowser  425 févr.  1 01:16 /opt/mediabrowser/MediaBrowser.Server.Implementations.dll.config
12714774 -rwxr-xr-x 1 mediabrowser mediabrowser  12K févr.  1 01:19 /opt/mediabrowser/MediaBrowser.Server.Mono.exe
12714002 -rw-r--r-- 1 mediabrowser mediabrowser  869 févr.  1 01:16 /opt/mediabrowser/MediaBrowser.Server.Mono.exe.config
12714781 -rw-r--r-- 1 mediabrowser mediabrowser  81K févr.  1 01:19 /opt/mediabrowser/MediaBrowser.Server.Startup.Common.dll

Sorry for my bag english,

Thank for your help,

Youl

 

 

  • Like 1
Link to comment
Share on other sites

  • 5 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...