DSMR reading cannot be inserted into database #1486
-
DSMR reader keeps trying to insert a reading into the database where it NULLs some fields where the database doesn't allow. This failure to insert keeps repeating itself and does not allow other readings to be inserted into the databse. Is there some way to purge this one reading? dsmr_backend.log [2021-02-25 16:32:42,490] ERROR (IntegrityError) dsmr_consumption.services.run errored: null value in column "delivered_1" violates not-null constraint
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
See #1288 and its references for more details and a solution
|
Beta Was this translation helpful? Give feedback.
-
Removing the constraints and deleting the faulty records worked, there seemed to be only 1 faulty record. Constraints are put back in place and postgres:12.3-alpine is now used Thanks! |
Beta Was this translation helpful? Give feedback.
Removing the constraints and deleting the faulty records worked, there seemed to be only 1 faulty record. Constraints are put back in place and postgres:12.3-alpine is now used
Thanks!