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

Problem with scheduler on new install #8658

Open
TheCableGuy99 opened this issue Nov 20, 2023 · 2 comments
Open

Problem with scheduler on new install #8658

TheCableGuy99 opened this issue Nov 20, 2023 · 2 comments
Labels

Comments

@TheCableGuy99
Copy link

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

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.

@Adi-18
Copy link

Adi-18 commented Feb 11, 2024

Same problem. How did you resolve it?

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