The way fubar is started is not completely following the OTP framework. It should be fixed: - fix application starting - fix the way mnesia is loaded - fix the way the MQTT config is loaded using pure erlang config.