MQTT Broker

ok thanks, it’s now working

1 Like

Does it still work after a reboot ?

nope, just checked and it’s not working again

Did you try the second/last part of the instruction set I described earlier ?
That means did you stop ZRAM and then apply the fix with regard to permissions ?
It looks like the permission fix was only done in the ZRAM mirror and not the underlying file system.

yeah, i tried that

didn’t work

/var/log/mosquitto/ is again owned by root:root instead of by mosquitto:mosquitto ?

yeah, it is again owned by root:root

As far as I remember I initially also had that problem.
Unfortunately I do not remember the exact steps but either disabling or even deinstaling ZRAM helped.
Then either fixing the permission or reinstalling mosquitto.
I would suggest to do the above steps first without using ZRAM.
If that works after a reboot install/enable ZRAM again.

1 Like

what commands do i need to send? I don’t know much about openhabian or linux

Check menu 38 in openhabian.

i have disabled xram now what do i do?

Use

sudo apt-get --purge remove mosquitto

this will delete the mosquitto package and it’s configuration files.
In case you need the configuration files copy them before executing the command.
Then use openhabian to install mosquitto again.

ok thanks that worked

Did you enable ZRAM again ?

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.