I have recently learned about OpenRemote. I used the default OpenRemote Docker yml file from the quickstart guide to run a docker instance. I have succeeded run it on localhost, and after deploying OpenRemote to my hosting using the command
OR_HOSTNAME=mydomain docker-compose -p openremote up -d
I also have pull certificate from letsencrypt for it by using certbot (the same with demo page). However, whenever I tried to connect mobile app with the manager, I ran into these problem:
If I input “https:// mydomain.site” or mydomain.site, I got could not connect to domain, please verify address
If I input mydomain.site/manager, I came to input realm step, but after that, I got not found error
My app version is 1.1.1.
May I ask what did I do wrong, I appreciate any help, I have stuck for days. Thank you.
Please tell me if anyone need the logs, I’m willing to provide them.
I’d suggest navigating to https:// mydomain.site/manager/, on your computer (note the trailing backslash) sometimes there’s an issue with navigating to the proper manager URL. If that works, then you should use https://mydomain.site. Best of luck!
@panos yes I can, here’s the screenshot of it. I believe I’m using the same type of https with the demo.openremote.app which is from certbot and letsencrypt
But the error in the screenshot shows the folder /deployment/manager/app is not found in the manager docker container. Second, the HTTP calls to the map API, are giving a 500 error. So, very likely the file mapdata.mbtiles (fileformat storing the maps) is not where it needs to be.
If that does not work, your screenshot telling /deployment/manager/app is not a directory will be correct. As this file is stored in /deployment/manager/app/manager_config.json
Hi @pdw thanks for your fast reply, I recently check your suggestion, and indeed, it’s returning not found on my https://mydomain.site/manager_config.json. Then what should I do to resolve this ? Thank you!!
To give you more information, there’s a folder deployment created (in the same directory with yml file, not in the docker container) with nothing inside when I run the docker instance. Is this the folder I’m looking for ? Thank you!
hi @panos@pdw , thank you for all of your supports, I have managed to connect with the mobile app.
What I did was manually create folder deployment/manager/app and manually create the file manager_config.json. Then add this following line to the yml file under manager services and under volumn line: - ./deployment:/deployment
Quite not sure the creation of the folder is necessary, but it works, I would like not to touch it
I was typing to add the last line to the docker-compose.yml file. The last line alone should be enough if you run it from the git repository. Your message came first.
Fast and good thinking, and have some fun!
@panos can you take this found bug along to wherever or whoever can solve this?