Jump to content

Something not happy with my setup


Recommended Posts

Posted

Since I had to reinstall my Emby server, there's something not working properly with my setup - library scans keep failing.

 

Looking in my logs, they are littered with errors - can any of you clever fellas out there give me some pointers as to the issue(s)?

 

https://www.dropbox.com/s/36fa9u5hjkpudaf/aspdendlog.txt?dl=0

 

Server Version 3.0.5675.1

Posted

50 views and not one response...

Posted

You already tried to restart the emby application? Did you already tried to restart your server? 

Posted

Tons of file system access problems and invalid xml files is what I see.

  • Like 1
Posted

50 views and not one response...

Well, I looked and I am pretty sure I will be no help. Probably wasting your time but:

 

1. The very first error seems to be a misconfiguration on your start-up shortcut. Maybe when you reinstalled it went from the MediaBrowser Server file location to the Emby Server file location and your shortcut still points to the old location. Looks like you start - so not a core issue.

 

2. Then you have a bunch of errors about not being able to get the last access time. Two possibilities - file read problem or a file system issue. Since it is a remote location, "tower", I would guess that wasn't available when Emby was starting. It could be that it wasn't ready or you didn't set up the right permissions in your new install. I have no idea.

 

3. The next set of errors say you have malformed XML. Since it appears to not be line 1, I suspect something goofed up your metadata. If you are using stuff that rewrites your Movies or Shows, I would shut it off. If you don't use anything like that, your files may have gotten corrupted. I would test one of those with a Refresh and see if the error disappears.

 

4. You have a lot of 404s trying to get movie metadata. I checked some of the numbers and they aren't valid id's - so the system/log is correct. If you do use an additional metadata scraper, it is getting the wrong ID. If you are doing them by hand, you may have entered those numbers in the wrong field. Again, I have no idea what you have installed or what you have done to your previous metadata to speculate.

 

As I said - probably wasted your time.

  • Like 1
Posted

You already tried to restart the emby application? Did you already tried to restart your server? 

Yep - it's a recurring thing that keeps happening

Posted

Tons of file system access problems and invalid xml files is what I see.

The access problems are from  my UnRAID server - although it shouldn't be an issue, I think I may have a drive on it's way out so am awaiting a replacement which will hopefully sort out those issues (Fingers crossed).

 

What's the best way to correct the xml file issues?

Posted

Well, I looked and I am pretty sure I will be no help. Probably wasting your time but:

 

1. The very first error seems to be a misconfiguration on your start-up shortcut. Maybe when you reinstalled it went from the MediaBrowser Server file location to the Emby Server file location and your shortcut still points to the old location. Looks like you start - so not a core issue.

 

2. Then you have a bunch of errors about not being able to get the last access time. Two possibilities - file read problem or a file system issue. Since it is a remote location, "tower", I would guess that wasn't available when Emby was starting. It could be that it wasn't ready or you didn't set up the right permissions in your new install. I have no idea.

 

3. The next set of errors say you have malformed XML. Since it appears to not be line 1, I suspect something goofed up your metadata. If you are using stuff that rewrites your Movies or Shows, I would shut it off. If you don't use anything like that, your files may have gotten corrupted. I would test one of those with a Refresh and see if the error disappears.

 

4. You have a lot of 404s trying to get movie metadata. I checked some of the numbers and they aren't valid id's - so the system/log is correct. If you do use an additional metadata scraper, it is getting the wrong ID. If you are doing them by hand, you may have entered those numbers in the wrong field. Again, I have no idea what you have installed or what you have done to your previous metadata to speculate.

 

As I said - probably wasted your time.

1. thanks - that's something I will sort out - not a biggie, but worth doing anyway

 

2.Tower is my UnRAID server with all my data on it. the access time shouldn't be an issue - unless there is something wrong with my server - see response to ebr above.

 

3. I only use Emby to sort my metadata - haven't used anything else for a long time now as Emby does the best job. However, I could do a refresh to see if that works, but what do I refresh? What xml is not working? This error tells me nothing about what the potentially corrupted item is

