[WIP] DNN-6239: Upgrade is failing & DNN-6218 + SNN-6242: DB logging provider throws errors