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

Broken Missing files - Bug updating videos listing #9031

Open
gbrn opened this issue May 3, 2024 · 9 comments
Open

Broken Missing files - Bug updating videos listing #9031

gbrn opened this issue May 3, 2024 · 9 comments
Labels

Comments

@gbrn
Copy link
Contributor

gbrn commented May 3, 2024

@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:

Minha-conta-.-CNETV.mp4
@gbrn gbrn added the bug label May 3, 2024
@DanielnetoDotCom
Copy link
Member

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

@gbrn
Copy link
Contributor Author

gbrn commented May 7, 2024

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.

@DanielnetoDotCom
Copy link
Member

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.

@gbrn
Copy link
Contributor Author

gbrn commented May 11, 2024

@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
Copy link
Contributor Author

gbrn commented May 11, 2024

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
Copy link
Contributor Author

gbrn commented May 13, 2024

@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

@DanielnetoDotCom
Copy link
Member

check the content of this file

image

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

@gbrn
Copy link
Contributor Author

gbrn commented May 13, 2024

@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

@DanielnetoDotCom
Copy link
Member

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?

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

No branches or pull requests

2 participants