Shouldn’t you upgrade from 5.0.x to 6.0.x and then 6.x.x to make the jump a bit safer?
Anyways, the view that you see is that a cached version or is the warning a false/negative? Kind of strange that you are logged in if the connection to server is lost.
What happens when you press any of the overviews or your own profile in bottom right corner.
Try opening the mobile view in incognito or another browser.
Any error/info related in production.log?
How’s the health check in Zammad? (Settings → System → Monitoring)