Database auto-disable if problem detected
temporary directory only changed to 'if' not in cli mode