Can't Delete / Add Account - Nextcloud Client on Kubuntu 18.04

I have been using nextcloud happily for a year or so, and recently set up my own nextcloud server. This is working fine, but I have problems with my ubuntu client.

I deleted my old sync account, added the new account, and the syncing was successful with my new server. But when I close it and re-open the client, the old settings are back, and the new server details are not there.

I have uninstalled & purged the client several times and it is still there when i reinstall the client.

I would delete the config files from ~/.config/nextcloud but the config files are not there, and I am not sure where to find them


I found it in .local/share/data/Nextcloud/ - have deleted it now and seems to have done the trick