Unable to train model from rasa-x with an external rasa [sqlite3.OperationalError: attempt to write a readonly database]

I have connected my RASA-X with RASA using helm charts. When I am trying to train my model from rasa-x, I am getting the below error in rasa: RASA base image → rasa/rasa:3.0.4-full RASA-X → rasa/rasa-x:1.1.0