We are stuck on "Your system is being updated. Please refresh again after some time." We have tried common site config, site config file and also the bench set-maintenance-mode off but none of them worked.
Here's solution:
bench --site <name> console
from frappe.modules.patch_handler import block_user
block_user(True)
block_user(False)
INTERNAL SERVER ERROR, Your system is being updated. Please refresh again after a few moments, Verifying