Hello! I have a doubt regard the controlpane confi...
# support
l
Hello! I have a doubt regard the controlpane config. I have a rudderstack hosted control plane, and we need to recreate all our infrastructure due a change of storageclass. Is sufficient if we backup the pv of our postgres pod, or we need to do some other backup in the control plane side?
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Yes taking a backup of the PV of Postgres Pod should be sufficient.
👍 1
l
I have tried it but don't works...
Copy code
2023-09-06T15:22:51.515Z        ERROR   utils.misc      misc/misc.go:1131       Unable to make a warehouse databricks build version call with error : Get "http://localhost:80
82/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-09-06T15:22:51.605Z        INFO    runner  runner/runner.go:413    warehousemode embedded
2023-09-06T15:22:51.606Z        INFO    db.recovery     db/embeddedRecovery.go:42       Starting in normal mode
2023-09-06T15:22:51.622Z        WARN    validators.envValidator validators/envValidator.go:181  Terminated 2 dangling connection(s)
2023-09-06T15:22:51.622Z        WARN    validators.envValidator validators/envValidator.go:183  dangling connection #1: {pid:1413 queryStart:0xc000d20f00 waitEventType:Client
 waitEvent:ClientRead state:idle query:SELECT pg_advisory_unlock($1) terminated:true}
2023-09-06T15:22:51.622Z        WARN    validators.envValidator validators/envValidator.go:183  dangling connection #2: {pid:1414 queryStart:0xc000d211a0 waitEventType:Client
 waitEvent:ClientRead state:idle query:DELETE FROM config_cache WHERE key != $1 terminated:true}
2023-09-06T15:22:51.702Z        ERROR   runner  runner/runner.go:214    Unable to prepare rudder-core database: could not run node schema migrations: run migration from direc
tory "node", Dirty database version 2. Fix and force version.
The log says
Copy code
run migration from directory "node"
But this directory doesn't exists... how I can fix this?
m
I have asked the team for help on this.
h
Can you use this query?
Copy code
UPDATE "public"."node_migrations" SET "dirty"=FALSE WHERE "version"=2;