-
Notifications
You must be signed in to change notification settings - Fork 557
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Helm chart sync job doesn't fetches charts in fresh install because it fails as migration is still under process.
Checklist:
- I've searched in the docs and FAQ for my answer
- I've included steps to reproduce the bug.
To Reproduce
Do a fresh installation without any integrations.
Expected behavior
Charts should start appearing as soon as devtron installation is complete.
Current behavior
No Helm charts appear.
Logs
{"level":"info","ts":1655083543.2699418,"caller":"sql/connection.go:52","msg":"query time","duration":0.00061074,"query":"SELECT \"chart_repo\".\"id\", \"chart_repo\".\"name\", \"chart_repo\".\"url\", \"chart_repo\".\"active\", \"chart_repo\".\"is_default\", \"chart_repo\".\"external\", \"chart_repo\".\"created_on\", \"chart_repo\".\"created_by\", \"chart_repo\".\"updated_on\", \"chart_repo\".\"updated_by\" FROM chart_repo AS \"chart_repo\" WHERE (external = TRUE) AND (active =TRUE)"}
{"level":"error","ts":1655083543.2699957,"caller":"pkg/SyncService.go:40","msg":"err in getting repo list","err":"ERROR #42P01 relation \"chart_repo\" does not exist","stacktrace":"github.com/devtron-labs/chart-sync/pkg.(*SyncServiceImpl).Sync\n\t/go/src/github.com/devtron-labs/chart-sync/pkg/SyncService.go:40\nmain.(*App).Start\n\t/go/src/github.com/devtron-labs/chart-sync/App.go:26\nmain.main\n\t/go/src/github.com/devtron-labs/chart-sync/main.go:12\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225"}
{"level":"error","ts":1655083543.2700584,"caller":"chart-sync/App.go:28","msg":"err","err":"ERROR #42P01 relation \"chart_repo\" does not exist","stacktrace":"main.(*App).Start\n\t/go/src/github.com/devtron-labs/chart-sync/App.go:28\nmain.main\n\t/go/src/github.com/devtron-labs/chart-sync/main.go:12\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225"}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working