Moving vaultwarden from HASSOS to Proxmox LXC

Hi, I’m having trouble moving my vaultwarden instance from a Home Assistant OS addon instance to a new Proxmox LXC container created using tteck’s scripts. I have followed some instructions posted elsewhere and taken a backup of the addon and using WinSCP copied everything from the backup data folder including all 3 db.sqlite* files and the config.json to the /var/lib/vaultwarden folder in the new container. When restart I can access the admin page of the new instance using the admin key. But I cannot login to the new instance with my previous credentials, username ok, master password is ok but 2FA using the Google Authenticator app will not work. I get the error “error saving twofactor” and I cannot access the new instance. Going crazy trying to find a solution.