Bettrdata Unstick Duplicate File Rephrase

Overview

In order to unstick a file that is set as duplicate. We need to do several steps on different applications. The steps include

  1. Stopping the cooker docker in the client’s bettrdata instance
  2. Update the mongodb records to allow the file to be reprocessed
  3. Start the cooker docker
  4. Start the process in the Bettrdata UI

Stop Cooker Docker in Bettrdata

Do these steps to stop the cooker. You will need access to the bettrdata instance via ssh

Update the Mongodb Records

You will need Studio 3T and a connection to the client’s database to do this

  1. Find the first item and delete it
  2. db.convertrun.find({"file._id": "670ed0cd3ac85f0017b1ec6a"}).sort({_id:-1});
  3. Find the data file
  4. 
    db.getCollection("datafile").find({
    "_id": ObjectId("670ed0cd3ac85f0017b1ec6a")
    });
  5. Update the json in the file (Cntl-j)

to this

Start the Cooker in the Data Instance Again

Now that the data record configuration allows the data to be reprocessed, start the docker again

$ docker start bettrdata-cooker-1
bettrdata-cooker-1

Kick off the Data Job in Bettrdata UI

Need last steps for this