This message was deleted.
# ask-questions
w
This message was deleted.
f
Yes, it's the
ENCRYPTION_KEY
that's causing that error. The data source credentials were encrypted with one key and now it can't be decrypted
f
I see, so does the local container generate an
ENCRYPTION_KEY
of its own if I don’t explicitly set one?
f
I think it uses the string
dev
by default
f
I see. I tried setting to
dev
for now but saw:
Copy code
throw new Error("Cannot use ENCRYPTION_KEY=dev in production. Please set to a long random string.");
I’m happy to delete the experiment definitions from Mongo and start over if that’s easiest?
f
Yeah, unfortunately I think deleting the data source and metrics and adding them again is probably the easiest. We should build a better way to recover from that state since I imagine you're not the first one to have this problem
f
cool no worries, not a huge deal to re-create and I was able to export most from the
config.yml
393 Views