Don't write metadata on startup. Stupid bug ...
(cherry picked from commit ae42a08c314f2118b74c870178f597f98c98da13)