Rebuilding Enketo REDIS Container

We have Migrated our ODK instance from a VM to a new dedicated server. This also entailed a change in domain name. We used teh Direct backup to transfer all the data. We also dumped the REDIS main and cache RDBs from original server to the destination server.

However, we did not copy over the Enketo Secrets.
As a result, while the Central app is working and form submissions are happening, we are not able to Preview any Draft or form. Nor are we able to edit any submission in Central.

Since then we have updated the Destination Server Enketo Config File in destination server and restarted enketo

We also tried updating the redis main and cache keys with the new domain, but it seems some keys are not getting updated

So now my question is, can I simply empty out the REDIS keys in main and cache ? We do not use survey functionality.

So after updating secrets, the Enketo edits are working. But the previews are still not working

Sounds like you're making progress! What happens when you try to open a preview?

How did you update the keys? This script replaces the old domain with the new one. Once you make that change, everything will work as expected.

I would not do this. You also need Redis for editing and previews.