Ask the Community
Groups
Stale Task Found in Job Manager - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Backup catalog delete stuck for hours and not moving</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <p>Jobs in the job manager tab are stuck or not making progress.</p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p>Make sure the task is not running on the engine, login to the specific engine and run: </p> <pre class="code codeBlock" spellcheck="false" tabindex="0"> sudo phdvb task list</pre> If the task is still running you will want to stop the task: <pre class="code codeBlock" spellcheck="false" tabindex="0"> sudo phdvb task destroy [list of uuids]</pre> <br>From the presentation layer: <pre class="code codeBlock" spellcheck="false" tabindex="0"> psql service=client update client_job set job_status = 3, job_state = 7, timestamp = extract(epoch from now()), start_date = case when start_date is null then now() else start_date end, finish_date = now() where job_state < 6; update client_jobinventory set job_status = 3, job_state = 7, timestamp = extract(epoch from now()), start_date = case when start_date is null then now() else start_date end, finish_date = now() where job_state < 6;</pre> <p>This will clear ALL jobs and mark them as completed and cancelled. You may also want to restart the management and presentation appliances.</p> <h2 data-id="cause"><strong>CAUSE</strong></h2> <p></p> <p>The most likely cause is communication related with RabbitMQ. If RabbitMQ stops responding to messages then this type of thing will happen. Not only system jobs but also backups and replication.</p> </article> </main>