Bug showing always Unknown Error when previously used db file is missing