I’ve tried searching the web on the error message, but all the results I’ve found have slightly different errors – I’ve checked the formatting of my JSON file, testing the PostgreSQL credentials… not sure what the problem could be. Any help would be appreciated.
Can you run your config.json through a json validator and paste back confirmation there’s not a typo?
If your file is valid, check the semantics of the settings.
There was a bug in error message output that we didn’t catch until we started seeing reports like this. So you get this cryptic then when the json isn’t valid. It’s fixed on master and will be in for the next release.
@eric could we have your help tracking that an invalid config.json file is included in the next test pass? Also, when we do the 3.1 post-mortem, could you remember to bring up looking through past user issues on the forum and making sure we have tests covering those issues?
The panic issue is coming from the addition of internationalization in 2.0, I think it’s a sequencing issue where it’s trying to find the error messages in the translation files and something’s happening the wrong sequence.
Yes, another possibility is a typo that still has valid JSON. Could you try backing up your current config.json then trying to run with the default config.json that comes with the tarball and see if it works?
Then you can add back your config.json settings and see if you can find a typo that’s causing the failure.
Btw, the intended effect is to output an error message that gives more info on what went wrong, but there’s a bug in 3.1 where that message isn’t coming out. Fixed for 3.2 already.
Yes, there was an errant “i” in one of the variable names (a vim typo), and I also think I had to ensure that the salts and keys that I changed were the same length. Found these differences by doing a diff between my config.json and the default. The error described is now gone!
I imagine this will be much less painful when 3.2 is available. Thanks!