Hi Everyone,
I have just installed OpenRemote on our Oracle Cloud Linux instance which was a success. The instructions were followed from;
This article will show you how to install OpenRemote, a straightforward and user-friendly open source IoT platform, on your Linux VPS server.
Est. reading time: 2 minutes
…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
Don
September 29, 2022, 7:35am
2
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
Don
September 29, 2022, 8:20am
4
Maybe this topic can help you?
Hello,
I have issue with starting of OpenRemote on Oracle Cloud. Completly fresh installation.
I use Ubuntu 20.04 as system. I have installed Docker and used docker-compose to start docker containers. Looking on “docker ps” it looks that all containers are running fine.
I have also allowed ports 80,443, 8883 to go through and that are visible from outside via public IP. During troubleshooting I tested nginx instalation and I was able to see basic webpage on port 80. So it seems to me that fir…
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?
Rich
October 4, 2022, 2:26pm
6
Please refer to the master docker profile, it explains the variables that affect HOSTNAME:
# OpenRemote v3
#
# This is the base configuration profile. Note that you must extend this configuration to complete
# it with service dependencies and volume mappings, see docker-compose.yml for a usable complete
# configuration.
#
# This file contains a description of all the environment variables available for each service
# including their default values. These can be overridden in many ways, shell environment variable,
# env file, extending/merging this compose file, etc.
#
# Here's a list of commonly customised environment variables:
#
# OR_ADMIN_PASSWORD
# OR_HOSTNAME
# OR_EMAIL_HOST
# OR_EMAIL_USER
# OR_EMAIL_PASSWORD
# OR_EMAIL_FROM
# OR_EMAIL_ADMIN
# OR_IDENTITY_PROVIDER
This file has been truncated. show original
Just looks like you have a misconfiguration and your developer tools window in your browser will likely show more information,
Rich
October 4, 2022, 2:28pm
7
@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!
Denis
April 14, 2023, 1:14pm
9
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!
All I did was:
Change “DOMAINNAME: [IP ADDRESS]” in the “Proxy” section
Change “KC_HOSTNAME: [IP ADDRESS]” in the “Keycloak” section
Change “OR_HOSTNAME: [IP ADDRESS]” in the “Manager” section
The rest of the file is unchanged.
apurba
April 19, 2023, 5:33am
14
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
apurba
April 21, 2023, 4:02am
16
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