Same problem here. LXC Container in Promox 7 and Kernel version great equal 5.4.157 cannot host tvheadend.
Tons of continuity errors make the server practically useless.
People reported when performing an inplace upgrade from Promox 6 to 7, they are having (sometimes) no problems. Could be that they are still using an older kernel that 5.4.157.
I also tried with a VM under Promox. This is working better and test recordings were fine. I notices though that after about 20-30 minutes life tV, the video stalls for about 15 seconds.
It looks to me that it is definitely a promox 7 problem and not tvheadend fault.