ioBroker / ioBroker.echarts

Show all history data in one GUI
Apache License 2.0
19 stars 3 forks source link

ECharts instance does not start after host update to version 6.0.9. #680

Open hgschwibbe opened 1 month ago

hgschwibbe commented 1 month ago

Describe the bug
Echarts instance does not start after host update to version 6.0.9.

To Reproduce
Steps to reproduce the behavior: Install the updates

Expected behavior
ECharts instance should start

Screenshots & Logfiles
Instanz Logs

Versions:

hgschwibbe commented 1 month ago

According to the error: Cannot finde module @iobroker/adapter-core:

A file structure comparison shows that there is no @iobroker/adapter-core folder anymore in Host version 6.0.9: comparison

Apollon77 commented 1 month ago

Then something is strange. please reinstall echarts

hgschwibbe commented 1 month ago

Same issue, but all my charts are gone. EChart still looking for non existing '@iobroker/adapter-core' and crashes with an error.

hgschwibbe commented 1 month ago

npm install iobroker.echarts@1.9.0 solved my problem.

Hopefully it does not cause further problems, because only 1.7.2 is the latest available version: echarts

mule1972 commented 4 weeks ago

Installed V1.8.4 from the beta repository which solved the issue too.

klein0r commented 3 weeks ago

npm install iobroker.echarts@1.9.0 solved my problem.

Looks like you execute those commands as root. This leads to permission issues (since the iobroker linux user is not able to modify those files). And you should avoid using npm directly!

  1. Use iobroker cli to upgrade or install packages
  2. Or execute those npm commands with the correct linux user (not recommended) e.g.
sudo -u iobroker npm install iobroker.echarts@1.9.0

Use the iobroker fixer to correct the permissions:

Screenshot 2024-08-22 at 09 42 06
hgschwibbe commented 3 weeks ago

Yeah I already recognized it because iobroker was unable to open the database files, so I had to execute the chmod command to make it right. But thanks for the hint.

ltspicer commented 2 weeks ago

Zur Info: Hatte das gleiche Problem und wie empfohlen die eCharts V1.8.4 von der beta Repository installiert und das Problem schien gelöst. Mit der V1.9.0 war unterhalb des Charts (zBsp Datenquellen) das Fenster leer. Leider zeigte eCharts V1.8.4 bei monatlichen Totalen (bei mir PV Total Monate >> bis 2 Jahre zurück) nichts mehr an. Habe nun auf die offizielle V1.7.2 downgraded und siehe da, der host-Fehler ist nun auch weg. Nun läuft es wieder wie gewohnt.