New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no MAP after update Nodejs 10->12 #119
Comments
I also updated from 10 to 12 and the logs get flooded with the following error (every 3 seconds while the vacuum is driving): |
Yes you need to rebuild the adapter! ... Did you considered all steps for upgading nodejs propertly? There is a forum post ... |
sorry, tested, iobroker rebuild ( with or without --install ) doesn't fix the issue. With Node 10 is working fine, with Node12.x not. |
Was genau ist denn das log bei rebuild mit --install? |
also wenn ich im laufenden Betrieb den Adapter stoppe, dann in der Konsole ein iobroker rebuild mihome-vacuum --install eingebebe, kommt folgendes: Rebuild mihome-vacuum done Im logfile: Wo sitzt der Fehler? :-) |
also ich hab auch gerade mit dem iot adapter getestet, da kommt auch kein Eintrag ins logfile.. |
hab mal im node_modules/iobroker.mihome-vacuum ein "npm i" gemacht.. jetzt kommt bei dem mit der alten Firmware 1886 oder was ist eine Karte, bei denen mit der neuen Firmware 2008, keine. Vielleicht auch oben falsch ausgedrückt, das ist nicht! nach dem Update von Node 10 auf Node 12, sondern generell unter Node12 gibts da Probleme mit der Karte. Beim alten Testsystem mit Node10 funktioniert es ja. |
sooo nachdem ich vorhin das "npm i" im mihome-vacuum Ordner gemacht habe, und die Adapter nochmal neu gestartet habe, kam jetzt bei allen auch eine Karte! Also meine Meinung dazu. Das "iobroker rebuild" funktioniert nicht. |
Dann müsste ja auch bei einer Neuinstallation unter node12 die Karte funktionieren. Tut sie aber, zumindest bei mir, nicht. |
Dich, weil das rebuild nicht geht, geh Mal ins Verzeichnis und mach ein npm i dann Adapter wieder starten, zur Sicherheit ins config gehen und den Key nochmal laden, und warten... Nach 10-15 Minuten ist dann die Karte da. |
Also an sich tut das rebuild und ja es kann sein das keine Ausgabe kommt. ggf mal installation fixer laufen lassen. |
Eben nicht. Es sieht so aus, als ob der Aufruf bei "iobroker rebuild" gar nicht starten würde, da er sofort fertig ist und im Log nichts steht! Wenn ich per Hand ins Verzeichnis wechsel, und ein npm i eingebe, was nix anderes ist, dann funktioniert es ja und es kommt auch ne Ausgabe von npm! Mir wurde gerade "alles Gute" gewünscht von iobroker,cweil ich "iobroker fix" zum 100.ten Mal aufgerufen habe.. 🤣 |
wie ist denn die ausgabe von npm? |
das ist ja das, was mich so wundert, es sieht so aus, als ob npm garnicht starten würde.. Rebuild mihome-vacuum done Da steht sofort nur "rebuild done" also der Aufruf, was iobroker gerne machen würde, und dann sofort "rebuild done" . Schön, dass er schnell fertig ist.. aber der Aufruf von NPM startet garnicht.. auch in den Systemlogs ist nix.. und NPM macht ja gern ne Ausgabe in der console.. da kommt garnix.. nix nuescht nothing.. |
assigned to iobroker.js-controller looks like a problem from the 3.x Controller, not from mihome-vacuum adapter. |
Funktioniert super. Danke |
habe dasselbe Problem. Wie und wo genau muss das command eingegeben werden?
Bitte um Hilfe. |
mach es mit "sudo npm -i" in dem Ordner.. ich habe zusätzlich noch das map feature deaktviert und wieder aktiviert und den Key neu geladen |
STTOOOPPPPPP!!!!! Wenn ist es /opt/iobroker/node_modules/iobroker.mihome-vacuum und dort ein "npm i" |
Deutet auf eine falsche Installation von nodeJS hin. Das sollte eigentlich in /usr/bin liegen, nicht in /usr/local/bin |
Im updating nodejs 10 to 12. After this i get no map updates. I roll back to 10 and it works.
ioBroker latest (js controller 3.0.14 - 3.0.17)
Nodejs 10.20.1 works
Nodejs 12.16.1 no Map update
Mi Vacuum Gen1 lastest FW (testing other FW. Same thing)
The text was updated successfully, but these errors were encountered: