I’ve seen it reported that sometimes, depending on how the upgrade was performed, the login prompt is looking in the wrong location for the version number. All that prompt does is read the contents of /var/lib/openhab/etc/versions.properties. But OH 3 moved to /var/lib/openhab (no 2 at the end). When you bring up the main page does it look different?