2024-08-13, 03:27 PM
I see two things. Your server is crashing. I suspect it is not gracefully handling the client repeatedly not closing the websocket properly (I see repeated loss of web socket messages prior to the FTL errors).
And after it started up, post crash, I see a bunch of these messages.
Almost like the previous jellyfin instance may still be tying up a some files, causing the new instance to drop them.
And after it started up, post crash, I see a bunch of these messages.
Code:
[2024-08-12 20:07:11.599 +03:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in "The Babysitter Collection" cannot be found at "/Media/Video/Movies/z_Just_downloaded_z/The.Babysitter[2017]/The.Babysitter.2017.1080p.NF.WEB-DL.DD5.1.x264-NTG.mkv"
[2024-08-12 20:07:11.601 +03:00] [ERR] [20] MediaBrowser.Providers.Manager.ProviderManager: Error in metadata saver
System.IO.IOException: The process cannot access the file '/config/data/collections/The Babysitter Collection [boxset]/collection.xml' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.FileStream..ctor(String path, FileStreamOptions options)
at MediaBrowser.LocalMetadata.Savers.BaseXmlSaver.SaveAsync(BaseItem item, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadataAsync(BaseItem item, ItemUpdateType updateType, IEnumerable`1 savers)
Almost like the previous jellyfin instance may still be tying up a some files, causing the new instance to drop them.