derek
August 8, 2023, 11:09am
1
From an empty installation I am trying to add assets, I pulled the latest docker images,
I was able to add a thing asset, but after that I can’t add anything else.
now I started getting this error in the browser log
bundle.e26df3d3e0363024a110.js:8 Uncaught (in promise) RangeError: Incorrect locale information provided
at new NumberFormat (<anonymous>)
at bundle.e26df3d3e0363024a110.js:8:56341
at Array.map (<anonymous>)
at ne (bundle.e26df3d3e0363024a110.js:8:56237)
at X (bundle.e26df3d3e0363024a110.js:8:54910)
at Module.G (bundle.e26df3d3e0363024a110.js:8:54735)
at bundle.e26df3d3e0363024a110.js:8:204080
at Array.map (<anonymous>)
at n.value (bundle.e26df3d3e0363024a110.js:8:203806)
at n.value (bundle.e26df3d3e0363024a110.js:8:201332)
derek
August 8, 2023, 11:10am
2
I started the services with:
openremote % OR_HOSTNAME=openremote.metaspan.io DOMAINNAME=openremote.metaspan.io OR_SSL_PORT=8443 docker compose -p openremote up -d
here is my docker compose.yml
# 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:
# driver: local
# driver_opts:
# type: none
# o: bind
# device: /Users/derek/Sites/metaspan/malawi/openremote/deployment/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
- ./deployment/proxy-data:/deployment
environment:
LE_EMAIL: ${OR_EMAIL_ADMIN:-}
DOMAINNAME: ${OR_HOSTNAME:-localhost}
DOMAINNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
OR_HOSTNAME: ${OR_HOSTNAME:-localhost}
OR_ADDITIONAL_HOSTNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
OR_SSL_PORT: ${OR_SSL_PORT:--1}
# 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
- ./deployment/postgresql-data:/var/lib/postgresql/data
# - manager-data:/storage
- ./deployment/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:
OR_MAP_TILES_PATH: /deployment/map/mapdata.mbtiles
OR_MAP_SETTINGS_PATH: /deployment/map/mapsettings.json
volumes:
# - manager-data:/storage
- ./deployment/manager-data:/storage
- ./deployment:/deployment
Rich
August 10, 2023, 1:08pm
3
Hi,
This isn’t an issue we have come across but we can try and investigate.
So the error occurs when you try to create a second asset as a child of the Thing Asset
?
The error prevents you from creating the asset?