I've removed the ADS and it's not working again ?
Alternate Config Not Working
I have tried to specify an alternative config file in the start up command and it doesn't seem to pick up the config.
"nodebb -c config-dev.json start"
I do have config.json file in the same root directory as the alternate but the -c switch still picking up config.json
Please advise if i have used the switch correctly
@yapne did you try putting the switch after the command?
Yes. still the same.
Using -c and --config behaves differently!
This says using -o as the config instead and thinks there is no config file in the root.
C:\TEMP\SourceTree\nodebb>nodebb start --log-level "debug" -config "config-dev.json"
2018-03-26T16:46:35.986Z  - verbose: * using configuration stored in: C:\TEMP\SourceTree\nodebb-o
2018-03-26T16:46:36.828Z  - info: Launching web installer on port 4567
2018-03-26T16:46:37.715Z  - info: Web installer listening on http://0.0.0.0:4567
This says using the alternative config but it is still taking the values from config.json
C:\TEMP\SourceTree\nodebb>nodebb start --log-level "debug" -c "config-dev.json"
2018-03-26T16:47:46.476Z  - verbose: * using configuration stored in: C:\TEMP\SourceTree\nodebb\config-dev.json
@yapne you put "-config" not "--config", that's incorrect.
@pitaj I have tried with --config and it is still the same issue. Not picking up the alternative config file.
@yapne right, that's a problem. I was just commenting on the error and "behaves differently"
@pitaj Is there a possible fix for this issue please?
@pitaj Thank you. Will give it a test later