Because of another issue, I deleted metadata.db. Unfortunately the metadata service is now not responding:
HTTP/1.0 504 Gateway Time-out
Cache-Control: no-cache
Content-Type: text/html
<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>