Running manager using IDE

Hi,
I am trying to setting up IDE for OpenRemote and run the manager but I get Build failed error I follow the documents for Setting up IDE document but i get the error.

I don’t know exactly how to do it.
Any idea how to fix this issue?

Thanks in advance.

Give more information about the error you got please

Hi ixxc,
I am new user so i am not able to shared my snip,
Error i get:

[+] Running 2/2

  • Container openremote-postgresql-1 Healthy 0.6s
  • Container openremote-keycloak-1 Running 0.0s
    PS C:\Users\procu\Downloads\Procubed_OR-Environment_setup\openremote-master> ./gradlew clean installDist

Configure project :
File encryption plugin config found, configuring git pre commit hook and decrypt task dependency

FAILURE: Build failed with an exception.

  • Where:
    Script ‘C:\Users\procu\Downloads\Procubed_OR-Environment_setup\openremote-master\project.gradle’ line: 28

  • What went wrong:
    A problem occurred configuring root project ‘openremote’.

Failed to notify project evaluation listener.
C:\Users\procu\Downloads\Procubed_OR-Environment_setup\openremote-master.git\hooks\pre-commit (The system cannot find the path specified)

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 1s

Hi,
pls run below command in docker directory

docker-compose pull
docker-compose up / docker-compose -p openremote up

and share screenshot here

Thanks

Hi,
This command not run
PS C:\Users\procu\Downloads\Procubed_OR-Environment_setup\openremote-master> docker-compose pull
[+] Running 0/4

  • postgresql Error 10.6s
  • manager Error 10.6s
  • keycloak Error 10.6s
  • proxy Error 10.6s
    Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: TLS handshake timeout
    PS C:\Users\procu\Downloads\Procubed_OR-Environment_setup\openremote-master>

Hi,
share yml file here

kindly share the path of docker compose file .

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

hi.
i think problem is in your yml file

  1. make a folder name docker in desktop ----> keep yml file (which i share now ) —. open cmd in same directory

New folder.zip (1.1 KB)

and run the above command

hi,
Got Same error after change yml
Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: TLS handshake timeout
PS C:\Users\procu\Downloads\Procubed_OR-Environment_setup\openremote-master> docker-compose pull
[+] Running 0/4

  • manager Error 10.7s
  • postgresql Error 10.7s
  • proxy Error 10.7s
  • keycloak Error 10.7s
    Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: TLS handshake timeout
    PS C:\Users\procu\Downloads\Procubed_OR-Environment_setup\openremote-master>

hi,

join
google meet now
meet.google.com/vfw-kxez-dxa

and run

systemctl daemon-reload
systemctl restart docker
systemctl status docker
docker pull hello-world

1 Like

Hi
Any idea what’s wrong