sri 0 Posted December 5, 2015 Share Posted December 5, 2015 Hi, I'm unable to add media to newly installed emby server on centos 6. Getting below error: There was an error adding the media path. Please ensure the path is valid and the Emby Server process has access to that location. I've given full access to everyone but no luck. Any help? Thanks, Sri Link to comment Share on other sites More sharing options...
fc7 123 Posted December 5, 2015 Share Posted December 5, 2015 Welcome to the forums. Can you provide more information: http://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Is your media local or a on a network share? Most of the times a server log can help too. Link to comment Share on other sites More sharing options...
vargaadi 0 Posted December 6, 2015 Share Posted December 6, 2015 Hi, Another newbie here I have the same problem on a fresh system. OS is Ubuntu 15.10 and I try to add a local media. Here is my log: 2015-12-06 02:10:11.5793 Info App: Queueing task RefreshMediaLibraryTask 2015-12-06 02:10:11.5793 Info App: Executing Scan media library 2015-12-06 02:10:11.5798 Error DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5781.4 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.2.0.19 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Sun Nov 29 22:27:02 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe Value cannot be null. Parameter name: path System.ArgumentNullException at MediaBrowser.Api.Library.LibraryHelpers.AddMediaPath (IFileSystem fileSystem, System.String virtualFolderName, System.String path, IServerApplicationPaths appPaths) <0x41618000 + 0x001c7> in <filename unknown>:0 at MediaBrowser.Api.Library.LibraryStructureService.Post (MediaBrowser.Api.Library.AddMediaPath request) <0x41617a00 + 0x0010f> in <filename unknown>:0 at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,object,object) at ServiceStack.Host.ServiceExec`1+<>c__DisplayClass6[TService].<CreateExecFn>b__5 (System.Object service, System.Object request) <0x4159dc20 + 0x0002d> in <filename unknown>:0 at ServiceStack.Host.ServiceRunner`1[TRequest].Execute (IRequest request, System.Object instance, ServiceStack.Host.TRequest requestDto) <0x414b0600 + 0x003d4> in <filename unknown>:0 2015-12-06 02:10:11.5798 Error HttpServer: Error processing request for /emby/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fmedia%2Fdisk1&name=TV *** Error Report *** Version: 3.0.5781.4 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.2.0.19 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Sun Nov 29 22:27:02 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe Value cannot be null. Parameter name: path ServiceStack.HttpError No Stack Trace Available 2015-12-06 02:10:11.5849 Info HttpServer: HTTP Response 400 to 94.21.170.41. Time: 15ms. http://vargaek.asuscomm.com:8096/emby/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fmedia%2Fdisk1&name=TV 2015-12-06 02:10:11.6033 Info App: Validating media library 2015-12-06 02:10:11.8094 Info App: Scan media library Completed after 0 minute(s) and 0 seconds 2015-12-06 02:10:11.8326 Info ServerManager: Sending web socket message ScheduledTaskEnded 2015-12-06 02:12:29.6014 Info App: ScheduledTasksWebSocketListener stop transmitting over websocket to 94.21.170.41:36794 Any kind of help is appreciated. Thx, Adam Link to comment Share on other sites More sharing options...
Luke 37247 Posted December 6, 2015 Share Posted December 6, 2015 For those running from source, I've checked in a fix for the above issue with adding folders. The issue is not actually part of the tagged 3.0.5781.4 release, it's just something that was checked in after the fact, and now it's fixed. Thanks. 1 Link to comment Share on other sites More sharing options...
vargaadi 0 Posted December 6, 2015 Share Posted December 6, 2015 For those running from source, I've checked in a fix for the above issue with adding folders. The issue is not actually part of the tagged 3.0.5781.4 release, it's just something that was checked in after the fact, and now it's fixed. Thanks. Thanks, everything works now! Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted December 6, 2015 Share Posted December 6, 2015 I'm having the same problem on Windows with 3.0.5817.30143 Link to comment Share on other sites More sharing options...
nicheplayer 8 Posted December 6, 2015 Share Posted December 6, 2015 Having the same issue with the Debian 7 Version 3.0.5781.4. Did apt-get install --reinstall this morning and no resolution. Here's what seems to be the relevant section from the server log: 2015-12-06 11:51:08.3210 Info App: Queueing task RefreshMediaLibraryTask 2015-12-06 11:51:08.3210 Info App: Executing Scan media library 2015-12-06 11:51:08.3210 Error DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5781.4 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 2.6.32.42 Processor count: 24 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 09:52:44 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe Value cannot be null. Parameter name: path System.ArgumentNullException at MediaBrowser.Api.Library.LibraryHelpers.AddMediaPath (IFileSystem fileSystem, System.String virtualFolderName, System.String path, IServerApplicationPaths appPaths) <0x4164a950 + 0x001c7> in <filename unknown>:0 at MediaBrowser.Api.Library.LibraryStructureService.Post (MediaBrowser.Api.Library.AddVirtualFolder request) <0x4164a210 + 0x003af> in <filename unknown>:0 at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,object,object) at ServiceStack.Host.ServiceExec`1+<>c__DisplayClass6[TService].<CreateExecFn>b__5 (System.Object service, System.Object request) <0x40ae0230 + 0x0002d> in <filename unknown>:0 at ServiceStack.Host.ServiceRunner`1[TRequest].Execute (IRequest request, System.Object instance, ServiceStack.Host.TRequest requestDto) <0x40a16800 + 0x003e0> in <filename unknown>:0 2015-12-06 11:51:08.3214 Error HttpServer: Error processing request for /emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Movies *** Error Report *** Version: 3.0.5781.4 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 2.6.32.42 Processor count: 24 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 09:52:44 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe Value cannot be null. Parameter name: path ServiceStack.HttpError No Stack Trace Available 2015-12-06 11:51:08.3214 Info HttpServer: HTTP Response 400 to 173.30.221.17. Time: 4ms. http://109.201.140.55:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Movies 2015-12-06 11:51:08.3239 Info App: Validating media library 2015-12-06 11:51:08.3358 Debug App: Running CollectionFolderImageProvider for /var/lib/emby-server/root/default/Movies 2015-12-06 11:51:08.3358 Debug App: Saving /var/lib/emby-server/root/default/Movies to database. 2015-12-06 11:51:08.3417 Debug App: Running post-scan task MovieUpdatesPreScanTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task FanartUpdatesPostScanTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task LocalTrailerPostScanTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task RefreshIntrosTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task FanartMovieUpdatesPostScanTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task FanArtTvUpdatesPostScanTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task TvdbPrescanTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task ArtistsPostScanTask 2015-12-06 11:51:08.3417 Debug App: Running post-scan task GameGenresPostScanTask 2015-12-06 11:51:08.3417 Debug SqliteItemRepository: select guid from TypedBaseItems where type=@type 2015-12-06 11:51:08.3417 Debug App: Running post-scan task GenresPostScanTask 2015-12-06 11:51:08.3417 Debug SqliteItemRepository: select guid from TypedBaseItems where type=@type 2015-12-06 11:51:08.3417 Debug App: Running post-scan task MusicGenresPostScanTask 2015-12-06 11:51:08.3417 Debug SqliteItemRepository: select guid from TypedBaseItems where type=@type 2015-12-06 11:51:08.3424 Debug App: Running post-scan task StudiosPostScanTask 2015-12-06 11:51:08.3424 Debug SqliteItemRepository: select guid from TypedBaseItems where type=@type 2015-12-06 11:51:08.3424 Debug App: Running post-scan task YearsPostScanTask 2015-12-06 11:51:08.3424 Debug App: Running post-scan task SeriesPostScanTask 2015-12-06 11:51:08.4308 Info App: Scan media library Completed after 0 minute(s) and 0 seconds 2015-12-06 11:51:08.4343 Info ServerManager: Sending web socket message ScheduledTaskEnded Link to comment Share on other sites More sharing options...
Kdavison007 1 Posted December 6, 2015 Share Posted December 6, 2015 For those running from source, I've checked in a fix for the above issue with adding folders. The issue is not actually part of the tagged 3.0.5781.4 release, it's just something that was checked in after the fact, and now it's fixed. Thanks. Can you explain this in a little more detail? Nicheplayer and I are running this build, have done a reinstall of emby-server, allowing full 777 permissions to the directory and still receive the posted error above. Directory is not sym-linked or a remote mount path. 1 Link to comment Share on other sites More sharing options...
Kdavison007 1 Posted December 6, 2015 Share Posted December 6, 2015 I thought I would share an update. On this server we have an emby home user directory and our normal user home. During the emby install we specified emby to use our normal home user account. However, it still created the emby user home folder. I just did the following and now emby succuessfully read the media folder inside our standard user folder: /etc/init.d/emby-server stop ps aux | grep emby and killed all process still running (there were the two listed above even after the /etc/init.d/emby-server stop) chown -R emby:nicheplayer007 /home/nicheplayer /etc/init.d/emby-server start Successfully added the /home/nicheplayer/downloads folder, which contains all of the movies However, clicking play in the web interface on any of the movies will start the player interface, but the video won't play. sits at 0 seconds with the movie art shown. I tried from my KODI emby add-on client and it experienced the same behavior; sees the movies now, but cannot play them. Link to comment Share on other sites More sharing options...
hurricanehrndz 149 Posted December 6, 2015 Share Posted December 6, 2015 Please post the logs from the transcode and from the emby. Link to comment Share on other sites More sharing options...
nicheplayer 8 Posted December 9, 2015 Share Posted December 9, 2015 I think this might be at least part of our playback problem. This is from the latest server log after I did a restart from the server web interface (it never restarted, BTW; had to do it manually via init.d): 2015-12-08 23:32:08.0958 Warn App: ffmpeg is missing decoder h264_qsv 2015-12-08 23:32:08.0958 Warn App: ffmpeg is missing decoder mpeg2_qsv 2015-12-08 23:32:08.0958 Warn App: ffmpeg is missing decoder vc1_qsv 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder libx264 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder libx265 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder mpeg4 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder msmpeg4 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder libvpx 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder aac 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder ac3 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder libmp3lame 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder libvorbis 2015-12-08 23:32:08.1143 Warn App: ffmpeg is missing encoder srt Link to comment Share on other sites More sharing options...
hurricanehrndz 149 Posted December 11, 2015 Share Posted December 11, 2015 Where is your ffmpeg coming from ? Did you install this from your own distribution? Link to comment Share on other sites More sharing options...
nicheplayer 8 Posted December 12, 2015 Share Posted December 12, 2015 (edited) Where is your ffmpeg coming from ? Did you install this from your own distribution? Could've been installed with Plex server? Otherwise, it must've been installed as part of some other software package set up by the folks who provide our VPS. I guess I can check with support and see if they can track it down. Edited December 12, 2015 by nicheplayer Link to comment Share on other sites More sharing options...
nicheplayer 8 Posted December 12, 2015 Share Posted December 12, 2015 Where is your ffmpeg coming from ? Did you install this from your own distribution? Just tried to play again via the web client and got a different error. Attached. Thoughts? LOG Link to comment Share on other sites More sharing options...
nicheplayer 8 Posted December 12, 2015 Share Posted December 12, 2015 Where is your ffmpeg coming from ? Did you install this from your own distribution? Just heard back from the admins at my VPS. ffmpeg is installed as part of the onload when building new servers. So there was already a version there before I tried the emby install. 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