[SOLVED] MQTT 2.5.0.M2 OFFLINE ->MQTT 2.4.0 working (Raspi4 Moved Root to USB) - SOLVED

Hello,

I am on openHAB 2.5.0.M2 Build running on Raspi 4. On openHAB 2.4.0 I used following setup for the MQTT - Binding:

Bridge mqtt:broker:mqttbroker [
host=“192.168.188.100”,
secure=false,
port=1883,
qos=0,
retain=false,
clientid=“OhMqttClient”,
keep_alive_time=30000,
reconnect_time=60000,
username=“openhabian”,
password=""
]

which worked perfect. Now on the 2.5.0.M2 I get this failures and the Broker stays OFFLINE:

2019-08-26 21:25:51.100 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.188.100’ with clientid paho926145428980 and file store ‘/var/lib/openhab2/mqtt/192.168.188.100’

2019-08-26 21:25:51.125 [hingStatusInfoChangedEvent] - ‘mqtt:broker:mqttbroker’ changed from OFFLINE to OFFLINE (COMMUNICATION_ERROR): Unable to connect to server

2019-08-26 21:26:01.111 [hingStatusInfoChangedEvent] - ‘mqtt:broker:mqttbroker’ changed from OFFLINE (COMMUNICATION_ERROR): Unable to connect to server to OFFLINE

Has anybody an idea what´s wrong with this setup?

Please set the log level to debug and have a look at the broker logfile. What broker do you use (mosquitto, embedded, …)?

I just figured it out. I used this tutorial to move root to USB; https://www.tomshardware.com/news/boot-raspberry-pi-from-usb,39782.html

When I boot from SD only the binding works.