Cannot save add-on configurations

Hi, after working with a test version of HA on an RPI 4, I decided to do a re-install for a production system. I wanted zigbeetomqtt, so I installed Mosquitto from the official store. In the configuraiton page (web ui) I set up a user and password to match one in People. But when I click Save, the save button shows green but the user and password disappear from the page. There is no error in the log. It simply doesn’t save.

Putting that to one side for a minute, I installed zigbeetomqtt and I have exactly the same problem with its configuration. The UI says it is saving but the screen refreshes and there is nothing there.

I went doen the rabbit hole of installing File Manager - which could not see any CONFIG folder and Samba - which could see a config folder. But nothing has changed in the configs.

It feels like a folder permissions problem but there are no errors in the add-on logs. This is a simple installation of HA using the HA distribution on the Rasp website. So absolutely nothing special.

Really appreciate some guidance.
Thanks
David

Really appreciate some help.

think it mite be your indenting need to see your work dont forget to format correctly
You don’t need a HA user to run MQTT
BUT you must have a username and password

logins:
  - username: mqttuser
    password: imnottellingyou
require_certificate: fullchain.pem
certfile: fullchain.pem
keyfile: privkey.pem
customize:
   active:  false
   folder: mosquitto

and user CANT be homeassistant

Many thanks, myle, didn’t realize the syntax was so precise!
It has saved now. The broker doesn’t connect to HA - but hopefully I’ll figure that out. Thanks again.

You need to install the Mqtt integration.