Closed kollossus55 closed 1 year ago
this error is not enough but I am send a bug fix to the Scheduler plugin in 1 hour
Hi Sorry for not being clued up, but what is required in the scheduler Plugin?
I've just released a new version of our plugin, which will provide you with more detailed information about whether the scheduler plugin is running.
This new version is only required if you're using the video release date feature. However, I recommend that you install it and have it ready, as we will be creating and transferring features that will work specifically with this new version.
To ensure that the plugin is running as intended, please add the following command to your crontab file, to execute every minute:
php /var/www/html/demo.avideo.com/plugin/Scheduler/run.php
To add this command to your crontab, you can follow these steps:
Open a terminal window on your server and log in as the user who will be running the cron job.
Type the command crontab -e
to edit the user's crontab file. If the user does not yet have a crontab file, one will be created for them.
In the crontab file, add the following line at the bottom of the file:
* * * * * php /var/www/html/demo.avideo.com/plugin/Scheduler/run.php
Save the crontab file and exit the editor. Your changes will take effect immediately, and the run.php script will be scheduled to run at specified intervals.
hi
Followed the above steps.. I cannot download youtube videos via the encoder.. Cannot see any errors in log file...
the steps above are not to resolve the encoder issue, it is just because you asked me about the scheduler.
check your encoder log
Will do.. it just happened at the same time....
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg
From: Daniel Neto @.> Sent: Wednesday, February 22, 2023 4:57:17 PM To: WWBN/AVideo @.> Cc: kollossus55 @.>; Author @.> Subject: Re: [WWBN/AVideo] Problems Encoding / Downloading Videos. (Issue #7699)
the steps above are not to resolve the encoder issue, it is just because you asked me about the scheduler.
check your encoder log
— Reply to this email directly, view it on GitHubhttps://github.com/WWBN/AVideo/issues/7699#issuecomment-1440422907, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM24UOKXYBPAYIOZUAXAKYLWYZAO3ANCNFSM6AAAAAAVDE7B54. You are receiving this because you authored the thread.Message ID: @.***>
Is there anything there ?
regards
you should check the encoder log, NOT the streamer log
Just to double check Directory:-
/var/www/html/AVideo/Encoder/videos# then avideo.log ?
Thanks
correct
you MUST get the code when you try to submit a video
Hi
Im sorry for my ignorance, but what code are we talking about. Since I updated the software I seem to be having various problems. I have done git pulls and checked logfiles. When I try to download videos nothing happens at all; the page blinks and nothing comes on the queue.....
I mean the Encoder logs
you MUST get the Encoder logs when you try to submit a video
[24-Feb-2023 16:26:29 Europe/London] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:26:29 Europe/London] AVideoLog::DEBUG: avideoEndIncluded already processed SCRIPT_NAME: /view/index.php [24-Feb-2023 16:27:01 UTC] PHP Warning: Undefined array key "language" in /var/www/html/AVideo/locale/function.php on line 131 [24-Feb-2023 16:27:01 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:01 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:01 UTC] PHP Deprecated: Return type of FtpClient\FtpClient::count($directory = '.', $type = null, $recursive = true) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/AVideo/plugin/CDN/FtpClient/FtpClient.php on line 542 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:13 UTC] PHP Deprecated: Return type of FtpClient\FtpClient::count($directory = '.', $type = null, $recursive = true) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/AVideo/plugin/CDN/FtpClient/FtpClient.php on line 542 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409 [24-Feb-2023 16:27:13 UTC] PHP Warning: Undefined array key "PHPSESSID" in /var/www/html/AVideo/objects/functions.php on line 4409
this log is still the Streamer log NOT the encoder log.
the encoder log should be inside the Encoder/videos folder
usually tail -f /var/www/html/AVideo/Encoder/videos/avideo.log
[24-Feb-2023 22:59:19 UTC] Login:: done session_id = eb05chl2252vll5h5i1vfvbcgo session_login [24-Feb-2023 23:03:20 UTC] getTitleFromLink: Get Title Error: LC_ALL=en_US.UTF-8 /usr/local/bin/yt-dlp --no-check-certificate --no-playlist --force-ipv4 --skip-download -e 'https://youtu.be/U2ww0sFgFMc' Array ( [0] => ERROR: [youtube] U2ww0sFgFMc: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U )
Please advise. Thx
Here is the solution
https://github.com/WWBN/AVideo/issues/7682#issuecomment-1434799136
hi
yes that did the trick..
Thanks
Hi I seem to be having problems downloading videos from youtube. Checking the logfile, I see the following:-
[21-Feb-2023 14:27:23 Europe/London] AVideoLog::ERROR: MySQL ERROR: [{"file":"\/var\/www\/html\/AVideo\/objects\/mysql_dal.php","line":227,"function":"log_error"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Scheduler\/Objects\/Scheduler_commands.php","line":42,"function":"readSql","class":"sqlDAL","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Scheduler\/Objects\/Scheduler_commands.php","line":26,"function":"getFromVideosId","class":"Scheduler_commands","type":"::"},{"file":"\/var\/www\/html\/AVideo\/plugin\/Scheduler\/Scheduler.php","line":125,"function":"isActiveFromVideosId","class":"Scheduler_commands","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":723,"function":"isActiveFromVideosId","class":"Scheduler","type":"::"}] SCRIPT_NAME: /objects/aVideoEncoder.json.php
What does this mean ?
Regards