Jump to content

Can't add media library folders


Mochaka
 Share

Recommended Posts

I just installed Emby on a fresh copy of Ubuntu 12.04, did the wizard and everything. But i can't add any folders to the media library. I've tired different folders in the system, even a remote samba share but it still errors.

 

Here's the log

2015-12-06 09:12:35.8704 Info HttpServer: HTTP GET http://192.168.1.120:8096/emby/Environment/ParentPath?path=%2Fmnt%2Fnas%2Ftv. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/4$
2015-12-06 09:12:35.8704 Info HttpServer: HTTP GET http://192.168.1.120:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=%2Fmnt%2Fnas%2Ftv. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.$
2015-12-06 09:12:35.8753 Info HttpServer: HTTP Response 200 to 192.168.1.11. Time: 4ms. http://192.168.1.120:8096/emby/Environment/ParentPath?path=%2Fmnt%2Fnas%2Ftv
2015-12-06 09:12:35.8874 Info HttpServer: HTTP Response 200 to 192.168.1.11. Time: 16ms. http://192.168.1.120:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=%2Fmnt%2Fnas%2Ftv
2015-12-06 09:12:36.8629 Info HttpServer: HTTP POST http://192.168.1.120:8096/emby/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fmnt%2Fnas%2Ftv&name=TV. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/$
2015-12-06 09:12:36.8759 Info App: Queueing task RefreshMediaLibraryTask
2015-12-06 09:12:36.8759 Info App: Executing Scan media library
2015-12-06 09:12:36.8864 Info App: Validating media library
2015-12-06 09:12:36.8992 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 3.13.0.32
        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 Thu Dec  3 22:49:50 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) <0x40875530 + 0x001c7> in <filename unknown>:0
          at MediaBrowser.Api.Library.LibraryStructureService.Post (MediaBrowser.Api.Library.AddMediaPath request) <0x40874b50 + 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) <0x4080b5e0 + 0x0002d> in <filename unknown>:0
          at ServiceStack.Host.ServiceRunner`1[TRequest].Execute (IRequest request, System.Object instance, ServiceStack.Host.TRequest requestDto) <0x40764500 + 0x003d4> in <filename unknown>:0


2015-12-06 09:12:36.9080 Error HttpServer: Error processing request for /emby/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fmnt%2Fnas%2Ftv&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 3.13.0.32
        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 Thu Dec  3 22:49:50 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 09:12:36.9572 Info HttpServer: HTTP Response 400 to 192.168.1.11. Time: 94ms. http://192.168.1.120:8096/emby/Library/VirtualFolders/Paths?refreshLibrary=true&path=%2Fmnt%2Fnas%2Ftv&name=TV
2015-12-06 09:12:37.1664 Info App: Scan media library Completed after 0 minute(s) and 0 seconds
Link to comment
Share on other sites

Fixed the issue, was missing a couple of packages. I installed the beta package and it grabbed the packages it needed.

 

The following packages will be REMOVED:
  emby-server
The following NEW packages will be installed:
  emby-server-beta libembymagickcore-6.q8-2 libembymagickwand-6.q8-2 libfftw3-3 liblcms2-2 libwebp5
Link to comment
Share on other sites

hurricanehrndz

Nope they are not Luke, beta is version: emby-server-beta-3.0.5768.0.git945dd00.tar.gz and stable is 3.0.5781.4

Link to comment
Share on other sites

jstruebel

I ran into the same problem today and was trying to figure out why adding folders stopped working. I'm only using the emby-server package from the apt repository, did the binaries get rebuilt using the latest code instead of the stable release? I bring this up because I would expect that the emby-server package would track the last stable release which should not have had this bug and not the latest development code.

  • Like 1
Link to comment
Share on other sites

hurricanehrndz

I ran into the same problem today and was trying to figure out why adding folders stopped working. I'm only using the emby-server package from the apt repository, did the binaries get rebuilt using the latest code instead of the stable release? I bring this up because I would expect that the emby-server package would track the last stable release which should not have had this bug and not the latest development code.

The bug was in the stable release. Unfortunately even though we try and be as careful as possible, some bugs just seep through our testing. 

Link to comment
Share on other sites

jstruebel

No problem. I totally understand bugs getting through and into the release. It just sounded like from some of Luke's other posts that the bug had been introduced post release, so I was surprised that I ran into it. Has it been fixed in the apt repo release? If not when do you expect you'll be able to roll it in? It's not a rush, just wanting to plan.

Edited by jstruebel
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...