DatabaseError : (sqlite3.DatabaseError) database disk image is malformed

Hi,
I’m running Jupyterhub on K8s cluster . but the pod the hub get staus:CrashLoopBackOff
the logs of hub is

how should i fix it?thanks very much!

That looks like your sqlite database file is corrupted. I think you have to remove it (rm jupyterhub.sqlite) and try starting clean.

I’ve never encountered this personally. What kind of disk is it on? Is it mounted from somewhere remote like NFS?