diff --git a/docs/background-jobs-migration-guide.md b/docs/background-jobs-migration-guide.md index 83449e9c5..92a1a0221 100644 --- a/docs/background-jobs-migration-guide.md +++ b/docs/background-jobs-migration-guide.md @@ -107,6 +107,15 @@ Run on your MISP instance the following commands. user=www-data ``` +## MISP Config +1. Go to your **MISP** instances `Server Settings & Maintenance` page, and then to the new [SimpleBackgroundJobs]((https://localhost/servers/serverSettings/SimpleBackgroundJobs)) tab. + +2. Update the `SimpleBackgroundJobs.supervisor_password` with the password you set in the _Install requirements_ section 3. + +3. Update the `SimpleBackgroundJobs.supervisor_user` with the supervisord username. (default: supervisor) + +4. Verify Redis and other settings are correct and then set `SimpleBackgroundJobs.enabled` to `true`. + 5. Restart **Supervisord** to load the changes: ``` sudo service supervisor restart @@ -138,21 +147,12 @@ Run on your MISP instance the following commands. misp-workers:update_00 RUNNING pid 1673327, uptime 1:37:53 ``` -## MISP Config -1. Go to your **MISP** instances `Server Settings & Maintenance` page, and then to the new [SimpleBackgroundJobs]((https://localhost/servers/serverSettings/SimpleBackgroundJobs)) tab. - -2. Update the `SimpleBackgroundJobs.supervisor_password` with the password you set in the _Install requirements_ section 3. - -3. Update the `SimpleBackgroundJobs.supervisor_user` with the supervisord username. (default: supervisor) - -4. Verify Redis and other settings are correct and then set `SimpleBackgroundJobs.enabled` to `true`. - -5. Use **MISP** normally and visit [Administration -> Jobs](/jobs/index) to check Jobs are running correctly. +7. Use **MISP** normally and visit [Administration -> Jobs](/jobs/index) to check Jobs are running correctly. If there are any issues check the logs: * /var/www/MISP/app/tmp/logs/misp-workers-errors.log * /var/www/MISP/app/tmp/logs/misp-workers.log -5. Once the new workers are functioning as expected, you can remove the previous workers service: +8. Once the new workers are functioning as expected, you can remove the previous workers service: ```bash $ sudo systemctl stop --now misp-workers $ sudo systemctl disable --now misp-workers