Skip to content

Commit

Permalink
Merge pull request #64 from Boy132/troubleshooting/schedules
Browse files Browse the repository at this point in the history
Add troubleshooting for schedules
  • Loading branch information
notAreYouScared authored Jul 30, 2024
2 parents fa97d74 + 19f46b6 commit aabe061
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,20 @@ In both cases it should output this when wings is reachable:
Not sure what a specific error means?
Visit our [Discord](https://discord.gg/pelican-panel) and we will be happy to help you!
</Admonition>

## Schedules not running

If your Schedules are stuck on `Processing` or don't execute the tasks check the following:

* Is your Schedule set to run `ONLY WHEN SERVER IS ONLINE` and the server is currently offline?
* Is your queue worker service running? (`systemctl status pelican-queue`)
* Is your queue worker service using the correct PHP version? (`php -v`)
* Is your [cronjob setup](./panel/getting-started#crontab-configuration) correctly?

If your queue worker service is not running you can also check the panel logs for errors.

```sh
tail -n 100 /var/www/pelican/storage/logs/laravel-$(date +%F).log | grep "\[$(date +%Y)"
```

To recreate the queue worker service you can run `cd /var/www/pelican && php artisan p:environment:queue-service --overwrite`.

0 comments on commit aabe061

Please sign in to comment.