JuJuJurassic 49 Posted February 28, 2023 Posted February 28, 2023 My network swich was turned off, so my emby server lost access to the SMB data store. Now it's lost all the movies from it's library, a rescan files brings them back, but with no metadata. Now it's bringing the metadata back, but in doing so it loses the order the films were added. Why is this happening, the metadata is stored with the media, as in meta1 attached. The recently watched area also wrong, quite out of date, is this a clue? Does rescan files force a metadate refesh too? What can I do to stop this happening? It's driving me nuts. Thanks embyserver.txt
Luke 42083 Posted February 28, 2023 Posted February 28, 2023 HI, do you have the previous server log from when they disappeared?
JuJuJurassic 49 Posted March 1, 2023 Author Posted March 1, 2023 Hi Luke, Thank you for looking at this. I've attached a log file I think covers the time period, but I'm not certain, in it I can see removal of just a couple of items, search for "Cool Runnings" There are also generally reoccuring errors ; "02-27 12:36:44.173 Error FileSystem: Error determining LastAccessTimeUtc for /mnt/films/We Summon the Darkness (2019) []/We Summon the Darkness (2019) [Bluray-480p].mkv *** Error Report *** Version: 4.7.11.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.4.0-139-generic (buildd@lcy02-amd64-112) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #156-Ubuntu SMP Fri Jan 20 17:27:18 UTC 2 Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 16 Data path: /var/lib/emby Application path: /opt/emby-server/system System.ArgumentOutOfRangeException: System.ArgumentOutOfRangeException: Valid values are between -62135596800 and 253402300799, inclusive. (Parameter 'seconds') at System.DateTimeOffset.FromUnixTimeSeconds(Int64 seconds) at Emby.Server.Implementations.IO.ManagedFileSystem.GetLastWriteTimeUtc(FileSystemInfo info) Source: System.Private.CoreLib TargetSite: System.DateTimeOffset FromUnixTimeSeconds(Int64)" I don't know if these are relevant. It's the fact the "Latest films" are listed by discovery order that is causing the main problem, for example the 1934 Dognapper is listed as recently added, when it was actually added in 2007. Is there a way of adding the films and listing them by file creation date? That way, is an older films was added, it would be corectly listed as recently added as it's creation date on the file system would be recent. Here's the properties of the "recently added" Mickey mouse file I'm referring to. Thanks again for your help embyserver (16).txt
ebr 16187 Posted March 1, 2023 Posted March 1, 2023 4 hours ago, JuJuJurassic said: Is there a way of adding the films and listing them by file creation date? Hi. Yes, this is an option in the library settings.
JuJuJurassic 49 Posted March 3, 2023 Author Posted March 3, 2023 Hi Luke, Did the log file give you any hints as to why this is happening? Thanks
Luke 42083 Posted March 3, 2023 Posted March 3, 2023 2 hours ago, JuJuJurassic said: Hi Luke, Did the log file give you any hints as to why this is happening? Thanks No, I don't think this is the log from when the content actually got removed. Can you find that one? The log will have lots of Removing item from database... lines. The ones in this log file are from the TuneIn plugin I believe.
JuJuJurassic 49 Posted March 6, 2023 Author Posted March 6, 2023 Hi Luke, I had a look through the logs I've got, on Embyserver11 there are quite a lot of errors with creation time, could that trigger it? If not, what are all the errors? on emby server 10 it's dong the metadata search, which I probably triggered, but is there anything at the begining of the logs. If they're of no use, I'll wait till it happens again and send the log over. Hopefully I won't be sending it I've put the Emby server, network switch and SMB server on the same smart switch, so now the power will restore to all or none. so I shouldn't end up with the emby server up and the SMB server unavailable. Thanks for looking at it embyserver (11).txt embyserver (10).txt
Luke 42083 Posted March 6, 2023 Posted March 6, 2023 2 hours ago, JuJuJurassic said: Hi Luke, I had a look through the logs I've got, on Embyserver11 there are quite a lot of errors with creation time, could that trigger it? If not, what are all the errors? on emby server 10 it's dong the metadata search, which I probably triggered, but is there anything at the begining of the logs. If they're of no use, I'll wait till it happens again and send the log over. Hopefully I won't be sending it I've put the Emby server, network switch and SMB server on the same smart switch, so now the power will restore to all or none. so I shouldn't end up with the emby server up and the SMB server unavailable. Thanks for looking at it embyserver (11).txt 1.95 MB · 0 downloads embyserver (10).txt 1.25 MB · 0 downloads No, that just means it's unable to read the date created timestamp of your files. Most likely it has junk data in it, based on what we've seen in the past.
JuJuJurassic 49 Posted March 9, 2023 Author Posted March 9, 2023 Hi Luke, I think the best thing is for me to upload a log if I have the problem again. I don't want to waste your time. Thanks
Luke 42083 Posted March 9, 2023 Posted March 9, 2023 1 hour ago, JuJuJurassic said: Hi Luke, I think the best thing is for me to upload a log if I have the problem again. I don't want to waste your time. Thanks That would be great, thanks !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now