Redis Maintenance¶
If you need to delete manually redis jobs from database do the following steps:
Log in to your database:
docker exec -ti misp-server bash # docker exec -ti misp-db bash mysql -u $MYSQL_USER -p$MYSQL_PASSWORD -h $MYSQL_HOST use misp;
Show the required jobs table:
select * from jobs;
Test delete statement with select statement:
select * from jobs where status=0;
Delete jobs:
delete from jobs where status=0;
Exit from database:
- Exit mysql client:
exit
- Exit misp-db container:
exit
- Exit mysql client:
Log in to redis:
docker exec -ti misp-redis bash
Flush redis db:
redis-cli flushall
Restart worker:
- Go to: Administration -> Server Settings & Maintenance -> Workers
- Press
"Restart all workers"
on the bottom of the page