Skip to content

[feature request] stop an harvest job in progress #7940

@virgilejarrige

Description

@virgilejarrige

Hello,

I ran into the issue described here: https://groups.google.com/g/dataverse-community/c/O-NdDtgFrI0/m/os_KjdLxAQAJ

The process worked, but maybe it would be a good idea to have a button that would do the same thing on the harvest page? or maybe an API to reset stuck harvest?

Here is what i've done:
#manually get the harvest job's id:
select * from harvestingclient;

#fix the issue - where {ID} is the database id of the harvesting client.
UPDATE clientharvestrun SET harvestresult=0 WHERE harvestingclient_id={ID} AND harvestresult = 2;
UPDATE harvestingclient SET harvestingnow = FALSE WHERE id={ID};

#restart payara "just in case"
systemctl restart payara

Take care,

Virgile

Metadata

Metadata

Assignees

Labels

Feature: HarvestingNIH OTA DCGrant: The Harvard Dataverse repository: A generalist repository integrated with a Data CommonsNIH OTA: 1.4.14 | 1.4.1 | Resolve OAI-PMH harvesting issues | 5 prdOwnThis is an item synched from the product ...pm.GREI-d-1.4.1NIH, yr1, aim4, task1: Resolve OAI-PMH harvesting issuespm.GREI-d-1.4.2NIH, yr1, aim4, task2: Create working group on packaging standardspm.epic.nih_harvesting

Type

No type

Projects

Status

No status

Status

Interested

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions