snodrog742 34 Posted January 6, 2022 Posted January 6, 2022 (edited) Lost some of my metadata folder... unrecoverable, no big deal. Trying to re-build metadata and it fills in everything but the Primary cover image. I force Refresh Metadata on an item and get this: System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/metadata/metadata/library/61/61426dc7f35740e19a5d8df3d82470b8/folder.jpg'. It never rebuilds the Primary image unless I manually go in to Edit Images > download under Primary > choose a cover so this means my metadata folder is accessible and writeable. This is way too time consuming for all missing items. What am I missing? Edited January 6, 2022 by snodrog742
byakuya32 24 Posted January 6, 2022 Posted January 6, 2022 5 minutes ago, snodrog742 said: Lost some of my metadata folder... unrecoverable, no big deal. Trying to re-build metadata and it fills in everything but the Primary cover image. I force Refresh Metadata on an item and get this: System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/metadata/metadata/library/61/61426dc7f35740e19a5d8df3d82470b8/folder.jpg'. It never rebuilds the Primary image unless I manually go in to Edit Images > download under Primary > choose a cover so this means my metadata folder is accessible and writeable. This is way too time consuming for all missing items. What am I missing? I had this and ran chmod -R 777 on the emby folders then refreshed and it worked along with solving some other issues.
snodrog742 34 Posted January 6, 2022 Author Posted January 6, 2022 8 minutes ago, byakuya32 said: I had this and ran chmod -R 777 on the emby folders then refreshed and it worked along with solving some other issues. Thanks. I know the folder is mounted as 777 but will retry to be sure. I'm stumped on this one.
Luke 42078 Posted January 7, 2022 Posted January 7, 2022 Please attach the complete emby server log. thanks.
snodrog742 34 Posted January 8, 2022 Author Posted January 8, 2022 21 hours ago, Luke said: Please attach the complete emby server log. thanks. embyserver.txt
Luke 42078 Posted January 9, 2022 Posted January 9, 2022 On 1/8/2022 at 2:00 PM, snodrog742 said: embyserver.txt 695.93 kB · 1 download Does this file exist? System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/metadata/metadata/library/5e/5e3f0ef1932c4fa0807c38b00a86900c/folder.jpg'.
snodrog742 34 Posted January 9, 2022 Author Posted January 9, 2022 1 hour ago, Luke said: Does this file exist? System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/metadata/metadata/library/5e/5e3f0ef1932c4fa0807c38b00a86900c/folder.jpg'. No. But Emby never recreates this file no matter what. '/media/metadata/metadata/library/' does exist and is accessible to Emby.
Luke 42078 Posted January 10, 2022 Posted January 10, 2022 Was it never there to begin with, or was it there and something deleted it? That's what we don't know yet, since this is something that happened in the past, there isn't really any way to know. But the server is trying to read that file, which means it thinks it should be there, and therefore suggests that it did successfully save there at some point, but then was deleted later. Please note, if you manually tamper with the contents of the server's metadata folder, then you need to run the scan metadata folder scheduled task afterwards in order to make it aware of the changes. You don't need to do this following changes that you make in the Emby UI, only when you tamper with the folders directly in the file system.
snodrog742 34 Posted January 10, 2022 Author Posted January 10, 2022 1 hour ago, Luke said: Was it never there to begin with, or was it there and something deleted it? That's what we don't know yet, since this is something that happened in the past, there isn't really any way to know. But the server is trying to read that file, which means it thinks it should be there, and therefore suggests that it did successfully save there at some point, but then was deleted later. Please note, if you manually tamper with the contents of the server's metadata folder, then you need to run the scan metadata folder scheduled task afterwards in order to make it aware of the changes. You don't need to do this following changes that you make in the Emby UI, only when you tamper with the folders directly in the file system. It was there and then I or some action unrelated to Emby deleted some portions of metadata including this file. I've ran the Scan Metadata Folder task but still with same results - it looks for this file that does not exist.
Luke 42078 Posted January 10, 2022 Posted January 10, 2022 2 minutes ago, snodrog742 said: It was there and then I or some action unrelated to Emby deleted some portions of metadata including this file. I've ran the Scan Metadata Folder task but still with same results - it looks for this file that does not exist. Do you know what item that belongs to?
snodrog742 34 Posted January 10, 2022 Author Posted January 10, 2022 3 minutes ago, Luke said: Do you know what item that belongs to? Not definitively but it appears when Refreshing Metadata for a certain show so presumptively, yes. Refreh Metadata > Replace Existing Images never fills in this image (Primary)
snodrog742 34 Posted January 10, 2022 Author Posted January 10, 2022 8 minutes ago, Luke said: Do you know what item that belongs to? Refreshed '68 Whiskey' and this is what images it puts in. Logs attached as well. embyserver.txt
Luke 42078 Posted January 13, 2022 Posted January 13, 2022 On 1/10/2022 at 3:21 PM, snodrog742 said: Refreshed '68 Whiskey' and this is what images it puts in. Logs attached as well. embyserver.txt 102.58 kB · 2 downloads How did you determine that it's related to this item?
snodrog742 34 Posted January 13, 2022 Author Posted January 13, 2022 (edited) 1 hour ago, Luke said: How did you determine that it's related to this item? When I refresh metadata for this show you can see the line in the log at the same exact time. It also doesn't matter which show. 1000's won't add a Primary image. How do I get this corrected when it's been a week with no actual help? Edited January 13, 2022 by snodrog742
snodrog742 34 Posted January 16, 2022 Author Posted January 16, 2022 Thanks again for not caring to fix the issue. Usual Luke fashion.
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