Plex server logs not available

I cannot find the Plex Media
The documentation says just
Go to Settings > Manage > Troubleshooting in Plex Web App.
And when I try and open the app I get "<Response code="503" title="Maintenance" status="Plex Media Server is currently running startup maintenance tasks.">"

As it says, it’s running database maintenance

Please leave it for at least 1 hour, and if still not ready for use, upload server logs

Thx. I was impatient.
In the end I left it for 2 and a half hours. Then it seemed to be hanging and I looked in the log via the file system and there was a looped “failed to complete query (401)” error message. So I stopped the app (in installed packages ) .. and then started it up again. Problem solved. Just had to reclaim my server. All this started after a server update. Before then it had all been working fine!
After that … problem solved

You might have a database issue!

I recommend you use the DBRepair binaries to make sure