Have different versions of secrets.json on live and dev.
Ensure you can read the secrets of dev via the terminus plugin.
Clone database and files from live to dev.
Trying to read secrets via the terminus plugin but fails and return an empty result
You can fix the issue by SFTPing into dev and overwriting the
secrets.json file with anything that has valid json. After this, you will be able to read secrets.json again via terminus.
I didn't get any errors but I'm not sure yet if the empty results when running the secrets.js
could be related to the bug filed by Nicolas Bowers - https://github.com/pantheon-systems/terminus-secrets-plugin/issues/10. Updating it via sftp indeed fixed the problem. Something in the file not being read by quicksilver.
Step to reproduce:
Result: https://screencast.com/t/qAoHvpRX7
I didn't get any errors but I'm not sure yet if the empty results when running the secrets.js could be related to the bug filed by Nicolas Bowers - https://github.com/pantheon-systems/terminus-secrets-plugin/issues/10. Updating it via sftp indeed fixed the problem. Something in the file not being read by quicksilver.