Skip to content

UI empty with multiple errors #3156

@lucabmn

Description

@lucabmn

Description

Hi,

I tried to install openems via docker, here is my docker compose file:


services:
  openems-edge:
    image: openems/edge:develop
    container_name: openems_edge
    hostname: openems_edge
    restart: unless-stopped
    volumes:
      - openems-edge-conf:/var/opt/openems/config:rw
      - openems-edge-data:/var/opt/openems/data:rw
    ports:
      - 8080:8080 # Apache-Felix
      - 8085:8085 # UI-Websocket

  openems-ui:
    image: openems/ui-edge:develop
    container_name: openems_ui
    hostname: openems_ui
    restart: unless-stopped
    volumes:
      - openems-ui-conf:/etc/nginx:rw
      - openems-ui-log:/var/log/nginx:rw
    environment:
      - UI_WEBSOCKET=ws://localhost:8085
    ports:
      - 880:80
      - 8443:443

volumes:
  openems-edge-conf:
  openems-edge-data:
  openems-ui-conf:
  openems-ui-log:

but when I try to open the UI i recive multiple errors:

NullInjectorError: R3InjectorError(AppModule)[ApplicationInitStatus -> InjectionToken Application Initializer -> [object Object] -> NavigationService -> NavigationService]: 
  NullInjectorError: No provider for NavigationService!
TypeError: this.service.websocket is null

But there is no error in the UI console.

Error: Promised response from onMessage listener went out of scope```

In the console of the edge container I recive this error:

```s6-rc-oneshot-run: fatal: unable to exec /etc/s6-overlay/s6-rc.d/init-adduser/run: Permission denied

s6-rc: warning: unable to start service init-adduser: command exited 126

I already tried different versions, even the develop version.

Screenshots

No response

Operating System

No response

How to reproduce the Error?

Install OpenEMS with the provided docker compose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions