[Issue]: Error extracting DLNA profiles. #3386

Closed
opened 2026-02-06 23:12:46 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @marius-luca-87 on GitHub (Nov 20, 2021).

Please describe your bug

When starting Jellyfin 10.8.0 Alpha 2 with old DLNA system profiles an exception is thrown and all DLNA profiles stop from loading.

Jellyfin Version

Other

if other:

10.8.0 Alpha 2

Environment

- OS: Windows 11/Official Docker Image
- Virtualization:
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

Emby.Dlna.DlnaManager: Error extracting DLNA profiles.
System.IO.IOException: The file 'C:\Users\Marius\AppData\Local\jellyfin\config\dlna\system\Sony Bravia (2010).xml' already exists.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.FileStream..ctor(String path, FileStreamOptions options)
   at Emby.Dlna.DlnaManager.ExtractSystemProfilesAsync() in e:\OpenSource\jellyfin\Emby.Dlna\DlnaManager.cs:line 355
   at Emby.Dlna.DlnaManager.InitProfilesAsync() in e:\OpenSource\jellyfin\Emby.Dlna\DlnaManager.cs:line 64

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @marius-luca-87 on GitHub (Nov 20, 2021). ### Please describe your bug When starting Jellyfin 10.8.0 Alpha 2 with old DLNA system profiles an exception is thrown and all DLNA profiles stop from loading. ### Jellyfin Version Other ### if other: 10.8.0 Alpha 2 ### Environment ```markdown - OS: Windows 11/Official Docker Image - Virtualization: - Clients: - Browser: - FFmpeg Version: - Playback Method: - Hardware Acceleration: - Plugins: - Reverse Proxy: - Base URL: - Networking: - Storage: ``` ### Jellyfin logs ```shell Emby.Dlna.DlnaManager: Error extracting DLNA profiles. System.IO.IOException: The file 'C:\Users\Marius\AppData\Local\jellyfin\config\dlna\system\Sony Bravia (2010).xml' already exists. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) at System.IO.FileStream..ctor(String path, FileStreamOptions options) at Emby.Dlna.DlnaManager.ExtractSystemProfilesAsync() in e:\OpenSource\jellyfin\Emby.Dlna\DlnaManager.cs:line 355 at Emby.Dlna.DlnaManager.InitProfilesAsync() in e:\OpenSource\jellyfin\Emby.Dlna\DlnaManager.cs:line 64 ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bug label 2026-02-06 23:12:46 +03:00
Author
Owner

@marius-luca-87 commented on GitHub (Nov 20, 2021):

Sony Bravia (2010).zip

@marius-luca-87 commented on GitHub (Nov 20, 2021): [Sony Bravia (2010).zip](https://github.com/jellyfin/jellyfin/files/7574780/Sony.Bravia.2010.zip)
Author
Owner

@marius-luca-87 commented on GitHub (Nov 20, 2021):

Just erasing the existing DLNA system profiles and restarting the server solves the issue.

@marius-luca-87 commented on GitHub (Nov 20, 2021): Just erasing the existing DLNA system profiles and restarting the server solves the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#3386