My issue is, i’ve set up mqtt agent to external mosquitto broker and asset url’s parts are said to be topics to publish to be client. I’ve created an asset and in the url no realm is showing, so i can not publish to it directly. Looks like the asset is not part of the realm.
In realms, the list is empty, and in keycloak the realm is there.
Do any of you have any idea where to go next? Started with a fresh os for a couple of times and clean install, still the same happening.
OR_STORAGE_DIR exists which by default is /storage in the manager container; you can add a volume to the docker compose file to create this path as shown in our own docker-compose.yml (note the assignment of the manager-data in the manager service as well as being defined at the top of the compose file.
Make sure all the 3 lines are there, I had the same issue and fixed it with these lines.
You are looking for:
-line 12 manager-data:
-line 41 - manager-data:/storage
-line 85 - manager-data:/storage
line numbers are based on github yml that apurba posted
You can see the realm name in the 3 dots on top right → realms
So in your cause to publish is (supposing your realm name is fatslashblack)
I also don’t understand what are you trying to do with mosquitto
Consider that OpenRemote has an internal MQTT broker, so from your client you can just use the above topic to the MQTT broker user.thefatslash.com on port 8883 with a service user and his secret