Blank page when logging in as manager

Hi Everyone,

I have just installed OpenRemote on our Oracle Cloud Linux instance which was a success. The instructions were followed from;

…which worked great.

However, When I went to open the page using https://xxx.xxx.xxx.xxx as per instructions, I saw a warning on the Firefox browser regarding privacy issues, which I accepted and bypassed. The Address came up as the Ipaddress /manager/ and the screen is blank.

Can you advise on how I can fix this please.

Thank you in advance,
Michael

Without looking into it too much, I notice from that article that the command to set the keycloak host is outdated. It should be KC_HOSTNAME=https://yourserver/

Could you give that a try?

Hi Don,

I have tried, and unfortunately, it has not worked

Maybe this topic can help you?

That threw a spanner in the works.

I am happy to start from square one again.

Would you happen to have the complete step by step instructions to install from scratch?

Please refer to the master docker profile, it explains the variables that affect HOSTNAME:

Just looks like you have a misconfiguration and your developer tools window in your browser will likely show more information,

@Don might be worth putting a comment on that blog post pointing back to our wiki

I’m having this same issue. I’ve read the ServerSelf article and made the changes recommended there, but still, I only get a plain white screen when I try and log into the manager.

If anyone else has any suggestions, i’m eager to hear and try them out!

Hi @zachflem and welcome to the forum,

could you please post your error log from console of your browser? (Press F12, while you are on the blank page).

Hey @Denis!

I’ve just blown away the VPS and started with a fresh and fully updated everything. Console output below:

I can get it to work if i edit the compose file and replace all the references to the hostname to my VPS ip address!

hI,
PLS POST YML HERE

All I did was:

  1. Change “DOMAINNAME: [IP ADDRESS]” in the “Proxy” section
  2. Change “KC_HOSTNAME: [IP ADDRESS]” in the “Keycloak” section
  3. Change “OR_HOSTNAME: [IP ADDRESS]” in the “Manager” section

The rest of the file is unchanged.

Hi,
kindly post this otherwise its very hard to find if you done mistake .

Also run
docker-compose -p openremote up and post the log here.

Thanks

# 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.
#
# Modified for XXXXX by Zach Fleming (zfleming@XXXX.XXX)
# April 18, 2023
#
#version: '2.4'
version: 'zf_2.4.1'

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}
      #ZF Edited below line to reflect IP address of host
      DOMAINNAME: xxx.xxx.xxx.xxx
      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}
      #ZF Edited below line to reflect IP address of host
      KC_HOSTNAME: xxx.xxx.xxx.xxx
      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}
      #ZF Edited below line to reflect IP address of host
      OR_HOSTNAME: xxx.xxx.xxx.xxx
      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
      #ZF Added deployment container
      - ./deployment:/deployment

Hi,
your yml file is ok , only change with me is version

version: ‘2.4’

Could you run
docker-compose -p openremote up and post the log here.

Thanks