AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

Problem with scheduler on new install

Open TheCableGuy99 opened this issue 1 year ago • 2 comments

Describe the bug I have done a fresh install on Ubuntu 22.04 and when running the "Health Check" I get the error:

"Scheduler plugin crontab is NOT runing To use the Scheduler Plugin, you MUST add it on your crontab Open a terminal and type crontab -e than add a crontab for every 1 minute

          • php /var/www/html/AVideo/plugin/Scheduler/run.php Time is not found in the file /var/www/html/AVideo/videos/cache/schedulerLastVisit.log"

I added the crontab but it doesn't do away so ran the command manually and get this error:

root@tube:/var/lib/mysql/AVideoEncoder# php /var/www/html/AVideo/plugin/Scheduler/run.php

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /var/www/html/AVideo/plugin/Scheduler/run.php:19 Stack trace: #0 {main} thrown in /var/www/html/AVideo/plugin/Scheduler/run.php on line 19

To Reproduce Steps to reproduce the behavior: Run "php /var/www/html/AVideo/plugin/Scheduler/run.php"

Expected behavior For the script to work

Error Logs I have checked and do not see any logs

Screenshots Not applicable

Desktop (please complete the following information):

  • Ubuntu 22.04.4 LTS
  • Edge
  • Version 119.0.2151.72 (Official build) (64-bit)

Smartphone (please complete the following information): Not using smartphone

Additional context Add any other context about the problem here.

TheCableGuy99 avatar Nov 20 '23 22:11 TheCableGuy99

I think this was my fault, I didn't realise that you needed to install the database tables from the plugins section for the scheduler plugin. I was following a guide which didn't mention this.

TheCableGuy99 avatar Nov 21 '23 09:11 TheCableGuy99

Same problem. How did you resolve it?

Adi-18 avatar Feb 11 '24 18:02 Adi-18