The mobile application cannot get a response from https://xxx22.online/api/master/apps/consoleConfig, it returns a 500 error.
Request failed with HTTP error status: 500 Internal Server Error
Please contact the help desk.
Error in the logs:
INFO [WebService task-2 ] r.e.container.web.WebServiceExceptions : Web service exception in 'RESTEasy Dispatch' for 'GET http://xxx22.online/api/apps/consoleConfig', root cause: java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null
The file console_config.json is located at /deployment/manager/app.
Here are the contents of the console_config.json and docker-compose.yml files:
console_config.json:
{
"showAppTextInput": false,
"showRealmTextInput": false,
"app": null,
"allowedApps": ["manager"],
"apps": null
}
Docker-compose.yml:
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" # Needed for SSL generation using letsencrypt
- "${OR_SSL_PORT:-443}:443"
- "8883:8883"
- "127.0.0.1:8404:8404" # Localhost metrics access
volumes:
- proxy-data:/deployment
environment:
TZ: ${TZ}
LE_EMAIL: ${OR_EMAIL_ADMIN:-}
DOMAINNAME: ${OR_HOSTNAME:-localhost}
DOMAINNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
# Let's Encrypt
OR_ACME_ENABLED: "false"
OR_ACME_EMAIL: "xxx22@list.ru"
HAPROXY_CONFIG: '/deployment/haproxy.cfg'
PROXY_LOGLEVEL: "debug"
postgresql:
restart: always
image: openremote/postgresql:${POSTGRESQL_VERSION:-latest}
shm_size: 128mb
volumes:
- postgresql-data:/var/lib/postgresql/data
- manager-data:/storage
environment:
TZ: ${TZ}
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}
KC_HOSTNAME_PORT: ${OR_SSL_PORT:--1}
TZ: ${TZ}
manager:
privileged: true
restart: always
image: openremote/manager:${MANAGER_VERSION:-latest}
depends_on:
keycloak:
condition: service_healthy
ports:
- "127.0.0.1:8405:8405" # Localhost metrics access
environment:
TZ: ${TZ}
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_METRICS_ENABLED: ${OR_METRICS_ENABLED:-true}
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
.env:
TZ= America/Denver
OR_HOSTNAME=xxx22.online
MAP_TILES_PATH=./deployment/map/mapdatanew.mbtiles
MAP_SETTINGS_PATH=./deployment/map/mapsettings.json
KC_HOSTNAME=xxx22.online
KC_HOSTNAME_ADMIN=xxx22.online
OR_ADDITIONAL_HOSTNAMES=www.xxx.online
OR_ADMIN_PASSWORD=secret
OR_EMAIL_ADMIN=admin@xxx.online