AndreasChen 0 Posted July 3, 2015 Share Posted July 3, 2015 Hi all, I had success with Emby on Ubuntu but once I moved to CentOS I am having mysterious problems that Emby cannot find paths. I am quite sure the paths are there and permission are open. I even disabled SELinux but did not help. 2015-07-03 02:05:14.6961 Error - HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: Internal error (no progress possible) ReadInternal 2015-07-03 02:05:21.8578 Error - DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5607.2 Command line: /opt/MediaBrowser/MediaBrowserServer/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/MediaBrowser/MediaBrowserServer Operating system: Unix 3.10.0.229 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/opt/MediaBrowser/MediaBrowserServer Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014) Application Path: /opt/MediaBrowser/MediaBrowserServer/bin/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) <0x0015b> at MediaBrowser.Api.Library.LibraryStructureService.Post (MediaBrowser.Api.Library.AddMediaPath) <0x000ff> at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object,object) <0x00074> at ServiceStack.Host.ServiceExec`1/<>c__DisplayClass6<MediaBrowser.Api.Library.LibraryStructureService>.<CreateExecFn>b__5 (object,object) <0x0002d> at ServiceStack.Host.ServiceRunner`1<MediaBrowser.Api.Library.AddMediaPath>.Execute (ServiceStack.Web.IRequest,object,MediaBrowser.Api.Library.AddMediaPath) <0x00410> 2015-07-03 02:05:21.8578 Error - HttpServer: Error processing request for /mediabrowser/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fhome%2Fandreas%2FNAS%2FHDD_A&name=Fussball *** Error Report *** Version: 3.0.5607.2 Command line: /opt/MediaBrowser/MediaBrowserServer/bin/MediaBrowser.Server.Mono.exe -programdata /var/opt/MediaBrowser/MediaBrowserServer Operating system: Unix 3.10.0.229 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/opt/MediaBrowser/MediaBrowserServer Mono: 3.10.0 (tarball Sat Nov 15 03:35:34 UTC 2014) Application Path: /opt/MediaBrowser/MediaBrowserServer/bin/MediaBrowser.Server.Mono.exe The path does not exist. ServiceStack.HttpError No Stack Trace Available 2015-07-03 02:05:21.8581 Info - App: Queueing task RefreshMediaLibraryTask 2015-07-03 02:05:21.8581 Error - NotFoundHttpHandler: 12.19.1.1:8096 Request not found: /mediabrowser/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fhome%2Fandreas%2FNAS%2FHDD_A&name=Fussball 2015-07-03 02:05:21.8581 Info - App: Executing Scan media library 2015-07-03 02:05:21.8581 Info - App: Validating media library 2015-07-03 02:05:22.0715 Info - App: Scan media library Completed after 0 minute(s) and 0 seconds 2015-07-03 02:05:22.0726 Info - LibraryMonitor: Watching directory /home/andreas 2015-07-03 02:05:22.1445 Info - LibraryMonitor: Watching directory /var/opt/MediaBrowser/MediaBrowserServer/root 2015-07-03 02:05:22.1445 Info - LibraryMonitor: Watching directory /var/opt/MediaBrowser/MediaBrowserServer/data/camerauploads 2015-07-03 02:05:22.1445 Info - LibraryMonitor: Watching directory /var/opt/MediaBrowser/MediaBrowserServer/data/collections 2015-07-03 02:05:22.1445 Info - LibraryMonitor: Watching directory /var/opt/MediaBrowser/MediaBrowserServer/data/playlists Link to comment Share on other sites More sharing options...
AndreasChen 0 Posted July 3, 2015 Author Share Posted July 3, 2015 I can put everything under /home/NAS/... it works but not under /home/andreas/NAS/... Link to comment Share on other sites More sharing options...
thefirstofthe300 291 Posted July 9, 2015 Share Posted July 9, 2015 I have run into issues with permissions if stuff is in my home folder. I have no idea why but even opening up the permissions on the folders still doesn't allow other users access to the folders. That might be your issue. Link to comment Share on other sites More sharing options...
Jackrats 4 Posted July 9, 2015 Share Posted July 9, 2015 Remember, the user must have Read AND eXecute permissions on all directories along the path. if the user that Emby runs as does not have Read and eXecute permissions to /home and /home/andreas and /home/andreas/NAS then it will not be able to get to the files, even if the files themselves have permissive permissions. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now