Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two shows refuse to load/fetch metadata even after doing a plex dance. Had metadata prior to losing it. #569

Open
randomdice101 opened this issue Jun 2, 2024 · 23 comments

Comments

@randomdice101
Copy link

I've had a weird bug occur that suddenly erased all my metadata, marked all shows as if being added the same recent day. The server slowly fetched and reloaded all metadata but for some reason Mahou Tsukai Precure (Anidb-11794) and Detective Conan (Anidb-266) refuse to load metadata. Prior to the bug the two shows loaded metadata fine. I've tried to remove the shows, clear cache, empty my trash and nothing seems to fix this issue.

image
名探偵コナン [anidb-266].agent-search.log
名探偵コナン [anidb-266].agent-update.log
魔法つかいプリキュア! [anidb-11794].agent-search.log
魔法つかいプリキュア! [anidb-11794].agent-update.log
I've added the logs I could find at %plex location%\Plex Media Server\Plug-in Support\Data\com.plexapp.agents.hama\DataItems_Logs\Anime (25TB)

Hopefully that is the right log? Please let me know if there is another log you require.

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

both search function worked ok
"[名探偵コナン [anidb-266]]" log is truncated, as if it crashed but no crash error logged
"魔法つかいプリキュア! [anidb-11794]" is complete with all metadata, so you have a Plex issue, possibly corrupted database

https://support.plex.tv/articles/repair-a-corrupted-database/

@randomdice101
Copy link
Author

Is there somewhere I could see the crash log for conan?

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

It should be logged there, maybe restart plex refresh metadata for conan manually and it should be in hama agent log in l9gs folder. I did separate to create per seties log as hama logs were generally two concurrent updates logged simultaneously so was unreadable as a result

@randomdice101
Copy link
Author

Okay let me give that a shot. then ill check the corrupted database steps

@randomdice101
Copy link
Author

Produced the same log I'll try and fix the db hang on

@randomdice101
Copy link
Author

I've found the tool, I'm trying to use it to fix the db but nothing seems to be wrong per the report

@randomdice101
Copy link
Author

I've run all the steps, rebuilt the database, i'm still getting the same error. any way to fix this or logs you could help me check? I don't underestand why its refusing to load any metadata

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

Try another agent to prove if it is plex or agent specific. It should show an error on the series specific logs or hama.log.... Do not believe it is related to the agent but could be wrong

@randomdice101
Copy link
Author

randomdice101 commented Jun 2, 2024 via email

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

Create another library with another custom agent or thetvdb (not the new type libraries, they don't support third party agents, point to a folder with a series folder in it with videos inside. If it doesn't work it a plex issue. Change thz agent to hama, check if it updates metadata and if logs are full or show an error mesage...

@randomdice101
Copy link
Author

I just made a new library with thetvdb and move it to its folder. without having to do anything metadata seems to have loaded.
image

@randomdice101
Copy link
Author

randomdice101 commented Jun 2, 2024

I also made a new test library using hamatv and it finds it okay????
image
(Second entry is a collection)
image
So how can i fix the other entry?

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024 via email

@randomdice101
Copy link
Author

randomdice101 commented Jun 2, 2024

I did the clean bundle and optimize actions as well prior to this. it didn't fix it either... if i recreate with the same folder I'll lose my watch history right?

@randomdice101
Copy link
Author

Detective conan didn't load metadata however
image
Same issue as the other one

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

I am not sure but believe so...
You need to fix the plex database corruption...

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

Weird, but without logs with error message, difficult to create a fix and unlikely hama is at fault

@randomdice101
Copy link
Author

Yeah I hit refresh metadata ill post the output once its done. same log as before just from the new library right?

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

Hamlog and custom series log in case any of them have an error logged

@randomdice101
Copy link
Author

randomdice101 commented Jun 2, 2024

Where is the custom series log? I know for the hama one

@ZeroQI
Copy link
Owner

ZeroQI commented Jun 2, 2024

Title.agent.log yiu gave it previously

@randomdice101
Copy link
Author

@ZeroQI
Copy link
Owner

ZeroQI commented Nov 11, 2024

11794 seem to work ok
266 crash while building AniDBTVDBMap but did a fix for that, please update hama and refresh metadata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants