An error occurred in UPGRADE - UNSCHEDULED

I did not provoke or schedule any upgrades, however, this morning, I navigated to my "on-premise"Matomo to discover this:

Your Matomo codebase is running the old version 5.1.0 and we have detected that your Matomo Database has already been upgraded to the newer version 5.1.1. Maybe your Matomo administrators are currently finishing the upgrade process. Please try again in a few minutes. If you still have this issue please contact your Matomo administrator for assistance.

All navigation links and menu items re-directs here to this error.
I was thinking of taking the new release, “Matomo 5.1.2”, and have it overwrite all existing files and folders, but thought better of it and decided to see if there is a safer and data saving way to fix this issue.

Any help would be tip appreciated.
Thanks in advance,
RB

this is a screenshot of the error below