AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

Broken Missing files - Bug updating videos listing

Open gbrn opened this issue 9 months ago • 9 comments

@DanielnetoDotCom Danny, in some videos that are presenting Broken Missing files. I will upload the video file again to correct the problem. But the system keeps saying Broken Missing files even with the correct files in the directory. Only when I enable the video, the system finds the modified file. I don't understand how the file checking cycle works, whether it is from time to time or every time the MVIDEO video listing is opened.

Check:

https://github.com/WWBN/AVideo/assets/37880073/07668c93-07bd-4f14-8500-3b49207428f2

gbrn avatar May 03 '24 02:05 gbrn

When you say "Only when I enable the video", do you mean make them active?

DanielnetoDotCom avatar May 03 '24 12:05 DanielnetoDotCom

Yes, when I activate the video it works. But before that the error keeps "Broken Missing files". This causes a false negative. And in fact I don't know if it's correct if I don't activate the video. The video above shows this happening.

gbrn avatar May 07 '24 15:05 gbrn

I just sent an update that may give a better log when your file turns into a "Broken Missing file"

please update, reproduce the error, and share the log.

DanielnetoDotCom avatar May 08 '24 15:05 DanielnetoDotCom

@DanielnetoDotCom Before the pull, I did a test and a video that was in the "Broken Missing file" status, I uploaded the poster and it went from the "Broken Missing file" status to "Active". I noticed that the system was not updating the status automatically, only after some command for the video, such as manually activating a video or updating an image.

I will run new tests after the PULL and notify you and provide feedback.

gbrn avatar May 11 '24 21:05 gbrn

Check out this error (which happened before the last PULL): Video with status "Broken Missing files": image

I try to access the file directly.... it shows the message "Not Found" https://cnetv.com.br/videos/video_220911225633_va98d/video_220911225633_va98d_HD.mp4 image

The file exists on the server, but is only 285kb: image

It is important to note that I did not change anything in this file and it was corrupted by some script.

gbrn avatar May 11 '24 22:05 gbrn

@DanielnetoDotCom Danny... this video here is also in the status of "Broken Missing files". But different from the previous video reported. I was able to locate the file that was transferred from the local server to the storage server. Although the system does not find the file.

LOCAL: https://cnetv.com.br/videos/_YPTuniqid_609b57e85c3fe3.70429701/_YPTuniqid_609b57e85c3fe3.70429701_720.mp4

STORAGE: https://storage01.cnetv.com.br/videos/_YPTuniqid_609b57e85c3fe3.70429701/_YPTuniqid_609b57e85c3fe3.70429701_720.mp4

image

I re-uploaded the same file.... and the "Broken Missing files" status persists... until I manually change the status from inactive to active. Check: image

gbrn avatar May 13 '24 00:05 gbrn

check the content of this file

image

cat ......videos/video_220911225633_va98d/video_220911225633_va98d_HD.mp4

DanielnetoDotCom avatar May 13 '24 13:05 DanielnetoDotCom

@DanielnetoDotCom I verified that the content of the MP4 file is HTML... would this be the DUMP file? I think this file was converted when transferring from the LOCAL server to the STORAGE server.

image

gbrn avatar May 13 '24 18:05 gbrn

I am not sure what is happening,

why are you downloading files from your storage to the local?

what is the modification time?

what happen in your log in the modification time?

DanielnetoDotCom avatar May 13 '24 19:05 DanielnetoDotCom