peter2020 2 Posted September 22, 2023 Share Posted September 22, 2023 Hello. I faced the issue that I cannot change any Live TV Channel or Edit Playlist anymore. Emby Clients got a http 500 error from server with response: "The 'meta' start tag on line 8 position 8 does not match the end tag of 'head'. Line 10, position 5." When looking into embyserver.txt I found: 2023-09-22 13:49:20.287 Error Server: Error processing request *** Error Report *** Version: 4.7.14.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 4.19.0-18-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.208-1 (2021-09-29) Framework: .NET 6.0.20 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 12 Data path: /var/lib/emby Application path: /opt/emby-server/system System.Xml.XmlException: System.Xml.XmlException: The 'meta' start tag on line 8 position 8 does not match the end tag of 'head'. Line 10, position 5. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) at System.Xml.XmlTextReaderImpl.ParseEndElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlReader.ReadToDescendant(String name) at Emby.XmlTV.XmlTvReader.GetChannels(String path) at Emby.XmlTV.XmlTvProvider.GetChannels(ListingsProviderInfo info, CancellationToken cancellationToken) at Emby.LiveTV.EmbyTV.GetEpgChannelData(IListingsProvider provider, ListingsProviderInfo info, CancellationToken cancellationToken) at Emby.LiveTV.EmbyTV.QueryChannelsAsync(ChannelManagementQuery query, CancellationToken cancellationToken) at Emby.LiveTV.LiveTvManager.GetTunerChannelsForManagementAsync(ChannelManagementQuery query, CancellationToken cancellationToken) at MediaBrowser.LiveTV.Api.LiveTvService.Get(GetChannelManagementList request) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: System.Private.Xml TargetSite: Void Throw(System.Exception) Any suggestions how to solve? Thank you in advanced. PS: When trying to change any channel, I got the blue spinning circle and the http 500 error occurs. Link to comment Share on other sites More sharing options...
Luke 37084 Posted September 23, 2023 Share Posted September 23, 2023 HI, one of your xmltv sources is not returning valid data. Currently when this happens, our editing features may not recover very well. This is something we're working on improving. In the meantime, just remove the invalid xml guide source and that should get you squared away. Link to comment Share on other sites More sharing options...
peter2020 2 Posted September 23, 2023 Author Share Posted September 23, 2023 Hi Luke, Thanks a lot for looking into this. Indeed, that was the problem. I had a cronjob grapping data from webgrapplus and one of this guides / sources had a problem and the xml file was not correct. After fixing this and refresh livetv guide data task, everythink is working again. Thank you! 1 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