Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
Support response
Support checklist
if (!$ffprobe->isValid($file)) {
throw new Exception("Invalid video file provided", 610);
}
Invalid video file provided (610)
?What's this?
chevereto/app/src/Legacy/G/functions.php at c8b0b3939daf4fcb271b5d613d2d9540c2847ec0 · chevereto/chevereto
Mature and trusted self-hosted image and video hosting solution since 2009. Create your own Flickr/Imgur-style media sharing platform with full control over your content and rules. - chevereto/chev...github.com
:~$ which ffmpeg
/usr/bin/ffmpeg
:~$ which ffprobe
/usr/bin/ffprobe
:~$ ffmpeg -version
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
i got same errorTurn off open_basedir
sudo apt install ffmpeg
after upload video file
Error report show
?What's this?
Never said anything about FFmpeg not being installed. I showed you how the system pass the upload to ffprobe, if that tells me "invalid file" then that's what Chevereto gets. Most likely the file is corrupted or your FFmpeg package doesn't support the file you are trying to upload.ffmpeg should be installed correctly.
But I don't understand how this error happens.
Is it a problem with the video file itself?
Same error, same response. Chevereto just pass the file to FFprobe binary and if FFprobe command output says "invalid file" then that's what Chevereto gets. Chevereto rely on FFprobe for detection, simple as that.Same error getting "Invalid video file provided (610)"
if (!$ffprobe->isValid($file)) {
throw new Exception("Invalid video file provided", 610);
}
after removing proc_open and proc_close, it is working fine now. Thanks for the solution.I found a solution to fix the error. You can edit your PHP configuration file and remove proc_open and proc_close from the disable_functions setting.
I discovered this solution by commenting out this code:
PHP:if (!$ffprobe->isValid($file)) { throw new Exception("Invalid video file provided", 610); }
This revealed the actual error message: "The Process class relies on proc_open, which is not available on your PHP installation."
Thumb wasn't generated, the system expects the thumb to always being generated.What caused it?
Weird, I even open exec and shell_exec.Thumb wasn't generated, the system expects the thumb to always being generated.
Have you managed to fix this error?Weird, I even open exec and shell_exec.
But it still reports an error.
Was any of the permissions not given enough?
View attachment 5811
View attachment 5812
View attachment 5813
The file is a vertical video shot on a cell phone.
I looked at the video thumbnail file that was generated.
It just doesn't show up on the web side.
After clicking Delete, the file remains in the folder.
No, the problem is still there.Have you managed to fix this error?
I have the same issueView attachment 5826
18:50:44.322034 2024] [proxy_fcgi:error] [pid 905:tid 139909915915840] [remote xxx.xxx.122.17:0] AH01079: failed to make connection to backend: localhost
18:50:44.322088 2024] [proxy_fcgi:error] [pid 905:tid 139909924308544] [remote xxx.xxx.171.11:0] AH01079: failed to make connection to backend: localhost
18:52:59.347879 2024] [core:error] [pid 904:tid 139909605385792] (13)Permission denied: [remote xxx.xxx.xx.xx:0] AH00132: file permissions deny server access: /home/admin/domains/xxx.xxx/private_html/images/2024/04/27/Public-toilet.fr.jpeg, referer: https://xxx.xxx/explore/recent
18:53:02.671157 2024] [core:error] [pid 904:tid 139909580207680] (13)Permission denied: [remote xxx.xxx.xx.xx:0] AH00132: file permissions deny server access: /home/admin/domains/xxx.xxx/private_html/images/2024/04/27/Public-toilet.fr.jpeg, referer: https://xxx.xxx/explore/recent
19:06:58.528703 2024] [proxy_fcgi:error] [pid 2685:tid 139909748061760] [remote xx.xx.35.162:0] AH01067: Failed to read FastCGI header
19:06:58.528787 2024] [proxy_fcgi:error] [pid 2685:tid 139909748061760] (104)Connection reset by peer: [remote xx.xx.35.162:0] AH01075: Error dispatching request to :
19:22:20.978492 2024] [proxy:error] [pid 937:tid 140651620046400] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php81/sockets/admin.sock (localhost:8000) failed
19:22:21.067901 2024] [proxy_fcgi:error] [pid 937:tid 140651620046400] [remote xx.xx.35.162:0] AH01079: failed to make connection to backend: localhost
19:22:22.614259 2024] [proxy_fcgi:error] [pid 937:tid 140651611653696] [remote xxx.xxx.xxx.xx:0] AH01079: failed to make connection to backend: localhost, referer: https://xxx.xxx
The video is currently being stored on the local disk instead of being stored on S3, what could be the reason?after removing proc_open and proc_close, it is working fine now. Thanks for the solution.
Storage needs to be enabled for video, by default existing storage is enabled for images.The video is currently being stored on the local disk instead of being stored on S3, what could be the reason?