Cannot edit mqtt.cfg

Hi, for some reason I cannot edit mqtt.cfg. Nano just says save failed, and notepad++ fails with 'make sure the file isn’t open somewhere else". I’ve tried stopping mosquitto, with sudo /etc/init.d/mosquitto stop but still no difference. any help?

I’m an idiot, wasn’t admin. Please disregard!

1 Like

Most probably that hasn’t anything to do with openhab.

Who are you?

$ id

That is, you shoukd either login as openhab.openhab or edit the file as user root. Prepend a sudo before calling nano.