"2015-08-22 05:21:16.6829 Error - App: Error in Emby Xml

    *** Error Report ***

    Version: 3.0.5675.1

    Command line: C:\Users\Us\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe

    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1

    Processor count: 2

    64-Bit OS: True

    64-Bit Process: False

    Program data path: C:\Users\Us\AppData\Roaming\Emby-Server

    Application Path: C:\Users\Us\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe

    Unexpected end of file has occurred. The following elements are not closed: Role, Person, Persons, Title. Line 124, position 20.

    System.Xml.XmlException

     at System.Xml.XmlTextReaderImpl.Throw(Exception e)

     at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

     at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()

     at System.Xml.XmlTextReaderImpl.ParseElementContent()

     at System.Xml.XmlTextReaderImpl.Read()

     at System.Xml.XmlReader.InternalReadContentAsString()

     at System.Xml.XmlReader.ReadContentAsString()

     at System.Xml.XmlSubtreeReader.ReadContentAsString()

     at System.Xml.XmlSubtreeReader.ReadContentAsString()

     at System.Xml.XmlReader.ReadElementContentAsString()

     at MediaBrowser.Controller.Providers.BaseItemXmlParser`1.GetPersonsFromXmlNode(XmlReader reader)

     at MediaBrowser.Controller.Providers.BaseItemXmlParser`1.FetchDataFromPersonsNode(XmlReader reader, MetadataResult`1 item)

     at MediaBrowser.Controller.Providers.BaseItemXmlParser`1.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 itemResult)

     at MediaBrowser.LocalMetadata.Parsers.BaseVideoXmlParser`1.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 result)

     at MediaBrowser.Controller.Providers.BaseItemXmlParser`1.Fetch(MetadataResult`1 item, String metadataFile, XmlReaderSettings settings, Encoding encoding, CancellationToken cancellationToken)

     at MediaBrowser.Controller.Providers.BaseItemXmlParser`1.Fetch(MetadataResult`1 item, String metadataFile, CancellationToken cancellationToken)

     at MediaBrowser.LocalMetadata.Providers.MovieXmlProvider.Fetch(LocalMetadataResult`1 result, String path, CancellationToken cancellationToken)

     at MediaBrowser.LocalMetadata.BaseXmlProvider`1.<GetMetadata>d__0.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

     at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshWithProviders>d__32.MoveNext()"

 

Needs someone with more ability than me to point me in the right direction here...

 

4. Sounds like the metadata is borked then as I only use Emby - maybe a complete refresh is the way to go?

 

thanks for all the help and comments - always appreciated.

Posted

Look at your TV series "FireFly".

 

If you are having disc errors, that could be the root cause of everything.

  • Like 1
Posted

I could see drive errors causing many of these issues, but I am not familiar enough with unRAID to speculate. Generally, I recommend checking network, permission and plug-ins before blaming hardware. However, if this is already a known issue it may be better not to mess with it too much until you have a stable foundation.

 

As for the refresh, I would pick something that doesn't have the right data at the moment. Not sure why ebr picked Firefly, but I would trust him on that - he is Legendary for a reason*, and see if the Refresh or Advance Refresh fixes the XML problem for that show. I would probably select Advanced Refresh so I knew I was replacing the metadata.

 

Regarding the stack trace, all I can say is the error is from a movie, since Title is the top level node for movies. Role is the last child node of Person, which is a child node of Persons. I do have some files with "TmdbCollectionName" after it - but only for movies that the Autoboxset Plug-in identified (I assume). The Persons node takes up most of the line count in the file, so Emby could be getting around halfway through (assuming a streaming/SAX style parser) and failing at that point.

 

* Actually, at this moment he has 4077 Likes, which may simply mean he is a MASH fan and set his number to that. I'm a big fan of MASH, so I'd still trust him!

  • Like 2
Posted

Look at your TV series "FireFly".

 

If you are having disc errors, that could be the root cause of everything.

Awesome - I will give that a whirl and see what is happening there!

Posted

I could see drive errors causing many of these issues, but I am not familiar enough with unRAID to speculate. Generally, I recommend checking network, permission and plug-ins before blaming hardware. However, if this is already a known issue it may be better not to mess with it too much until you have a stable foundation.

 

As for the refresh, I would pick something that doesn't have the right data at the moment. Not sure why ebr picked Firefly, but I would trust him on that - he is Legendary for a reason*, and see if the Refresh or Advance Refresh fixes the XML problem for that show. I would probably select Advanced Refresh so I knew I was replacing the metadata.

 

Regarding the stack trace, all I can say is the error is from a movie, since Title is the top level node for movies. Role is the last child node of Person, which is a child node of Persons. I do have some files with "TmdbCollectionName" after it - but only for movies that the Autoboxset Plug-in identified (I assume). The Persons node takes up most of the line count in the file, so Emby could be getting around halfway through (assuming a streaming/SAX style parser) and failing at that point.

 

* Actually, at this moment he has 4077 Likes, which may simply mean he is a MASH fan and set his number to that. I'm a big fan of MASH, so I'd still trust him!

It is the metadata xml issue that has been throwing me - I don't understand what the issue is as I only use Emby for metadata and have only used Emby for some time now. I trust ebr - if he says sort out Firefly I am gonna damn sure look there first! 

 

As for the stack trace - I just can't use it to point me in the right direction - I'd love to not have to use the forums for what I am sure is just a minor fixable error in my configuration and leave ebr and the rest to get on with the important stuff of re-writing theatre etc, but, as a non-programmer, there's times I need some hand holding!

Posted

Don't kill yourself on the FireFly thing as that was just an educated guess on my part.  Do look at any xml within that series but if you can't find anything wonky then move on.

  • Like 1
Happy2Play
Posted (edited)

Was this the bug with people disappearing for metadata?

 

The following elements are not closed: Role, Person, Persons, Title. Line 124, position 20.

Edited by Happy2Play
Posted (edited)

Don't kill yourself on the FireFly thing as that was just an educated guess on my part.  Do look at any xml within that series but if you can't find anything wonky then move on.

What I did find was that the TV movie/documentary had been placed (error on my part) in the root folder (firefly/) rather than in the season 0 folder so Emby was treating it like a movie under a tv series. I have deleted all metadata for Firefly and moved the files to the correct locations and am now running a scan so will see what happens now...

Edited by aspdend

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...