(2024-04-03, 06:46 PM)TheDreadPirate Wrote:(2024-04-03, 06:40 PM)ghostkjb Wrote: <LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets/>
<LocalNetworkAddresses>
<KnownProxies/>
<EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
</NetworkConfiguration>
Is this a copy and paste?
Some of the syntax is wrong.
This
<LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets/>
<LocalNetworkAddresses>
Should be
<LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets>
<LocalNetworkAddresses />
I typed it out, it's currently:
<LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets>
<LocalNetworkAddresses />
(2024-04-03, 06:48 PM)TheDreadPirate Wrote:(2024-04-03, 06:44 PM)ghostkjb Wrote: [18:41:08] [ERR] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Error loading configuration file: /config/config/network.xml
System.InvalidOperationException: There is an error in XML document (2, 1).
---> System.Xml.XmlException: Data at the root level is invalid. Line 2, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderNetworkConfiguration.Read3_NetworkConfiguration()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
at Emby.Server.Implementations.AppBase.BaseConfigurationManager.LoadConfiguration(String path, Type configurationType)
This confirms my last post. Fix the XML as suggested in my last post.
I don't see my error now so I'm going to grab the current full network.xml:
<?xml version="1.0" encoding="utf-8"?>
NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<RequireHttps>false</RequireHttps>
<CertificatePath />
<CertificatePassword />
<BaseUrl />
<PublicHttpsPort>8920</PublicHttpsPort>
<HttpServerPortNumber>8096</HttpServerPortNumber>
<HttpsPortNumber>8920</HttpsPortNumber>
<EnableHttps>false</EnableHttps>
<PublicPort>8096</PublicPort>
<UPnPCreateHttpPortMap>false</UPnPCreateHttpPortMap>
<UDPPortRange />
<EnableIPV6>false</EnableIPV6>
<EnableIPV4>true</EnableIPV4>
<EnableSSDPTracing>false</EnableSSDPTracing>
<SSDPTracingFilter />
<UDPSendCount>2</UDPSendCount>
<UDPSendDelay>100</UDPSendDelay>
<IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
<VirtualInterfaceNames>vEthernet*</VirtualInterfaceNames>
<GatewayMonitorPeriod>60</GatewayMonitorPeriod>
<TrustAllIP6Interfaces>false</TrustAllIP6Interfaces>
<HDHomerunPortRange />
<PublishedServerUriBySubnet />
<AutoDiscoveryTracing>false</AutoDiscoveryTracing>
<AutoDiscovery>true</AutoDiscovery>
<RemoteIPFilter />
<IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
<EnableUPnP>false</EnableUPnP>
<EnableRemoteAccess>true</EnableRemoteAccess>
<LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets>
<LocalNetworkAddresses />
<KnownProxies />
<EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
</NetworkConfiguration>