hello Team, We started facing issues with `rudders...
# support
a
hello Team, We started facing issues with
rudderstack data-lane
deployment ( Probably due to a automatic node upgrade). Here is the error-
Copy code
2023/01/12 12:20:22 notifying bugsnag: Could not run node migrations: Could not run migration from directory 'node', file does not exist


2023-01-12 13:20:22.781 CET
2023/01/12 12:20:22 bugsnag.Notify: bugsnag/payload.deliver: invalid api key: ''

2023-01-12 13:20:22.781 CET
2023/01/12 12:20:22 bugsnag/sessions/publisher.publish invalid API key: ''

2023-01-12 13:20:22.783 CET
panic: Could not run node migrations: Could not run migration from directory 'node', file does not exist [recovered]

2023-01-12 13:20:22.783 CET
panic: Could not run node migrations: Could not run migration from directory 'node', file does not exist [recovered]
Could anyone suggest what needs to be done here or, help in right direction of debug?
s
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.
q
Hi @acceptable-zebra-15144 What version you are running of the data plane and was it a new install or upgrade?
b
Hey @quiet-wolf-72320! Joni here, working in Palak’s team. We’ve been trying multiple versions: 0.1.0, 0.3.0, 0.4.0, but facing the same issue with all of them. We noticed there was a node (or cluster) restart yesterday night, and after that we couldn’t get to process any event
q
@blue-activity-91609 can you try the latest versions like 1.4.6
a
Just to be clear: we are referring to helm version 0.1.0 here.
q
what is the data plane version?
a
how to identify if it's crashlooping, could you help?
q
if you do
kubectl get pods
in your namespace, you will see the status of all your pods including CrashLoopBackOff here is a doc on fixing those https://sysdig.com/blog/debug-kubernetes-crashloopbackoff/
a
To clearify, I am not able to identify data-plane version, since it's crashlooping. Also, it's crashlopping because of the error I mentioned earlier.
do you have any idea on why this error would occur -
Copy code
notifying bugsnag: Could not run node migrations: Could not run migration from directory 'node', file does not exist
q
This is related to database schema migrations.
a
any way to understand the root cause of this error and how to fix this?
q
can you check this https://www.rudderstack.com/docs/get-started/rudderstack-open-source/data-plane-setup/kubernetes/ There is a link on this page to find the latest version, you can use that. The version you are using was released a year back 02062021
a
okay, tried with that. It still shows the same error . Tried with couple of versions like '`1`' and few versions from the past like '`03032022.104714`'
q
This seems like a corrupted database which might be tough to recover from. There are two ways you can go from here 1. If you are not concerned about the data present in the DB can you start afresh? 2. If you are concerned about the data, try taking backups and restoring them but would be a pretty manual process and ultimately you would need to destroy the existing DB and recreate it
b
@quiet-wolf-72320 we just updated the server to the latest version, same as the transformer. Now we see these issues in the data-plane logs:
Along with
ERROR runner Terminal error: warehouse service routine: warehouse service cannot start, database connection is not setup
q
@blue-activity-91609 can you check the warehouse configuration in your config file? Here is a reference on how to set it up. https://www.rudderstack.com/docs/user-guides/administrators-guide/config-parameters/#warehouse
a
just to close this loop. We had to do a fresh setup after taking latest templates, configs as well from https://github.com/rudderlabs/rudderstack-helm. We were able to successfully deploy with this. Thanks for your support!
m
Great that it worked! It’s always advised to use the latest versions. Thanks for notifying