I'm installing zigbee2mqtt with the tteck scripts
I'll start by saying - running scripts blindly on your host is asking for trouble.
Secondly you should look at the source where you get the script & seek support there.
However I decided to do a little of the legwork for you & searched your issue.
So as you may or may not know tteck who provided some awesome scripts that many Proxmox enthusiasts have used (at their own risk) has died unfortunately. However there is a community effort to take over the work he has done. See
here.
Searching your issue, I found
this, which appears to be relevant to your issue.
It seems there are changes that were made - which I believe should help you.
So maybe try
here, for more success, & read up on their repo for support. I've never used the script.
USE AT YOUR OWN RISK & HAVE ALL BACKUPS AT THE READY!
Just trying to help you - Happy proxmoxing!