esphome / esphome/issues

Esphome Dashboard cant update, install or show logs

Open
#3,996 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
313
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### The problem

Via command line I can do all kind of esphome command, like, compile, run, getting logs via usb and over air.
But via the web based dashboard the devices are shown and I can also edit them, but all further actions, like adopt, update, install or getting logs fails, without any error message. The log windows is opening but just stays empty and nothing further happens. I tried it with different docker images (stable, beta or dev).

### Which version of ESPHome has the issue?

2022.12.3

### What type of installation are you using?

Docker

### Which version of Home Assistant has the issue?

2023.1.0.dev20221227

### What platform are you using?

ESP32-IDF

### Board

nodemcu

### Component causing the issue

dashboard

### Example YAML snippet

```yaml
Independend of any specific yaml
```

### Anything in the logs that might be useful for us?

```txt
2023-01-02 20:03:38,642 INFO 101 GET /compile (172.19.0.2) 0.71ms
2023-01-02 20:03:39,076 INFO 101 GET /compile (172.19.0.2) 0.70ms
2023-01-02 20:03:39,472 INFO 101 GET /compile (172.19.0.2) 0.76ms
2023-01-02 20:13:01,405 INFO 200 GET /edit?configuration=esp32-1.yaml (172.19.0.2) 13.70ms
2023-01-02 20:13:01,458 INFO 101 GET /ace (172.19.0.2) 0.73ms
2023-01-02 20:13:06,599 INFO 101 GET /ace (172.19.0.2) 0.75ms
2023-01-02 20:16:29,979 INFO Starting dashboard web server on http://0.0.0.0:6052 and conf
2023-01-02 20:16:43,621 INFO 101 GET /compile (172.19.0.2) 1.09ms
2023-01-02 20:16:43,898 INFO 101 GET /compile (172.19.0.2) 0.82ms
2023-01-02 20:16:44,125 INFO 101 GET /compile (172.19.0.2) 0.73ms
2023-01-02 20:16:44,657 INFO 200 GET / (172.19.0.2) 5.49ms
2023-01-02 20:16:44,851 INFO 101 GET /compile (172.19.0.2) 0.72ms
2023-01-02 20:16:44,956 INFO 101 GET /compile (172.19.0.2) 0.78ms
2023-01-02 20:16:45,119 INFO 101 GET /compile (172.19.0.2) 0.70ms
2023-01-02 20:17:07,651 INFO 200 GET /static/js/esphome/c.284caccc.js (172.19.0.2) 21.21ms
2023-01-02 20:17:12,829 INFO 200 GET /static/js/esphome/c.8ffd08fb.js (172.19.0.2) 41.76ms
2023-01-02 20:17:12,877 INFO 101 GET /logs (172.19.0.2) 0.82ms
```

### Additional information

Via command line inside the container all is working fine.

Here is my docker-compose.yaml:
```
version: '3.2'

services:
esphome:
container_name: esphome
image: esphome/esphome:beta
command: dashboard --username admin --password cleared /config
volumes:
- /volume1/docker/Esphome/config:/config
- /etc/localtime:/etc/localtime:ro
restart: always
privileged: true
network_mode: host
```
screenshots:

![image](https://user-images.githubusercontent.com/20902204/210351122-f82a41a6-b582-442a-a5c3-0b8c82bd0b07.png)

![image](https://user-images.githubusercontent.com/20902204/210350878-d137cd23-87c9-42fc-9313-c73bdcb0e76f.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.