OpenRemote White Label Custom Deplyment Help

Hello @apurba may i know please which error log post you are asking for? Thanks.

Hi @kpin404
Just to make things more clear, please write:
-actual state of your docker-compose.yml
-actual state of your manager_config.json
-any errors that you get when you launch docker-compose -p openremote up

Also make sure your folder structure is like this:

Hello @pcr
Herein your requested details:

# OpenRemote v3
#
# Profile that runs the stack by default on https://localhost using a self-signed SSL certificate,
# but optionally on https://$OR_HOSTNAME with an auto generated SSL certificate from Letsencrypt.
#
# It is configured to use the AWS logging driver.
#
version: '2.4'

volumes:
  proxy-data:
  manager-data:
  postgresql-data:

services:

  proxy:
    image: openremote/proxy:${PROXY_VERSION:-latest}
    restart: always
    depends_on:
      manager:
        condition: service_healthy
    ports:
      - "80:80"
      - "${OR_SSL_PORT:-443}:443"
      - "8883:8883"
    volumes:
      - proxy-data:/deployment
    environment:
      LE_EMAIL: ${OR_EMAIL_ADMIN:-}
      DOMAINNAME: ${OR_HOSTNAME:-localhost}
      DOMAINNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
      # USE A CUSTOM PROXY CONFIG - COPY FROM https://raw.githubusercontent.com/openremote/proxy/main/haproxy.cfg
      #HAPROXY_CONFIG: '/data/proxy/haproxy.cfg'

  postgresql:
    restart: always
    image: openremote/postgresql:${POSTGRESQL_VERSION:-latest}
    volumes:
      - postgresql-data:/var/lib/postgresql/data
      - manager-data:/storage

  keycloak:
    restart: always
    image: openremote/keycloak:${KEYCLOAK_VERSION:-latest}
    depends_on:
      postgresql:
        condition: service_healthy
    volumes:
      - ./deployment:/deployment
    environment:
      KEYCLOAK_ADMIN_PASSWORD: ${OR_ADMIN_PASSWORD:-secret}
      KC_HOSTNAME: ${OR_HOSTNAME:-localhost}
      KC_HOSTNAME_PORT: ${OR_SSL_PORT:--1}


  manager:
    privileged: true
    restart: always
    image: openremote/manager:${MANAGER_VERSION:-latest}
    depends_on:
      keycloak:
        condition: service_healthy
    environment:
      OR_SETUP_TYPE:
      OR_ADMIN_PASSWORD:
      OR_SETUP_RUN_ON_RESTART:
      OR_EMAIL_HOST:
      OR_EMAIL_USER:
      OR_EMAIL_PASSWORD:
      OR_EMAIL_X_HEADERS:
      OR_EMAIL_FROM:
      OR_EMAIL_ADMIN:
      OR_HOSTNAME: ${OR_HOSTNAME:-localhost}
      OR_ADDITIONAL_HOSTNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
      OR_SSL_PORT: ${OR_SSL_PORT:--1}
      OR_DEV_MODE: ${OR_DEV_MODE:-false}

      # The following variables will configure the demo
      OR_FORECAST_SOLAR_API_KEY:
      OR_OPEN_WEATHER_API_APP_ID:
      OR_SETUP_IMPORT_DEMO_AGENT_KNX:
      OR_SETUP_IMPORT_DEMO_AGENT_VELBUS:
    volumes:
      - manager-data:/storage
      - ./deployment:/deployment

 "realms": {
    "default": {
      "appTitle": "ACME IoT",
      "headers": [
        "map", "assets", "rules", "insights", "language", "users", "roles", "account", "logs", "logout"
      ],
      "styles": ":host > * {--or-app-color2: #F9F9F9; --or-app-color3: #22211f; --or-app-color4: #1b5630; --or-app-color5: #CCCCCC;}",
      "logo": "/images/logo.png",
      "logoMobile": "/images/logo-mobile.png",
      "favicon": "/images/favicon.png",
      "language": "en"
    },
    "master": {
      "appTitle": "ACME Master",
      "styles": ":host > * {--or-app-color2: #F9F9F9; --or-app-color3: #22211f; --or-app-color4: #275582; --or-app-color5: #CCCCCC;}",
      "logo": "/images/logo.png",
      "logoMobile": "/images/logo-mobile.png",
      "favicon": "/images/logo-favicon.png",
      "language": "en"
    },
    "clienta": {
      "appTitle": "Client A",
      "styles": ":host > * {--or-app-color2: #F9F9F9; --or-app-color3: #22211f; --or-app-color4: #275582; --or-app-color5: #CCCCCC;}",
      "logo": "/images/clienta-logo.png",
      "logoMobile": "/images/clienta-logoMobile.png",
      "favicon": "/images/clienta-favicon.png",
      "language": "de"
    }
  }
}

openremoteScreenshot_15

openremoteScreenshot_18

Please have review the provided details and assist further to fix this. Thanks.

Hi,
You can try to replace machine ip with localhost

${OR_HOSTNAME:-localhost} ----->>>> 192.xxx.xxx.xxx

then try below command

docker-compose down
then restart docker and delete unused images from demon
docker-compose -p openremote up

and also post docker demon (doccke desktop ) container photo

Thanks

Hello @apurba thanks for keep assisting.

You mean like this?

environment:
      LE_EMAIL: ${OR_EMAIL_ADMIN:-}
      DOMAINNAME: ${OR_HOSTNAME:192.168.xxx.xxx}
      DOMAINNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}

Hi,
Try below

New Text Document.txt (2.1 KB)

then go to browser and type
http://ip/auth

Hello @apurba herein i have got this.

GREAT , issue solved?

Thanks

Hello @apurba as per your further suggestion after deleting all the images from docker desktop i run the command docker-compose -p openremote up and waiting to complete with the fresh installation. Update you with an output result after running the openremote webpage through machine ip address rather than localhost. Thanks for keep supporting.

Hello @apurba for fresh docker-compose -p openremote up command herein the command prompt window message. What does this mean? Thanks.

But no openremote container created at docker desktop as was created first time installation automatically.

Hi,
keycloak is not running , my suggestion is try pull command after that up command.

Thanks,

This is not a difficult issue.

You should run docker-compose -p openremote up -d with the -d parameter behind it.
It enables running in “detached”-mode. For simpler words: “running in the background”.

It looks like you closed / stopped the terminal process, also causing the server to stop.
That’s why they don’t appear in the containers list on Docker Desktop :wink:

The images seems to have been downloaded correctly.
If you want to be sure you can always delete the images in Docker Desktop and run the command again; it will automatically download the most recent version.

Hello @apurba just run the docker-compose pull and waiting for to complete it. Thanks for keep assisting.

Hello @martin.peeters thank you for your further feedback response in helping me on this. I really appreciate it.

Sure, next i’ll run docker-compose -p openremote up -d once pull command in terminal completed after check for the container in docker desktop window. Thanks.

1 Like

Hello @apurba herein i have got an error while run pull command. Thanks.

Hi,
This is common issue , kindly google it.

Hello @martin.peeters as per your further suggestion run the docker-compose -p openremote up -d command and got an error message herein:

Hello there! openremote comes back to containers’ list, but ‘openremote-proxy-1’ keeps trying to restarting again -and-again and now getting site can not be reached.

Hi,
click on that option and see what error you getting

Thanks

Hello @apurba Thanks for keep assisting. I apprecate.

Well, now i have been reinstalled with a fresh docker compose yml file after deleting all the containers images and volumes on docker desktop and again followed How to: white labeling of your free open source IoT platform - YouTube step-by-step thoroughly and logged in, but platform still opens with same openremote logo. Thanks.