NEWS
(gelöst) Adapter lassen sich nicht updaten
-
@thomas-braun said in Adapter lassen sich nicht updaten:
Besser das Log von einem Update-Versuch. (mit aktivem --debug)
Das is das doch…
-
@michael_4358 sagte in Adapter lassen sich nicht updaten:
@thomas-braun said in Adapter lassen sich nicht updaten:
Besser das Log von einem Update-Versuch. (mit aktivem --debug)
Das is das doch…
aber nicht vom updateversuch, das ist vom Start der Instanz
-
@homoran said in Adapter lassen sich nicht updaten:
@michael_4358 sagte in Adapter lassen sich nicht updaten:
@thomas-braun said in Adapter lassen sich nicht updaten:
Besser das Log von einem Update-Versuch. (mit aktivem --debug)
Das is das doch…
aber nicht vom updateversuch, das ist vom Start der Instanz
Kannst du mir die Vorgehensweise dazu geben
-
@thomas-braun sagte in Adapter lassen sich nicht updaten:
@michael_4358Besser das Log von einem Update-Versuch. (mit aktivem --debug)
in der Konsole :
iobroker upgrade iot --debug
siehe auch hier :
https://forum.iobroker.net/search?term=--debug&in=titlesposts
-
update eines apapters..
Update vis-icontwo from @0.87.0 to @0.89.0 NPM version: 8.11.0 Installing iobroker.vis-icontwo@0.89.0... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm ERR! code EBADENGINE npm ERR! engine Unsupported engine npm ERR! engine Not compatible with your version of node/npm: zigbee2mqtt@1.18.3 npm ERR! notsup Not compatible with your version of node/npm: zigbee2mqtt@1.18.3 npm ERR! notsup Required: {"node":"^10 || ^12 || ^14 || ^15"} npm ERR! notsup Actual: {"npm":"8.11.0","node":"v16.16.0"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-07-28T08_08_43_834Z-debug-0.log Adapter "system.adapter.vis.0" restarted. upload [1338] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Alarm/alarm.png Alarm/alarm.png image/png upload [1300] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Alarm/motion_people2.png Alarm/motion_people2.png image/png upload [1250] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Arrows/arrow_2_down.png Arrows/arrow_2_down.png image/png upload [1200] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Backgrounds/Seamless/50.jpg Backgrounds/Seamless/50.jpg image/jpeg upload [1150] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Brands/mysql_02.png Brands/mysql_02.png image/png upload [1100] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Devices/Awning/awning2_50.png Devices/Awning/awning2_50.png image/png upload [1050] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Devices/Computers/pc_grafana.png Devices/Computers/pc_grafana.png image/png upload [1000] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Devices/Cooling/fan1_on1.png Devices/Cooling/fan1_on1.png image/png upload [950] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Devices/Network/hub2.png Devices/Network/hub2.png image/png upload [900] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Devices/Printers/3D_printer_new.png Devices/Printers/3D_printer_new.png image/png upload [850] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Devices/laser_off.png Devices/laser_off.png image/png upload [800] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Doors_Windows/Shutter/blinds2_30.png Doors_Windows/Shutter/blinds2_30.png image/png upload [750] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Doors_Windows/window_open.png Doors_Windows/window_open.png image/png upload [700] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Electricity/switch2.png Electricity/switch2.png image/png upload [650] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Hobbies/Train/subway.png Hobbies/Train/subway.png image/png upload [600] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Letters/Rounded/q.png Letters/Rounded/q.png image/png upload [550] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Lights/light_dim_plus.png Lights/light_dim_plus.png image/png upload [500] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Misc/A.png Misc/A.png image/png upload [450] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Navigations/nav_cam1.png Navigations/nav_cam1.png image/png upload [400] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Numbers/Rounded/41.png Numbers/Rounded/41.png image/png upload [350] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Numbers/Rounded/87.png Numbers/Rounded/87.png image/png upload [300] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Player/on.png Player/on.png image/png upload [250] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Rooms/bedroom2_POWER_on.png Rooms/bedroom2_POWER_on.png image/png upload [200] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Rooms/hallway_POWER_on.png Rooms/hallway_POWER_on.png image/png upload [150] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Rooms/warehouse.png Rooms/warehouse.png image/png upload [100] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Signs/delete.png Signs/delete.png image/png upload [90] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Spa_Fitness/exercise.png Spa_Fitness/exercise.png image/png upload [80] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Spa_Fitness/sun-lounger.png Spa_Fitness/sun-lounger.png image/png upload [70] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/Warning/avalanche_land.png Weather/Warning/avalanche_land.png image/png upload [60] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/Warning/volcano.png Weather/Warning/volcano.png image/png upload [50] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/Wind_Speeds/wind_speed_38-42.png Weather/Wind_Speeds/wind_speed_38-42.png image/png upload [40] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/day.png Weather/day.png image/png upload [30] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/direction_w.png Weather/direction_w.png image/png upload [20] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/pressure_gauge2.png Weather/pressure_gauge2.png image/png upload [19] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/rain.png Weather/rain.png image/png upload [18] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/rain_value.png Weather/rain_value.png image/png upload [17] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/rainy.png Weather/rainy.png image/png upload [16] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/snow.png Weather/snow.png image/png upload [15] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/snow2.png Weather/snow2.png image/png upload [14] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/snow3.png Weather/snow3.png image/png upload [13] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/snow_value.png Weather/snow_value.png image/png upload [12] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/storm.png Weather/storm.png image/png upload [11] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/sun.png Weather/sun.png image/png upload [10] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/sun_value.png Weather/sun_value.png image/png upload [9] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/sunrise.png Weather/sunrise.png image/png upload [8] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/sunset.png Weather/sunset.png image/png upload [7] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/temp.png Weather/temp.png image/png upload [6] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/temp2.png Weather/temp2.png image/png upload [5] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/temp3.png Weather/temp3.png image/png upload [4] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/wet.png Weather/wet.png image/png upload [3] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/wind.png Weather/wind.png image/png upload [2] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/wind_value.png Weather/wind_value.png image/png upload [1] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/windsock.png Weather/windsock.png image/png upload [0] vis-icontwo /opt/iobroker/node_modules/iobroker.vis-icontwo/www/Weather/windy.png Weather/windy.png image/png upload [5] vis-icontwo.admin /opt/iobroker/node_modules/iobroker.vis-icontwo/admin/admin.d.ts admin.d.ts video/mp2t upload [4] vis-icontwo.admin /opt/iobroker/node_modules/iobroker.vis-icontwo/admin/i1_150.png i1_150.png image/png upload [3] vis-icontwo.admin /opt/iobroker/node_modules/iobroker.vis-icontwo/admin/icontwo.png icontwo.png image/png upload [2] vis-icontwo.admin /opt/iobroker/node_modules/iobroker.vis-icontwo/admin/index_m.html index_m.html text/html upload [1] vis-icontwo.admin /opt/iobroker/node_modules/iobroker.vis-icontwo/admin/style.css style.css text/css upload [0] vis-icontwo.admin /opt/iobroker/node_modules/iobroker.vis-icontwo/admin/words.js words.js application/javascript
hier das update des text2cmd
Update text2command from @2.2.1 to @2.2.2 NPM version: 8.11.0 Installing iobroker.text2command@2.2.2... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm ERR! code EBADENGINE npm ERR! engine Unsupported engine npm ERR! engine Not compatible with your version of node/npm: zigbee2mqtt@1.18.3 npm ERR! notsup Not compatible with your version of node/npm: zigbee2mqtt@1.18.3 npm ERR! notsup Required: {"node":"^10 || ^12 || ^14 || ^15"} npm ERR! notsup Actual: {"npm":"8.11.0","node":"v16.16.0"} npm ERR! A complete log of this run can be found in:
sieht nach einem npm fehler aus....
oder irre ich da?
-
@michael_4358 sagte in Adapter lassen sich nicht updaten:
sieht nach einem npm fehler aus....
Nein, das sieht danach aus, dass zigbee2mqtt nicht kompatibel mit nodeJS@16 ist.
-
@thomas-braun said in Adapter lassen sich nicht updaten:
@michael_4358 sagte in Adapter lassen sich nicht updaten:
sieht nach einem npm fehler aus....
Nein, das sieht danach aus, dass zigbee2mqtt nicht kompatibel mit nodeJS@16 ist.
was kann ich da machen?
-
@michael_4358 sagte in Adapter lassen sich nicht updaten:
hier das update
sieht nach einem npm fehler aus....
Bitte die Ein/ und Ausgabe komplett posten !!!
-
Wie ist denn das grundsätzlich da aufgesetzt?
uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
anschauen.
-
@thomas-braun said in Adapter lassen sich nicht updaten:
Wie ist denn das grundsätzlich da aufgesetzt?
uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
anschauen.
was passiert wenn ich das eingebe?
-
Es kommt ein Ausgabe ... und die hier posten
-
@michael_4358
Dann kann man sehen, wie das System aufgesetzt wurde. -
root@raspberrypi:~# uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.16.0 v16.16.0 8.11.0 root /root Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://deb.nodesource.com/node_16.x buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done 35 packages can be upgraded. Run 'apt list --upgradable' to see them. nodejs: Installed: 16.16.0-deb-1nodesource1 Candidate: 16.16.0-deb-1nodesource1 Version table: *** 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages root@raspberrypi:~#
schnell das update gemacht
root@raspberrypi:~# uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.16.0 v16.16.0 8.11.0 root /root Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 https://deb.nodesource.com/node_16.x buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. nodejs: Installed: 16.16.0-deb-1nodesource1 Candidate: 16.16.0-deb-1nodesource1 Version table: *** 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
-
.....
-
@michael_4358 sagte in Adapter lassen sich nicht updaten:
schnell das update gemacht
und wenn du schon oben EDIT machst ,
dann auch als USER anmelden nicht als root -
@glasfaser said in Adapter lassen sich nicht updaten:
@michael_4358 sagte in Adapter lassen sich nicht updaten:
schnell das update gemacht
und wenn du schon oben EDIT machst ,
dann auch als USER anmelden nicht als rootpi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.16.0 v16.16.0 8.11.0 pi /home/pi Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 https://deb.nodesource.com/node_16.x buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. nodejs: Installed: 16.16.0-deb-1nodesource1 Candidate: 16.16.0-deb-1nodesource1 Version table: *** 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
-
An der Ausgabe verändert sich dadurch jetzt nichts !
Nur wenn du im Vorfeld immer mit root angemeldet warst und damit alles gemacht hast !
-
@thomas-braun sagte in Adapter lassen sich nicht updaten:
@michael_4358 sagte in Adapter lassen sich nicht updaten:
sieht nach einem npm fehler aus....
Nein, das sieht danach aus, dass zigbee2mqtt nicht kompatibel mit nodeJS@16 ist.
Doch ist es, man muss es halt mal upgraden. Ich hab’s ja am Laufen.
-
Gut, in der verwendeten Version offenbar nicht.
Aber das sollte ein root erkennen. Wenn er die Eier hat sich als root anzumelden. -