Closed microlancer closed 8 months ago
In this case, the duplicates should be removed and lndg will try to reinsert the row on the next run but other data fields should still be able to process their data without issue.
How can I remove the duplicates?
This happens in the code already after the error, it tries to resolve the issue by deleting the duplicate record. https://github.com/cryptosharks131/lndg/blob/master/jobs.py#L450-L451
You could also check lncli closedchannels
to see if the source list has any duplicates.
If you would like to clear the closures table completely and let lndg rebuild the list, you can go to this page and clear it manually: /reset
Hello,
I noticed my data on the LNDg dashboard seemed a bit stale, so I checked the logs and saw this:
Is there any reason I'm getting this UNIQUE constraint failed? Any way to resolve it?
Running v1.8.0
Thanks!