Update TROUBLESHOOTING.md

This commit is contained in:
Irfan 2019-08-18 22:39:13 +05:00 committed by GitHub
parent fca44f0124
commit 31ba309a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,11 +48,12 @@ If Redis is taking too long to restart, follow this: https://stackoverflow.com/a
`php artisan cache:clear`
## I want to clear the Cache Updater Queue
1a. `redis-cli --scan --pattern queue_update:* | xargs redis-cli del`
1b. `redis-cli --scan --pattern queue_update:* | xargs redis-cli unlink` (does it in the background)
1. `redis-cli --scan --pattern queue_update:* | xargs redis-cli del` or alternatively replace `del` with `unlink` to have it done in the background.
2. `php artisan queue:restart`
3. `sudo service supervisor restart`
More troubleshooting Q/A on the way, please let me know if there's anything else I should add onto here.