HA database & log files missing

I’m running Home Assistant in a Docker container, and I noticed the following errors on the frontend




I checked my config files and found that ‘home-assistant_v2.db’ and ‘home-assistant.log’ were missing.

Does anyone know how to fix it?

I guess I could spin up another instance of Home Assistant in a Docker container without pointing it to my existing config files which should then create the missing files (as well as all the others), then copy over my existing config files. But I’m wondering if there a easier/proper way of fixing this?