Failed to connect to default database

i’m stuck with this issue. can neither update nor revert to my previous working instance of kobotoolbox setup on my own server.

how do i fix this so that my data is not lost ?

same issue here, did you resolve it by now? I’ve tried the other solution to remove .vols and restart setup but that didnt work. same error message
kobo_error

I could resolve the issue by reinstalling from scratch on Ubuntu server 18.04, using python 3.8, and docker-compose 2.16