HaveAGitGat / Tdarr

Tdarr - Distributed transcode automation using FFmpeg/HandBrake + Audio/Video library analytics + video health checking (Windows, macOS, Linux & Docker)
Other
2.97k stars 92 forks source link

Healtcheck always fails the first time after transcode. #903

Closed yeyeoke closed 11 months ago

yeyeoke commented 11 months ago

Describe the bug Healthchecks after transcodes almost always "fails". They get added to the tab "Transcode Error/Canceled". If I reque the health check it completes successfully and the report states that everything finished successfully.

To Reproduce I have no idea to be honest.

Expected behavior A successful health check should not show up as failed.

Screenshots

Skärmavbild 2023-11-04 kl  11 54 33 Skärmavbild 2023-11-04 kl  11 44 42 Skärmavbild 2023-11-04 kl  11 45 01

Please provide the following information:

{ "nodeID": "UBU-Media", "nodeName": "UBU-Media", "serverIP": "0.0.0.0", "serverPort": "8266", "handbrakePath": "", "ffmpegPath": "", "mkvpropeditPath": "", "pathTranslators": [ { "server": "", "node": "" } ], "logLevel": "INFO", "priority": -1, "cronPluginUpdate": "", "platform_arch": "linux_x64_docker_true" }

Tdarr_Server_Config.json

{ "serverPort": "8266", "webUIPort": "8265", "serverIP": "0.0.0.0", "handbrakePath": "", "ffmpegPath": "", "logLevel": "INFO", "mkvpropeditPath": "", "ccextractorPath": "", "openBrowser": true, "cronPluginUpdate": "" }

8ci3lmeSZ-log.txt vsnYbXGmjr5-log.txt

-Worker error [can be found on the 'Tdarr' tab by pressing the 'i' button on a failed item in the staged file section or in the transcode error section at the bottom]

No errors.

Additional context Tdarr is in a docker container on Host 1, the media is stored on Host 2 and shared over NFS.

HaveAGitGat commented 11 months ago

Hi this happens when FFprobe fails to scan the new file after it's been moved to the library so seems maybe something else is using/scanning the new file?

If you run a health check in a flow then you can add a wait which might prevent this issue.

image

I've updated for next version so it goes into the health check queue even if ffprobe fails after the new file move.