NEWS
Ich kann nichts mehr installieren / updaten
-
iobroker upgrade node-red@3.3.1 --debug
-
pi@iobroker-master:/opt/iobroker $ iobroker upgrade node-red@3.3.1 --debug This downgrade of "node-red" will remove the following changes: ========================================================================== -> 4.0.0 IMPORTANT: Node.js 14.x now needed at least Upgrade to node-red 3.0.2, enable runtime-state features and switch editor to monaco-editor Correctly escape backslashes when writing setting file on Windows ========================================================================== BE CAREFUL: THIS IS A MAJOR DOWNGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to downgrade node-red from @4.0.0 to @3.3.1 now? [(y)es, (n)o]: y Update node-red from @4.0.0 to @3.3.1 NPM version: 8.11.0 Installing iobroker.node-red@3.3.1... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/acorn npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-08-16T10_55_26_188Z-debug-0.log host.iobroker-master Cannot install iobroker.node-red@3.3.1: 217
-
cd /opt/iobroker/node_modules for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done iobroker upgrade node-red@3.3.1 --debug
-
pi@iobroker-master:/opt/iobroker $ cd /opt/iobroker/node_modules pi@iobroker-master:/opt/iobroker/node_modules $ for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done pi@iobroker-master:/opt/iobroker/node_modules $ iobroker upgrade node-red@3.3.1 --debug This downgrade of "node-red" will remove the following changes: ========================================================================== -> 4.0.0 IMPORTANT: Node.js 14.x now needed at least Upgrade to node-red 3.0.2, enable runtime-state features and switch editor to monaco-editor Correctly escape backslashes when writing setting file on Windows ========================================================================== BE CAREFUL: THIS IS A MAJOR DOWNGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to downgrade node-red from @4.0.0 to @3.3.1 now? [(y)es, (n)o]: y Update node-red from @4.0.0 to @3.3.1 NPM version: 8.11.0 Installing iobroker.node-red@3.3.1... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/@babel/runtime npm ERR! dest /opt/iobroker/node_modules/@babel/.runtime-cSN2FFol npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@babel/runtime' -> '/opt/iobroker/node_modules/@babel/.runtime-cSN2FFol' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-08-16T10_58_07_136Z-debug-0.log host.iobroker-master Cannot install iobroker.node-red@3.3.1: 217
-
@fiso sagte in Ich kann nichts mehr installieren / updaten:
cd /opt/iobroker/node_modules/@babel for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done iobroker upgrade node-red@3.3.1 --debug
Und so weiter für weitere Verzeichnisse mit versteckten Verzeichnissen mit kryptischen Endungen.
-
Danke, das hat dann funktioniert. Er konnte Node dann downgraden. Hab dann Node-Red im iobroker deinstalliert (hat auch geklappt), aber ich kann den Adapter nun garnichtmehr installieren. Es kommt immer folgende Fehlermeldung:
$ iobroker add node-red auto --host iobroker-master --debug NPM version: 8.11.0Installing iobroker.node-red@4.0.0... (System call) npm ERR! code ENOTEMPTY host.iobroker-master Cannot install iobroker.node-red@4.0.0: 217 ERROR: Process exited with code 25
Was mir aufgefallen ist: Ich kann zumindest wieder neue Adapter installieren, das ging vorher nicht.
den SQL Adapter wollte ich auch upgraden, aber es kommt folgende fehlermeldung:
271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp': '/opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vYTP', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/.bin/mkdirp': '/opt/iobroker/node_modules/node-gyp/node_modules/.bin/.mkdirp-Ct4LiqGE', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/is-fullwidth-code-point': '/opt/iobroker/node_modules/node-gyp/node_modules/.is-fullwidth-code-point-9zDQVrU4', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/npmlog': '/opt/iobroker/node_modules/node-gyp/node_modules/.npmlog-8fhQ4cOQ', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/readable-stream': '/opt/iobroker/node_modules/node-gyp/node_modules/.readable-stream-aZybdzCg', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/signal-exit': '/opt/iobroker/node_modules/node-gyp/node_modules/.signal-exit-LQ9rNd2v', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/string-width': '/opt/iobroker/node_modules/node-gyp/node_modules/.string-width-iQNhIdLT', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/strip-ansi': '/opt/iobroker/node_modules/node-gyp/node_modules/.strip-ansi-X1jmnUZh', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/tar': '/opt/iobroker/node_modules/node-gyp/node_modules/.tar-dy93EdLL', 271 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/wide-align': '/opt/iobroker/node_modules/node-gyp/node_modules/.wide-align-HvDrjN4p', 271 silly reify '/opt/iobroker/node_modules/signal-exit': '/opt/iobroker/node_modules/.signal-exit-myKgrl00', 271 silly reify '/opt/iobroker/node_modules/socks': '/opt/iobroker/node_modules/.socks-Ly3eN6mV', 271 silly reify '/opt/iobroker/node_modules/socks-proxy-agent/node_modules/agent-base': '/opt/iobroker/node_modules/socks-proxy-agent/node_modules/.agent-base-kgXOEHfK', 271 silly reify '/opt/iobroker/node_modules/sqlite3': '/opt/iobroker/node_modules/.sqlite3-8qPhwEH9', 271 silly reify '/opt/iobroker/node_modules/tar': '/opt/iobroker/node_modules/.tar-NeTPgzH9', 271 silly reify '/opt/iobroker/node_modules/wide-align': '/opt/iobroker/node_modules/.wide-align-CJ7lqbuZ', 271 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/chownr': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.chownr-8LatjZPf', 271 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.mkdirp-zZ32xAdE', 271 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/mkdirp': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/.mkdirp-r2nTdSNU', 271 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/tar': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.tar-MtfJh6vz' 271 silly reify } 272 timing reify:rollback:retireShallow Completed in 13ms 273 timing command:install Completed in 10495ms 274 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar' -> '/opt/iobroker/node_modules/iobroker.js-controller/no$ 275 verbose cwd /opt/iobroker 276 verbose Linux 5.10.103-v7l+ 277 verbose node v16.16.0 278 verbose npm v8.11.0 279 error code ENOTEMPTY 280 error syscall rename 281 error path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar 282 error dest /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.tar-k92wKR6q 283 error errno -39 284 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar' -> '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.tar$ 285 verbose exit -39 286 timing npm Completed in 10790ms 287 verbose unfinished npm timer reify 1660650749107 288 verbose unfinished npm timer reify:retireShallow 1660650759551 289 verbose code -39 290 error A complete log of this run can be found in: 290 error /home/iobroker/.npm/_logs/2022-08-16T11_52_28_826Z-debug-0.log
nachdem ich die verzeichnisse umbenannt habe erhalte ich noch folgende fehlermeldungen:
$ iobroker upgrade sql@2.1.8 --debug Update sql from @2.1.7 to @2.1.8 NPM version: 8.11.0Installing iobroker.sql@2.1.8... (System call) npm ERR! code ENOTEMPTY npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-08-16T12_14_18_123Z-debug-0.log host.iobroker-master Cannot install iobroker.sql@2.1.8: 217 ERROR: Process exited with code 25
-
@fiso sagte in Ich kann nichts mehr installieren / updaten:
npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-08-16T12_14_18_123Z-debug-0.log
Dann schau in das volle log rein.
-
0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@8.11.0 2 info using node@v16.16.0 3 timing npm:load:whichnode Completed in 0ms 4 timing config:load:defaults Completed in 6ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 2ms 6 timing config:load:builtin Completed in 4ms 7 timing config:load:cli Completed in 7ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/opt/iobroker/.npmrc Completed in 4ms 10 timing config:load:project Completed in 14ms 11 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:/usr/etc/npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:validate Completed in 1ms 16 timing config:load:credentials Completed in 4ms 17 timing config:load:setEnvs Completed in 4ms 18 timing config:load Completed in 46ms 19 timing npm:load:configload Completed in 48ms 20 timing npm:load:mkdirpcache Completed in 4ms 21 timing npm:load:mkdirplogs Completed in 1ms 22 verbose title npm install iobroker.sql@2.1.8 23 verbose argv "install" "--save-exact" "iobroker.sql@2.1.8" 24 timing npm:load:setTitle Completed in 4ms 25 timing config:load:flatten Completed in 13ms 26 timing npm:load:display Completed in 18ms 27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs 28 verbose logfile /home/iobroker/.npm/_logs/2022-08-16T12_14_18_123Z-debug-0.log 29 timing npm:load:logFile Completed in 22ms 30 timing npm:load:timers Completed in 1ms 31 timing npm:load:configScope Completed in 0ms 32 timing npm:load Completed in 102ms 33 timing arborist:ctor Completed in 3ms 34 silly logfile start cleaning logs, removing 2 files 35 silly logfile done cleaning log files 36 timing idealTree:init Completed in 3715ms 37 timing idealTree:userRequests Completed in 31ms 38 silly idealTree buildDeps 39 silly fetch manifest iobroker.sql@2.1.8 40 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 41 http fetch GET 200 https://registry.npmjs.org/iobroker.sql 4928ms (cache revalidated) 42 silly placeDep ROOT iobroker.sql@2.1.8 REPLACE for: iobroker.inst@2.0.3 want: 2.1.8 43 silly fetch manifest sqlite3@^5.0.11 44 http fetch GET 200 https://registry.npmjs.org/sqlite3 72ms (cache revalidated) 45 timing idealTree:#root Completed in 5064ms 46 silly placeDep ROOT sqlite3@5.0.11 OK for: iobroker.sql@2.1.8 want: ^5.0.11 47 silly fetch manifest tar@^6.1.11 48 silly fetch manifest node-gyp@8.x 49 http fetch GET 200 https://registry.npmjs.org/tar 84ms (cache revalidated) 50 http fetch GET 200 https://registry.npmjs.org/node-gyp 113ms (cache revalidated) 51 timing idealTree:node_modules/iobroker.sql Completed in 137ms 52 silly placeDep ROOT node-gyp@8.4.1 OK for: sqlite3@5.0.11 want: 8.x 53 silly placeDep ROOT tar@6.1.11 REPLACE for: sqlite3@5.0.11 want: ^6.1.11 54 silly fetch manifest env-paths@^2.2.0 55 silly fetch manifest graceful-fs@^4.2.6 56 silly fetch manifest make-fetch-happen@^9.1.0 57 silly fetch manifest npmlog@^6.0.0 58 silly fetch manifest semver@^7.3.5 59 http fetch GET 200 https://registry.npmjs.org/graceful-fs 68ms (cache revalidated) 60 http fetch GET 200 https://registry.npmjs.org/npmlog 96ms (cache revalidated) 61 http fetch GET 200 https://registry.npmjs.org/env-paths 119ms (cache revalidated) 62 http fetch GET 200 https://registry.npmjs.org/semver 121ms (cache revalidated) 63 http fetch GET 200 https://registry.npmjs.org/make-fetch-happen 166ms (cache revalidated) 64 timing idealTree:node_modules/sqlite3 Completed in 203ms 65 silly placeDep ROOT env-paths@2.2.1 OK for: node-gyp@8.4.1 want: ^2.2.0 66 silly placeDep ROOT graceful-fs@4.2.10 REPLACE for: node-gyp@8.4.1 want: ^4.2.6 67 silly placeDep ROOT make-fetch-happen@9.1.0 OK for: node-gyp@8.4.1 want: ^9.1.0 68 silly placeDep ROOT npmlog@6.0.2 OK for: node-gyp@8.4.1 want: ^6.0.0 69 silly placeDep node_modules/node-gyp semver@7.3.7 OK for: node-gyp@8.4.1 want: ^7.3.5 70 silly fetch manifest agentkeepalive@^4.1.3 71 silly fetch manifest cacache@^15.2.0 72 silly fetch manifest is-lambda@^1.0.1 73 silly fetch manifest minipass-collect@^1.0.2 74 silly fetch manifest minipass-fetch@^1.3.2 75 silly fetch manifest minipass-flush@^1.0.5 76 silly fetch manifest minipass-pipeline@^1.2.4 77 silly fetch manifest promise-retry@^2.0.1 78 silly fetch manifest socks-proxy-agent@^6.0.0 79 silly fetch manifest ssri@^8.0.0 80 silly fetch manifest are-we-there-yet@^3.0.0 81 silly fetch manifest gauge@^4.0.3 82 http fetch GET 200 https://registry.npmjs.org/is-lambda 138ms (cache revalidated) 83 http fetch GET 200 https://registry.npmjs.org/agentkeepalive 143ms (cache revalidated) 84 http fetch GET 200 https://registry.npmjs.org/minipass-fetch 144ms (cache revalidated) 85 http fetch GET 200 https://registry.npmjs.org/cacache 153ms (cache revalidated) 86 http fetch GET 200 https://registry.npmjs.org/minipass-collect 178ms (cache revalidated) 87 http fetch GET 200 https://registry.npmjs.org/minipass-flush 178ms (cache revalidated) 88 http fetch GET 200 https://registry.npmjs.org/minipass-pipeline 179ms (cache revalidated) 89 http fetch GET 200 https://registry.npmjs.org/ssri 191ms (cache revalidated) 90 http fetch GET 200 https://registry.npmjs.org/socks-proxy-agent 203ms (cache revalidated) 91 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 205ms (cache revalidated) 92 http fetch GET 200 https://registry.npmjs.org/gauge 207ms (cache revalidated) 93 http fetch GET 200 https://registry.npmjs.org/promise-retry 215ms (cache revalidated) 94 timing idealTree:node_modules/node-gyp Completed in 269ms 95 timing idealTree:node_modules/env-paths Completed in 0ms 96 timing idealTree:node_modules/graceful-fs Completed in 0ms 97 silly placeDep ROOT agentkeepalive@4.2.1 OK for: make-fetch-happen@9.1.0 want: ^4.1.3 98 silly placeDep ROOT cacache@15.3.0 OK for: make-fetch-happen@9.1.0 want: ^15.2.0 99 silly placeDep ROOT is-lambda@1.0.1 OK for: make-fetch-happen@9.1.0 want: ^1.0.1 100 silly placeDep ROOT minipass-collect@1.0.2 OK for: make-fetch-happen@9.1.0 want: ^1.0.2 101 silly placeDep ROOT minipass-fetch@1.4.1 OK for: make-fetch-happen@9.1.0 want: ^1.3.2 102 silly placeDep ROOT minipass-flush@1.0.5 OK for: make-fetch-happen@9.1.0 want: ^1.0.5 103 silly placeDep ROOT minipass-pipeline@1.2.4 OK for: make-fetch-happen@9.1.0 want: ^1.2.4 104 silly placeDep ROOT promise-retry@2.0.1 OK for: make-fetch-happen@9.1.0 want: ^2.0.1 105 silly placeDep ROOT socks-proxy-agent@6.2.1 OK for: make-fetch-happen@9.1.0 want: ^6.0.0 106 silly placeDep ROOT ssri@8.0.1 OK for: make-fetch-happen@9.1.0 want: ^8.0.0 107 silly fetch manifest debug@^4.1.0 108 silly fetch manifest humanize-ms@^1.2.1 109 silly fetch manifest @npmcli/fs@^1.0.0 110 silly fetch manifest @npmcli/move-file@^1.0.1 111 silly fetch manifest chownr@^2.0.0 112 silly fetch manifest infer-owner@^1.0.4 113 silly fetch manifest mkdirp@^1.0.3 114 silly fetch manifest p-map@^4.0.0 115 silly fetch manifest promise-inflight@^1.0.1 116 silly fetch manifest unique-filename@^1.1.1 117 silly fetch manifest minipass-sized@^1.0.3 118 silly fetch manifest err-code@^2.0.2 119 silly fetch manifest agent-base@^6.0.2 120 silly fetch manifest debug@^4.3.3 121 silly fetch manifest socks@^2.6.2 122 http fetch GET 200 https://registry.npmjs.org/infer-owner 200ms (cache revalidated) 123 http fetch GET 200 https://registry.npmjs.org/chownr 203ms (cache revalidated) 124 http fetch GET 200 https://registry.npmjs.org/humanize-ms 213ms (cache revalidated) 125 http fetch GET 200 https://registry.npmjs.org/promise-inflight 195ms (cache revalidated) 126 http fetch GET 200 https://registry.npmjs.org/@npmcli%2fmove-file 211ms (cache revalidated) 127 http fetch GET 200 https://registry.npmjs.org/unique-filename 197ms (cache revalidated) 128 http fetch GET 200 https://registry.npmjs.org/mkdirp 206ms (cache revalidated) 129 http fetch GET 200 https://registry.npmjs.org/minipass-sized 198ms (cache revalidated) 130 http fetch GET 200 https://registry.npmjs.org/debug 226ms (cache revalidated) 131 http fetch GET 200 https://registry.npmjs.org/err-code 203ms (cache revalidated) 132 http fetch GET 200 https://registry.npmjs.org/@npmcli%2ffs 230ms (cache revalidated) 133 http fetch GET 200 https://registry.npmjs.org/p-map 223ms (cache revalidated) 134 http fetch GET 200 https://registry.npmjs.org/agent-base 222ms (cache revalidated) 135 http fetch GET 200 https://registry.npmjs.org/debug 248ms (cache revalidated) 136 http fetch GET 200 https://registry.npmjs.org/socks 262ms (cache revalidated) 137 timing idealTree:node_modules/make-fetch-happen Completed in 353ms 138 silly placeDep node_modules/agentkeepalive debug@4.3.4 OK for: agentkeepalive@4.2.1 want: ^4.1.0 139 silly placeDep ROOT humanize-ms@1.2.1 OK for: agentkeepalive@4.2.1 want: ^1.2.1 140 silly fetch manifest ms@2.1.2 141 http fetch GET 200 https://registry.npmjs.org/ms 51ms (cache revalidated) 142 timing idealTree:node_modules/agentkeepalive Completed in 63ms 143 silly placeDep ROOT @npmcli/fs@1.1.1 OK for: cacache@15.3.0 want: ^1.0.0 144 silly placeDep ROOT @npmcli/move-file@1.1.2 OK for: cacache@15.3.0 want: ^1.0.1 145 silly placeDep ROOT chownr@2.0.0 OK for: cacache@15.3.0 want: ^2.0.0 146 silly placeDep ROOT infer-owner@1.0.4 OK for: cacache@15.3.0 want: ^1.0.4 147 silly placeDep node_modules/cacache mkdirp@1.0.4 OK for: cacache@15.3.0 want: ^1.0.3 148 silly placeDep node_modules/cacache p-map@4.0.0 OK for: cacache@15.3.0 want: ^4.0.0 149 silly placeDep ROOT promise-inflight@1.0.1 OK for: cacache@15.3.0 want: ^1.0.1 150 silly placeDep ROOT unique-filename@1.1.1 OK for: cacache@15.3.0 want: ^1.1.1 151 silly fetch manifest @gar/promisify@^1.0.1 152 silly fetch manifest mkdirp@^1.0.4 153 silly fetch manifest unique-slug@^2.0.0 154 http fetch GET 200 https://registry.npmjs.org/unique-slug 45ms (cache revalidated) 155 http fetch GET 200 https://registry.npmjs.org/@gar%2fpromisify 73ms (cache revalidated) 156 timing idealTree:node_modules/cacache Completed in 110ms 157 silly placeDep ROOT @gar/promisify@1.1.3 OK for: @npmcli/fs@1.1.1 want: ^1.0.1 158 silly placeDep node_modules/@npmcli/fs semver@7.3.7 OK for: @npmcli/fs@1.1.1 want: ^7.3.5 159 timing idealTree:node_modules/@npmcli/fs Completed in 8ms 160 timing idealTree:node_modules/@gar/promisify Completed in 0ms 161 silly placeDep node_modules/@npmcli/move-file mkdirp@1.0.4 OK for: @npmcli/move-file@1.1.2 want: ^1.0.4 162 timing idealTree:node_modules/@npmcli/move-file Completed in 7ms 163 timing idealTree:node_modules/chownr Completed in 1ms 164 timing idealTree:node_modules/humanize-ms Completed in 0ms 165 timing idealTree:node_modules/infer-owner Completed in 0ms 166 timing idealTree:node_modules/is-lambda Completed in 0ms 167 timing idealTree:node_modules/minipass-collect Completed in 0ms 168 silly placeDep ROOT minipass-sized@1.0.3 OK for: minipass-fetch@1.4.1 want: ^1.0.3 169 timing idealTree:node_modules/minipass-fetch Completed in 5ms 170 timing idealTree:node_modules/minipass-flush Completed in 0ms 171 timing idealTree:node_modules/minipass-pipeline Completed in 0ms 172 timing idealTree:node_modules/minipass-sized Completed in 0ms 173 silly placeDep ROOT are-we-there-yet@3.0.1 OK for: npmlog@6.0.2 want: ^3.0.0 174 silly placeDep ROOT gauge@4.0.4 OK for: npmlog@6.0.2 want: ^4.0.3 175 silly fetch manifest readable-stream@^3.6.0 176 silly fetch manifest signal-exit@^3.0.7 177 silly fetch manifest string-width@^4.2.3 178 silly fetch manifest strip-ansi@^6.0.1 179 silly fetch manifest wide-align@^1.1.5 180 http fetch GET 200 https://registry.npmjs.org/signal-exit 52ms (cache revalidated) 181 http fetch GET 200 https://registry.npmjs.org/strip-ansi 65ms (cache revalidated) 182 http fetch GET 200 https://registry.npmjs.org/readable-stream 76ms (cache revalidated) 183 http fetch GET 200 https://registry.npmjs.org/string-width 83ms (cache revalidated) 184 http fetch GET 200 https://registry.npmjs.org/wide-align 84ms (cache revalidated) 185 timing idealTree:node_modules/npmlog Completed in 108ms 186 silly placeDep node_modules/are-we-there-yet readable-stream@3.6.0 OK for: are-we-there-yet@3.0.1 want: ^3.6.0 187 timing idealTree:node_modules/are-we-there-yet Completed in 5ms 188 silly placeDep ROOT signal-exit@3.0.7 REPLACE for: gauge@4.0.4 want: ^3.0.7 189 silly placeDep node_modules/gauge string-width@4.2.3 OK for: gauge@4.0.4 want: ^4.2.3 190 silly placeDep node_modules/gauge strip-ansi@6.0.1 OK for: gauge@4.0.4 want: ^6.0.1 191 silly placeDep ROOT wide-align@1.1.5 REPLACE for: gauge@4.0.4 want: ^1.1.5 192 silly fetch manifest is-fullwidth-code-point@^3.0.0 193 silly fetch manifest ansi-regex@^5.0.1 194 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 68ms (cache revalidated) 195 http fetch GET 200 https://registry.npmjs.org/ansi-regex 68ms (cache revalidated) 196 timing idealTree:node_modules/gauge Completed in 96ms 197 timing idealTree:node_modules/promise-inflight Completed in 0ms 198 silly placeDep ROOT err-code@2.0.3 OK for: promise-retry@2.0.1 want: ^2.0.2 199 timing idealTree:node_modules/promise-retry Completed in 4ms 200 timing idealTree:node_modules/err-code Completed in 0ms 201 timing idealTree:node_modules/signal-exit Completed in 0ms 202 silly placeDep ROOT agent-base@6.0.2 REPLACE for: socks-proxy-agent@6.2.1 want: ^6.0.2 203 silly placeDep node_modules/socks-proxy-agent debug@4.3.4 OK for: socks-proxy-agent@6.2.1 want: ^4.3.3 204 silly placeDep ROOT socks@2.7.0 OK for: socks-proxy-agent@6.2.1 want: ^2.6.2 205 silly fetch manifest ip@^2.0.0 206 silly fetch manifest smart-buffer@^4.2.0 207 http fetch GET 200 https://registry.npmjs.org/ip 50ms (cache revalidated) 208 http fetch GET 200 https://registry.npmjs.org/smart-buffer 58ms (cache revalidated) 209 timing idealTree:node_modules/socks-proxy-agent Completed in 81ms 210 timing idealTree:node_modules/agent-base Completed in 0ms 211 silly placeDep node_modules/socks ip@2.0.0 OK for: socks@2.7.0 want: ^2.0.0 212 silly placeDep ROOT smart-buffer@4.2.0 OK for: socks@2.7.0 want: ^4.2.0 213 timing idealTree:node_modules/socks Completed in 7ms 214 timing idealTree:node_modules/smart-buffer Completed in 0ms 215 timing idealTree:node_modules/ssri Completed in 0ms 216 timing idealTree:node_modules/tar Completed in 0ms 217 silly placeDep ROOT unique-slug@2.0.2 OK for: unique-filename@1.1.1 want: ^2.0.0 218 timing idealTree:node_modules/unique-filename Completed in 5ms 219 timing idealTree:node_modules/unique-slug Completed in 0ms 220 timing idealTree:node_modules/wide-align Completed in 0ms 221 timing idealTree:node_modules/@npmcli/fs/node_modules/semver Completed in 0ms 222 timing idealTree:node_modules/@npmcli/move-file/node_modules/mkdirp Completed in 0ms 223 silly placeDep node_modules/agentkeepalive ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2 224 timing idealTree:node_modules/agentkeepalive/node_modules/debug Completed in 3ms 225 timing idealTree:node_modules/agentkeepalive/node_modules/ms Completed in 0ms 226 timing idealTree:node_modules/are-we-there-yet/node_modules/readable-stream Completed in 0ms 227 timing idealTree:node_modules/cacache/node_modules/mkdirp Completed in 0ms 228 timing idealTree:node_modules/cacache/node_modules/p-map Completed in 0ms 229 silly placeDep node_modules/gauge is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0 230 timing idealTree:node_modules/gauge/node_modules/string-width Completed in 3ms 231 timing idealTree:node_modules/gauge/node_modules/is-fullwidth-code-point Completed in 0ms 232 silly placeDep node_modules/gauge ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1 233 timing idealTree:node_modules/gauge/node_modules/strip-ansi Completed in 4ms 234 timing idealTree:node_modules/gauge/node_modules/ansi-regex Completed in 0ms 235 timing idealTree:node_modules/node-gyp/node_modules/semver Completed in 0ms 236 silly placeDep node_modules/socks-proxy-agent ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2 237 timing idealTree:node_modules/socks-proxy-agent/node_modules/debug Completed in 3ms 238 timing idealTree:node_modules/socks-proxy-agent/node_modules/ms Completed in 0ms 239 timing idealTree:node_modules/socks/node_modules/ip Completed in 0ms 240 timing idealTree:buildDeps Completed in 6558ms 241 timing idealTree:fixDepFlags Completed in 41ms 242 timing idealTree Completed in 10413ms 243 timing reify:loadTrees Completed in 10416ms 244 timing reify:diffTrees Completed in 159ms 245 silly reify mark retired [ '/opt/iobroker/node_modules/agent-base' ] 246 silly reify mark retired [ '/opt/iobroker/node_modules/graceful-fs' ] 247 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.sql' ] 248 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/ansi-regex' ] 249 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/are-we-there-yet' ] 250 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/gauge' ] 251 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/graceful-fs' ] 252 silly reify mark retired [ 252 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/is-fullwidth-code-point' 252 silly reify ] 253 silly reify mark retired [ 253 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp', 253 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/.bin/mkdirp' 253 silly reify ] 254 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/npmlog' ] 255 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/readable-stream' ] 256 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/signal-exit' ] 257 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/string-width' ] 258 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/strip-ansi' ] 259 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/tar' ] 260 silly reify mark retired [ '/opt/iobroker/node_modules/node-gyp/node_modules/wide-align' ] 261 silly reify mark retired [ '/opt/iobroker/node_modules/signal-exit' ] 262 silly reify mark retired [ '/opt/iobroker/node_modules/socks' ] 263 silly reify mark retired [ 263 silly reify '/opt/iobroker/node_modules/socks-proxy-agent/node_modules/agent-base' 263 silly reify ] 264 silly reify mark retired [ '/opt/iobroker/node_modules/sqlite3' ] 265 silly reify mark retired [ '/opt/iobroker/node_modules/tar' ] 266 silly reify mark retired [ '/opt/iobroker/node_modules/wide-align' ] 267 silly reify mark retired [ 267 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/chownr' 267 silly reify ] 268 silly reify mark retired [ 268 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp', 268 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/mkdirp' 268 silly reify ] 269 silly reify mark retired [ '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/tar' ] 270 silly reify moves { 270 silly reify '/opt/iobroker/node_modules/agent-base': '/opt/iobroker/node_modules/.agent-base-ZzrsLltQ', 270 silly reify '/opt/iobroker/node_modules/graceful-fs': '/opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3', 270 silly reify '/opt/iobroker/node_modules/iobroker.sql': '/opt/iobroker/node_modules/.iobroker.sql-Fn6FdfaN', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/ansi-regex': '/opt/iobroker/node_modules/node-gyp/node_modules/.ansi-regex-eL7byA1O', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/are-we-there-yet': '/opt/iobroker/node_modules/node-gyp/node_modules/.are-we-there-yet-2tsPr0vj', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/gauge': '/opt/iobroker/node_modules/node-gyp/node_modules/.gauge-jCwNXEj3', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/graceful-fs': '/opt/iobroker/node_modules/node-gyp/node_modules/.graceful-fs-sMDmNP2m', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/is-fullwidth-code-point': '/opt/iobroker/node_modules/node-gyp/node_modules/.is-fullwidth-code-point-9zDQVrU4', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp': '/opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vYTP', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/.bin/mkdirp': '/opt/iobroker/node_modules/node-gyp/node_modules/.bin/.mkdirp-Ct4LiqGE', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/npmlog': '/opt/iobroker/node_modules/node-gyp/node_modules/.npmlog-8fhQ4cOQ', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/readable-stream': '/opt/iobroker/node_modules/node-gyp/node_modules/.readable-stream-aZybdzCg', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/signal-exit': '/opt/iobroker/node_modules/node-gyp/node_modules/.signal-exit-LQ9rNd2v', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/string-width': '/opt/iobroker/node_modules/node-gyp/node_modules/.string-width-iQNhIdLT', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/strip-ansi': '/opt/iobroker/node_modules/node-gyp/node_modules/.strip-ansi-X1jmnUZh', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/tar': '/opt/iobroker/node_modules/node-gyp/node_modules/.tar-dy93EdLL', 270 silly reify '/opt/iobroker/node_modules/node-gyp/node_modules/wide-align': '/opt/iobroker/node_modules/node-gyp/node_modules/.wide-align-HvDrjN4p', 270 silly reify '/opt/iobroker/node_modules/signal-exit': '/opt/iobroker/node_modules/.signal-exit-myKgrl00', 270 silly reify '/opt/iobroker/node_modules/socks': '/opt/iobroker/node_modules/.socks-Ly3eN6mV', 270 silly reify '/opt/iobroker/node_modules/socks-proxy-agent/node_modules/agent-base': '/opt/iobroker/node_modules/socks-proxy-agent/node_modules/.agent-base-kgXOEHfK', 270 silly reify '/opt/iobroker/node_modules/sqlite3': '/opt/iobroker/node_modules/.sqlite3-8qPhwEH9', 270 silly reify '/opt/iobroker/node_modules/tar': '/opt/iobroker/node_modules/.tar-NeTPgzH9', 270 silly reify '/opt/iobroker/node_modules/wide-align': '/opt/iobroker/node_modules/.wide-align-CJ7lqbuZ', 270 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/chownr': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.chownr-8LatjZPf', 270 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.mkdirp-zZ32xAdE', 270 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/mkdirp': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/.mkdirp-r2nTdSNU', 270 silly reify '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/tar': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.tar-MtfJh6vz' 270 silly reify } 271 timing reify:rollback:retireShallow Completed in 22ms 272 timing command:install Completed in 10714ms 273 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp' -> '/opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vY$ 274 verbose cwd /opt/iobroker 275 verbose Linux 5.10.103-v7l+ 276 verbose node v16.16.0 277 verbose npm v8.11.0 278 error code ENOTEMPTY 279 error syscall rename 280 error path /opt/iobroker/node_modules/node-gyp/node_modules/mkdirp 281 error dest /opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vYTP 282 error errno -39 283 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp' -> '/opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vYTP' 284 verbose exit -39 285 timing npm Completed in 11052ms 286 verbose unfinished npm timer reify 1660652058449 287 verbose unfinished npm timer reify:retireShallow 1660652069071 288 verbose code -39 289 error A complete log of this run can be found in: 289 error /home/iobroker/.npm/_logs/2022-08-16T12_14_18_123Z-debug-0.log
-
@fiso sagte in Ich kann nichts mehr installieren / updaten:
273 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp' -> '/opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vY$
@fiso sagte in Ich kann nichts mehr installieren / updaten:
283 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp' -> '/opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vYTP'
-
@fiso sagte in Ich kann nichts mehr installieren / updaten:
/opt/iobroker/node_modules/node-gyp/node_modules/
cd /opt/iobroker/node_modules/node-gyp/node_modules/ for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
Ggf. weitere Verzeichnisse ebenso behandeln.
-
was würde denn passieren, wenn ich den ordner "Node_modules" komplett lösche? Mir scheint es dass das nen chaos drin ist, wie die Suche nach der Nadel um Heuhaufen....
-
@fiso
Probier es aus... -
Ich glaub mein System ist nun schrott...
pi@iobroker-master:/home/iobroker $ sudo iobroker update node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'graceful-fs' Require stack: - /opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/fs/index.js - /opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/index.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs- extra/lib/fs/index.js:5:12) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/fs/index.js' , '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } pi@iobroker-master:/home/iobroker $
Ist das system noch rettbar?
-
@fiso sagte in Ich kann nichts mehr installieren / updaten:
sudo iobroker update
Ist das system noch rettbar?
Kein SUDO vor iobroker Befehle !!!!
-
@glasfaser ok, aber das Modul graceful-fs kann er immer noch net finden
-
Finger weg von sudo! Warum ist diese Unart immer noch so verbreitet?
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
erstmal vielen Dank euch beiden für eure Hilfe! Ist ja nicht selbstverständlich....
Langsam aber sicher hab ich das Gefühl, ich werd vom "System" verarscht....
Langsam breitet sich bei mir der Frust aus.....
-
@fiso sagte in Ich kann nichts mehr installieren / updaten:
Langsam breitet sich bei mir der Frust aus.....
Das kommt vom löschen des modules-Verzeichnis, würde ich sagen.
Und die angemeckerten Verzeichnisse kommen von der Verwendung von 'sudo iobroker', würde ich sagen.
-
@thomas-braun Der Witz ist eigentlich, ich hab das Modul-Verzeichnis nichtmal gelöscht. Ich hab eigentlich nur die Verzeichnisse umbenannt die beim update des SQL Adapters angekreidet wurden,....
-
Was immer alles so gemacht wird...
Ich hab eigentlich nur die Verzeichnisse umbenannt
Deswegen werden die ja auch gelöscht und nicht umbenannt.