• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Container is binding to incorrect subnet and ignoring network.xml

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Container is binding to incorrect subnet and ignoring network.xml

    docker container is binding to 192.168.0.0/16 instead of 192.168.1.0/24 and ignoring network.xml
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #1
    2024-04-03, 06:12 PM
    My docker container is binding to Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
    It should be 192.168.1.0/24


    I did some research and it said to add the subnet to this file like this:
    jellyfin/config/config/network.xml

    in the file add it to:
    <LocalNetworkSubnets>192.168.1.0/24 <LocalNetworkSubnets />


    It still bound to 192.168.0.0/16
    So I added to the config line below it:
    <LocalNetworkAddresses>192.168.1.201<LocalNetworkAddresses />

    it still binds to Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]

    I'm using --net=host
    The 3 adapters are:
    Docker: 172.17.0.1
    ethernet: 192.168.1.201
    loopback: 127.0.0.1
    How can I make my container bind to 192.168.1.0/24 instead of Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]

    Log file attached.

    Here is what I'm using to deploy the container:

    docker run -d --name jellyfin -e PUID=1000 -e PGID=1000 --net=host -v {config mount location} -v {cache mount location} -v {media mount location} --restart=unless-stopped jellyfin/jellyfin


    Attached Files
    .txt   _jellyfin_logs(1).txt (Size: 9.18 KB / Downloads: 66)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-03, 06:27 PM
    This is not for defining which NIC to bind to. It is for defining what address space is considered "internal" for the purposes of bit rate control. And if you did not enable "Allow remote connections", addresses outside of the address spaces defined in this config are considered "external" and are denied access

    Also, you can add subnets in the Jellyfin dashboard.

    Dashboard > Networking

    If you do want to define a specific IP/interface, that config is also in the same section. By default, Jellyfin binds to all available interfaces. If you define 192.168.1.201 as the interface to bind to then it won't bind to the local loopback. Not sure if that mattered.

    Also, 192.168.0.0/16 includes 192.168.1.0/24.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #3
    2024-04-03, 06:33 PM
    The problem is that the Jellyfin container is binding to the wrong subnet so on the host that Docker is running on, I can't reach localhost:8096
    Allow remote connections is enabled

    I have removed this part of the config: <LocalNetworkAddresses>192.168.1.201
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #4
    2024-04-03, 06:40 PM
    This is my network.xml for the Jellyfin container:

    <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>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-04-03, 06:43 PM (This post was last modified: 2024-04-03, 06:45 PM by TheDreadPirate. Edited 1 time in total.)
    Code:
    [17:25:26] [INF] [1] Main: Kestrel listening on Any IP4 Address

    It says it is listening on all interfaces.

    The only thing I can think of that would cause this is if this container is being run in a VM with a virtual NIC. By default Jellyfin will ignore virtual NICs with a "vEthernet" in the name.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #6
    2024-04-03, 06:44 PM (This post was last modified: 2024-04-03, 06:46 PM by ghostkjb.)
    This is the latest log output:



    [18:41:08] [INF] [1] Main: Jellyfin version: 10.8.13
    [18:41:08] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /cache]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_DATA_DIR, /config]"]
    [18:41:08] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
    [18:41:08] [INF] [1] Main: Operating system: Linux
    [18:41:08] [INF] [1] Main: Architecture: X64
    [18:41:08] [INF] [1] Main: 64-Bit Process: True
    [18:41:08] [INF] [1] Main: User Interactive: True
    [18:41:08] [INF] [1] Main: Processor count: 4
    [18:41:08] [INF] [1] Main: Program data path: /config
    [18:41:08] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
    [18:41:08] [INF] [1] Main: Application directory: /jellyfin/
    [18:41:08] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
    [18:41:08] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    [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)
    [18:41:08] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
    [18:41:08] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
    [18:41:08] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
    [18:41:08] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
    [18:41:08] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
    [18:41:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.13.0
    [18:41:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.13.0
    [18:41:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.13.0
    [18:41:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.13.0
    [18:41:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.13.0
    [18:41:37] [INF] [1] Main: Kestrel listening on Any IP4 Address
    [18:41:37] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {32544bad-5cfb-4929-8006-99f598a3f030} may be persisted to storage in unencrypted form.
    [18:41:37] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
    [18:41:37] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-04-04 02:00:00.000 +00:00, which is 07:18:22.0157853 from now.
    [18:41:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 5.1.4
    [18:41:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
    [18:41:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
    [18:41:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
    [18:41:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
    [18:41:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
    [18:41:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 4473513f39104d43806440d7d10c2fce
    [18:41:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.2193826
    [18:41:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
    [18:41:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.2876196
    [18:41:39] [INF] [1] Main: Startup complete 0:00:31.6087095
    [18:41:41] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
    [18:41:41] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
    [18:41:41] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
    [18:41:41] [INF] [16] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/movies
    [18:41:41] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds
    [18:41:41] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    [18:41:44] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/shows
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'AccessSchedule' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'CustomItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'HomeSection' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ImageInfo' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Permission' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Preference' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ApiKey' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Device' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DeviceOptions' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    [18:42:08] [WRN] [14] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'User' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.

    (2024-04-03, 06:43 PM)TheDreadPirate Wrote:
    Code:
    [17:25:26] [INF] [1] Main: Kestrel listening on Any IP4 Address

    It says it is listening on all interfaces.

    The only thing I can think of that would cause this is if this container is being run in a VM with a virtual NIC. By default Jellyfin will ignore virtual NICs with a "vEthernet" in the name.

    I'm investigating this now. The OS running docker is a VM.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-04-03, 06:46 PM
    (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 />
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #8
    2024-04-03, 06:48 PM
    The nic name on the VM that I want it to use is enp6s18
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-04-03, 06:48 PM
    (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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #10
    2024-04-03, 06:50 PM (This post was last modified: 2024-04-03, 06:54 PM by ghostkjb.)
    (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>
    Pages (3): 1 2 3 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode