evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Optimization failed: [Errno 28] No space left on device

Open Silencer80 opened this issue 1 year ago • 1 comments

Describe the bug

Hello everyone,

Since the weekend, the externally integrated Optimizer is no longer displayed in the hamburger menu.

I receive the following error message in the LOG, which is obviously incorrect:

ERROR 2025/10/27 10:23:52 optimizer: Optimization failed: [Errno 28] No space left on device: '/tmp/39e009f8b26b4bc886da8b1c66ab4c7e-pulp.mps' 

Neither the HDD nor the inodes are at full capacity:

root@evcc:~# df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
udev            462M       0  462M    0% /dev
tmpfs            97M    592K   96M    1% /run
/dev/vda1        50G    6,1G   41G   13% /
tmpfs           481M       0  481M    0% /dev/shm
tmpfs           5,0M       0  5,0M    0% /run/lock
tmpfs            97M       0   97M    0% /run/user/0
root@evcc:~# df -i
Dateisystem     Inodes IBenutzt   IFrei IUse% Eingehängt auf
udev            118137      359  117778    1% /dev
tmpfs           122937      521  122416    1% /run
/dev/vda1      3251200    66295 3184905    3% /
tmpfs           122937        1  122936    1% /dev/shm
tmpfs           122937        3  122934    1% /run/lock
tmpfs            24587       20   24567    1% /run/user/0

Perhaps the problem is related to the current development. I would still like to report the error in case it is not already known.

I integrated EVOPT as follows:

root@evcc:~# cat /etc/systemd/system/evcc.service.d/evopt.conf
[Service]
Environment="EVOPT_URI=https://evopt.evcc.io"

EVCC Version is: evcc version 0.209.3 (a56a8b157)

Best regards! -Boris

Steps to reproduce

  1. Set Environment="EVOPT_URI=https://evopt.evcc.io"
  2. Restart Service.

Configuration details

[Service]
Environment="EVOPT_URI=https://evopt.evcc.io"

Log details

ERROR 2025/10/27 10:23:52 optimizer: Optimization failed: [Errno 28] No space left on device: '/tmp/39e009f8b26b4bc886da8b1c66ab4c7e-pulp.mps'

What type of operating system or environment does evcc run on?

Linux

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

evcc version 0.209.3 (a56a8b157)

Silencer80 avatar Oct 27 '25 09:10 Silencer80

Optimizer is an external component. Will take a look asap, thanks for the heads-up.

andig avatar Oct 27 '25 09:10 andig