NEWS
Adapter lasssen sich nicht updaten ( Windows )
-
Hallo,
Ich habe iobroker unter Windows 10 am laufen. Seit ein paar Tagen kann ich keine Updates mehr installieren.
Das Update läuft mit Code 0 durch. Allerdings wird danach der Adapter immer noch in der alten Version angezeigt.
Auffällig ist auch dass das ganze auch deutlich länger wie früher dauert.$ iobroker upgrade backitup@2.5.10 --debug Update backitup from @2.5.9 to @2.5.10 NPM version: 8.19.3 Installing iobroker.backitup@2.5.10... (System call) npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm ERR! code 1 npm ERR! git dep preparation failed npm ERR! command C:\Program Files\iobroker\SmartHome\nodejs\node.exe C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\Admin\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! > iobroker.midea@0.1.0 postinstall npm ERR! > node ./pythonPackages.js npm ERR! npm ERR! npm ERR! Start Python package installation npm ERR! npm ERR! Python 3 not found. Please install minimum python 3.8 npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! Python konnte nicht gefunden werden. F�hren Sie die Verkn�pfung ohne Argumente aus, um sie �ber den Microsoft Store zu installieren, oder deaktivieren Sie diese Verkn�pfung unter npm ERR! code 1 npm ERR! npm ERR! path C:\Users\Admin\AppData\Local\npm-cache\_cacache\tmp\git-cloneZXPlpw npm ERR! npm ERR! command failed npm ERR! npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./pythonPackages.js npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! npm ERR! C:\Users\Admin\AppData\Local\npm-cache\_logs\2023-01-20T07_10_41_171Z-debug-0.log npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Local\npm-cache\_logs\2023-01-20T07_08_39_842Z-debug-0.log upload [21] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript upload [20] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png upload [16] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [14] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [13] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [9] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/uk/translations.json i18n/uk/translations.json application/json upload [8] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [7] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/index.html index.html text/html upload [6] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html upload [1] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript upload [0] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/words.js words.js application/javascript Process exited with code 0
-
Mach es über die Kommandozeile, das dürfte etwas mehr an Meldungen bringen.
-
Hier die dortigen Meldungen:
C:\Program Files\iobroker\SmartHome>node node_modules/iobroker.js-controller/iobroker.js upgrade backitup@2.5.10 --debug This upgrade of "backitup" will introduce the following changes: ========================================================================== -> 2.5.10: Fix Docker Restore Fix Link Design dependencies updated Fix CIFS Mount ========================================================================== Would you like to upgrade backitup from @2.5.9 to @2.5.10 now? [(y)es, (n)o]: y Update backitup from @2.5.9 to @2.5.10 NPM version: 8.19.3 Installing iobroker.backitup@2.5.10... (System call) npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm ERR! code 1 npm ERR! git dep preparation failed npm ERR! command C:\Program Files\iobroker\SmartHome\nodejs\node.exe C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\Admin\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! > iobroker.midea@0.1.0 postinstall npm ERR! > node ./pythonPackages.js npm ERR! npm ERR! npm ERR! Start Python package installation npm ERR! npm ERR! Python 3 not found. Please install minimum python 3.8 npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! Python konnte nicht gefunden werden. F�hren Sie die Verkn�pfung ohne Argumente aus, um sie �ber den Microsoft Store zu installieren, oder deaktivieren Sie diese Verkn�pfung unter npm ERR! code 1 npm ERR! npm ERR! path C:\Users\Admin\AppData\Local\npm-cache\_cacache\tmp\git-cloneIoW03S npm ERR! npm ERR! command failed npm ERR! npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./pythonPackages.js npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! npm ERR! C:\Users\Admin\AppData\Local\npm-cache\_logs\2023-01-20T07_21_02_708Z-debug-0.log npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Local\npm-cache\_logs\2023-01-20T07_20_13_759Z-debug-0.log upload [21] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript upload [20] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png upload [19] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml upload [18] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [17] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [16] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [15] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [14] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [13] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [12] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [11] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [10] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [9] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/uk/translations.json i18n/uk/translations.json application/json upload [8] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [7] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/index.html index.html text/html upload [6] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html upload [5] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript upload [4] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/style.css style.css text/css upload [3] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css upload [2] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html upload [1] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript upload [0] backitup.admin C:/Program Files/iobroker/SmartHome/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
-
@m-a-hueb sagte in Adapter lasssen sich nicht updaten ( Windows ):
npm ERR! > iobroker.midea@0.1.0 postinstall npm ERR! > node ./pythonPackages.js npm ERR! Start Python package installation npm ERR! Python 3 not found. Please install minimum python 3.8
Da klemmt es an anderer Stelle. python nachinstallieren.
-
@thomas-braun Phyton 3.11 ist installiert und in den Systemvariablen eingetragen
unter cmd mit python --version kommt auch korrekt Python 3.11.1
Fehler bleibt bestehen -
Dann muss dir jemand aus dem Windows-Lager weiterhelfen. Hab ich keine Ahnung von.
-
@thomas-braun Dank dir trotzdem.
Das Python Problem habe ich mittlerweile gelöst:
Hier die Anleitung. Allerdings auf Englisch:
Falls jemand auch das Problem mit der python 3 Meldung hat:
Solution: Symbolic Link python3.exeJust create a symbolic link named python3.exe in a directory which is in your PATH environment variable (but which is not under the Python 3 installation directory) pointing to the Python 3 executable python3/python.exe. The symbolic link stays there and keeps pointing to the correct executable even if you upgrade the Python (since it's outside the Python 3 installation directory, it's not affected even when the whole directory of an outdated Python is deleted and a new Python is placed there).
It's very easy to prepare:
Execute an elevated Powershell Core (pwsh.exe), Powershell (powershell.exe), or Windows command shell (cmd.exe)
Decide where you want to create the symbolic link:
Pick a directory already in your PATH environment variable (use echo $env:PATH in Powershell or echo %PATH% in cmd.exe to print the variable contents)
Add any directory you like to the PATH variable (see below)
Navigate to the directory you chose in the previous step and create there a symbolic link named python3.exe pointing to the Python 3 executable (the target parameter), both paths may be absolute or relative:
in Powershell, use the New-Item command with the -Type SymbolicLink option:New-Item -Type SymbolicLink -Path python3.exe -Target c:<Python3-installation-directory>\python.exe
in cmd.exe, use the mklink command:mklink python3.exe c:<Python3-installation-directory>\python.exe
Now, if you execute python3 or python3.exe from any directory, Windows searches it in the current directory and then all directories in your PATH environment variable. It finds the symbolic link you have created which "redirects" it to the Python 3 executable and Windows executes it.