mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
Update TROUBLESHOOTING.md
This commit is contained in:
parent
2e1bc26f64
commit
3f9e6c0044
@ -44,6 +44,14 @@ And then reload the supervisor configuration:
|
||||
If Redis is taking too long to restart, follow this: https://stackoverflow.com/a/45069100/2326811 and then start it `sudo service redis start`
|
||||
|
||||
|
||||
## I want to clear the cache in Jikan
|
||||
`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)
|
||||
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user