clair-local-scan icon indicating copy to clipboard operation
clair-local-scan copied to clipboard

once I use arminc/clair-db latest,the container clair_clair is always restarting,why?

Open iver3on opened this issue 6 years ago • 2 comments

image

iver3on avatar Feb 18 '19 12:02 iver3on

where need to edit?

iver3on avatar Feb 18 '19 12:02 iver3on

{"Event":"database migration ran successfully","Level":"info","Location":"pgsql.go:266","Time":"2019-02-18 12:04:49.844586"} {"Description":"soiDetector","Event":"database: handled database error","Level":"error","Location":"pgsql.go:329","Time":"2019-02-18 12:04:49.845365","error":"pq: relation "detector" does not exist"} {"Event":"cannot insert detectors to initialize worker","Level":"fatal","Location":"worker.go:472","Time":"2019-02-18 12:04:49.845443","error":"database: an error occurred when querying the backend"}

your sql has not detectors ?

iver3on avatar Feb 18 '19 12:02 iver3on