Skip to content

ERROR: relation "scanner" does not exist in version 4.0.4 #1222

Answered by ldelossa
imaskm asked this question in Q&A
Discussion options

You must be logged in to vote

@imaskm my assumption is your config does not instruct Clair to perform migrations.

Please reference the following configuration options and ensure you instruct Clair to perform migrations on the database you're pointing it to.

https://quay.github.io/clair/reference/config.html#migrations-false-1

Each service section "indexer, matcher, notifier" has this "migrations" field and it should be set to "true" if you want Clair to setup the database tables for you.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@imaskm
Comment options

@imaskm
Comment options

@ldelossa
Comment options

@imaskm
Comment options

@ldelossa
Comment options

Answer selected by imaskm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1221 on April 06, 2021 19:55.