Closed gtrabanco closed 3 months ago
Exactly the same as PR #5070
2024.5.5
Home Assistant Add-on
2024.6.3
ESP32
Sonoff NSPanel
esp-idf
# Whatever yaml that includes esp32: framework: type: esp-idf
Building wheels for collected packages: cryptography, cffi, pyyaml, msgpack Building wheel for cryptography (pyproject.toml): started
I am using it as addon in Raspberry Pi 4 4GB RAM which is pretty much for all I have.
It get stuck after that line in the logs. Later all raspberry pi is rebooted a few minutes later after try to compile.
No other report in the logs, no errors at any part (esphome logs or home assistant logs).
I tried to solve it by "login" into the shell of the addon with Terminal addon and protected mode disables:
docker exec -it <addon_name> /bin/sh apt purge rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
This didn't work. Also tried to reinstall dependencies:
docker exec -it <addon_name> /bin/sh platformio pkg update platformio pkg install
It was some time updating and installing but the result was the same. I didn't find a way to be able to compile.
I think is related to available resources. I installed esphome in a proxmox mini pc with 3 cores and 4 GB RAM (2 Wasn't enough) and it compiled. I have to do the compilations outside of Home Assistant Machine 😓
The problem
Exactly the same as PR #5070
Which version of ESPHome has the issue?
2024.5.5
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.6.3
What platform are you using?
ESP32
Board
Sonoff NSPanel
Component causing the issue
esp-idf
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
I am using it as addon in Raspberry Pi 4 4GB RAM which is pretty much for all I have.
It get stuck after that line in the logs. Later all raspberry pi is rebooted a few minutes later after try to compile.
No other report in the logs, no errors at any part (esphome logs or home assistant logs).
Try to solve but fail
I tried to solve it by "login" into the shell of the addon with Terminal addon and protected mode disables:
This didn't work. Also tried to reinstall dependencies:
It was some time updating and installing but the result was the same. I didn't find a way to be able to compile.