I have a "similar" problem-ish. I have installed boinctui (Debian buster) and it works just fine, there is a connection between my machine and BAMStats, I can control which projects to run and the amount of work left on my machine is reported OK,
but, no result totals are shown on BAMStats' pages, although I think they might be being added or subtracted from another incarnation of this machine. I had the hard drive go down, so while ordering a new one I also bought a new GPU. The guy who put the bits in the box installed windo$e10 to make sure all was running OK, however I use Linux, when I installed buster all was OK, but I've lost the graphical interface, so I installed boinctui, neat, ok. F9 gives me the option to Synchronise with BAMStats so somewhere along the line boinctui has found out my registration with Willy, but Willy isn't giving me any credits, or so it seems. When I have a machine go down I rebuild with the same hostname, and because of this infernal W10 I now have three entries with the same hostname, the latest shows zero credit, and the W10 version shows +612,836 whilst the original Debian stretch shows -40,144,108 causing me some serious grief!

Your problem is way beyond anything I've ever done so I'm assuming you to be a highly intelligent person, that you'll look kindly on the ramblings of a lesser being, and maybe tell me, nicely, what I need to do please.