Jump to content

Metadata loss - yet again


bytesoverbombs

Recommended Posts

bytesoverbombs

Hey @Luke, @JuJuJurassic

I have experienced the same error. Instead of SMB, I'm using NFS to mount my movies/TV shows from a local NAS. I was moving around my server and started it up today to see that all metadata was deleted and found this thread. I dug through the logs and discovered that the subtitles engine is the cause of the metadata deletion. I am seeing thousands and thousands of the following errors:

```

2024-03-05 23:01:51.152 Error SubtitleManager: Error searching for subtitles on Open Subtitles
*** Error Report ***
Version: 4.8.1.0
Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3
Operating system: Ubuntu ~20.04.2
Framework: .NET 6.0.25
OS/Process: x64/x64
Runtime: app/emby/system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /app/emby/system
System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/data/tvshows/<redacted>.avi'.
at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
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 Emby.Server.Implementations.IO.ManagedFileSystem.OpenRead(String path)
at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
Source: System.Private.CoreLib
TargetSite: Void CheckIo(Error, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])

```

Then afterwards, I'm seeing thousands of related deletion error messages:

```

2024-03-05 23:01:51.152 Debug TaskManager: Download subtitles Completed after 1 minute(s) and 46 seconds
2024-03-05 23:01:51.164 Info App: Removing item from database, Type: Movie, Name: <redacted>, Path: /data/movies/<redacted>.mkv, Id: 34
2024-03-05 23:01:51.482 Info App: Deleting path /config/metadata/library/04/0406c2c292e7f79c5d6223431147224c
2024-03-05 23:01:51.660 Info App: Removing item from database, Type: Movie, Name: <redacted>, Path: /data/movies/<redacted>.mkv, Id: 35
2024-03-05 23:01:51.892 Info App: Deleting path /config/metadata/library/0b/0be709569afc6af05756329e85f8ce3d
2024-03-05 23:01:52.127 Info App: Removing item from database, Type: Movie, Name: <redacted>, Path: /data/movies/<redacted>.mkv, Id: 36
2024-03-05 23:01:52.241 Info App: Deleting path /config/metadata/library/e7/e724f2c28c9fe75e451c1d84bb6e22f9
2024-03-05 23:01:52.506 Info App: Removing item from database, Type: Movie, Name: <redacted>, Path: /data/movies/<redacted>.avi, Id: 37
2024-03-05 23:01:52.685 Info App: Deleting path /config/metadata/library/5b/5bc2b177600c350642220a5dface526b

```

Do you have any ideas Luke?

Love the software btw! I bought premiere lifetime.

Thanks

 

Link to comment
Share on other sites

Also please attach the complete emby server log. Thanks.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...