ERP stuck on Updating

https://github.com/frappe/erpnext/issues/20340#issue-551795096

Hey , I know there have been multiple posts on systems getting stuck on maintenance mode but i have tried a lot of the suggestions i’ve seen on this forum as well as on Github but none of them have been fruitful. I have tried restarting supervisor i changed maintenance mode on the common sites config. I also tried a git pull rebase to fix the error but maintenance mode is still persistent.
Any assistance would be greatly appreciated

i resolved the issue by creating a new server and restoring a backup that i had