missing database in after failure script