WWBN / AVideo-Encoder

Encoder Server for AVideo Platform Open-Source
https://platform.avideo.com
GNU Affero General Public License v3.0
152 stars 189 forks source link

Could not save file #517

Open fnbsullivan opened 1 year ago

fnbsullivan commented 1 year ago

Encoder::run: Max tries reached Could not save file https://encode.christiantube.com/videos/original_Pakistan0_YPTuniqid_64e76e96ef2107.23749319 in /var/www/html/AVideo-Encoder/videos/17_tmpFile.mp4

File is over 570 MB.

drwxr-xr-x www-data www-data videos

Anything else I need to look at?

DanielnetoDotCom commented 1 year ago

"It's often observed that such issues arise when the script encounters difficulties downloading the video.

Would you be so kind as to check the encoder log to identify the youtube-dl command being executed? Once identified, I'd recommend running it manually to pinpoint the exact issue.

fnbsullivan commented 1 year ago

[Thu Aug 24 10:09:09.269899 2023] [php:error] [pid 53054] [client 35.216.239.19:33676] script '/var/www/html/AVideo-Encoder/info.php' not found or unable to stat [Thu Aug 24 10:09:10.068463 2023] [authz_core:error] [pid 53524] [client 35.216.239.19:33694] AH01630: client denied by server configuration: /var/www/html/AVideo-Encoder/server-status [Thu Aug 24 10:44:21.142241 2023] [php:warn] [pid 53058] [client 167.94.138.126:53984] PHP Warning: mkdir(): Permission denied in /var/www/html/AVideo/objects/functions.php on line 256 [Thu Aug 24 10:44:21.310916 2023] [core:error] [pid 53057] [client 167.94.138.126:40738] AH10244: invalid URI path (/../view/img/favicon.png) [Thu Aug 24 10:44:21.374536 2023] [php:warn] [pid 53524] [client 167.94.138.126:46624] PHP Warning: require_once(/var/www/html/AVideo/view/img/../../videos/configuration.php): Failed to open stream: No such file or directory in /var/www/html/AVideo/view/img/image404.php on line 4 [Thu Aug 24 10:44:21.374592 2023] [php:error] [pid 53524] [client 167.94.138.126:46624] PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/AVideo/view/img/../../videos/configuration.php' (include_path='.:/usr/share/php') in /var/www/html/AVideo/view/img/image404.php:4\nStack trace:\n#0 {main}\n thrown in /var/www/html/AVideo/view/img/image404.php on line 4 [Thu Aug 24 12:45:28.041689 2023] [php:warn] [pid 53062] [client 64.62.197.101:51665] PHP Warning: mkdir(): Permission denied in /var/www/html/AVideo/objects/functions.php on line 256, referer: http://64.239.242.229/ [Thu Aug 24 12:45:58.382371 2023] [php:warn] [pid 53056] [client 64.62.197.95:64623] PHP Warning: require_once(/var/www/html/AVideo/view/img/../../videos/configuration.php): Failed to open stream: No such file or directory in /var/www/html/AVideo/view/img/image404.php on line 4 [Thu Aug 24 12:45:58.382425 2023] [php:error] [pid 53056] [client 64.62.197.95:64623] PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/AVideo/view/img/../../videos/configuration.php' (include_path='.:/usr/share/php') in /var/www/html/AVideo/view/img/image404.php:4\nStack trace:\n#0 {main}\n thrown in /var/www/html/AVideo/view/img/image404.php on line 4 [Thu Aug 24 13:11:14.626279 2023] [php:warn] [pid 53057] [client 194.9.6.114:34682] PHP Warning: mkdir(): Permission denied in /var/www/html/AVideo/objects/functions.php on line 256, referer: http://azenv.net/

DanielnetoDotCom commented 1 year ago

Hi, I can see multiple errors here

the main one is that your encoder is outdated or was not installed using the git pull

the easiest solution it to delete this encoder (files and database) and install it again with git pull

also, make sure the encoder/videos folder is writable.