NEWS
Telegram lässt sich nicht installieren
-
Beim Versuch, Telegram zu installieren erhalte ich folgende Fehlermeldung
pi@raspberrypi:/opt/iobroker $ iobroker add telegram NPM version: 9.6.7 Installing iobroker.telegram@1.16.0... (System call) host.raspberrypi Cannot install iobroker.telegram@1.16.0: 1
Wo fängt man mit der Suche an?
-
@wolfgangfb sagte in Telegram lässt sich nicht installieren:
erhalte ich folgende Fehlermeldung
wo?
Ich sehe keine Fehlermeldung
Versuche es mal mit
iob add telegram --debug
Vielleicht kommt dann was
-
@homoran sagte in Telegram lässt sich nicht installieren:
@wolfgangfb sagte in Telegram lässt sich nicht installieren:
erhalte ich folgende Fehlermeldung
wo?
Ich sehe keine Fehlermeldung
Cannot install iobroker.telegram@1.16.0: 1
Versuche es mal mit
iob add telegram --debug
Vielleicht kommt dann was
pi@raspberrypi:/opt/iobroker $ iobroker add telegram --debug NPM version: 9.6.7 Installing iobroker.telegram@1.16.0... (System call) npm ERR! code EAI_AGAIN npm ERR! syscall getaddrinfo npm ERR! errno EAI_AGAIN npm ERR! request to https://registry.npmjs.org/iobroker.telegram failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-13T02_33_43_285Z-debug-0.log host.raspberrypi Cannot install iobroker.telegram@1.16.0: 1
Hier der erweiterte Log:
pi@raspberrypi:/opt/iobroker $ more /home/iobroker/.npm/_logs/2023-09-13T02_33_43_285Z-debug-0.log 0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@9.6.7 2 info using node@v18.17.1 3 timing npm:load:whichnode Completed in 8ms 4 timing config:load:defaults Completed in 12ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 17ms 6 timing config:load:builtin Completed in 19ms 7 timing config:load:cli Completed in 18ms 8 timing config:load:env Completed in 2ms 9 timing config:load:file:/opt/iobroker/.npmrc Completed in 9ms 10 timing config:load:project Completed in 42ms 11 timing config:load:file:/home/iobroker/.npmrc Completed in 0ms 12 timing config:load:user Completed in 3ms 13 timing config:load:file:/usr/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 2ms 15 timing config:load:setEnvs Completed in 6ms 16 timing config:load Completed in 107ms 17 timing npm:load:configload Completed in 108ms 18 timing npm:load:mkdirpcache Completed in 1ms 19 timing npm:load:mkdirplogs Completed in 1ms 20 verbose title npm install iobroker.telegram@1.16.0 21 verbose argv "install" "--save-exact" "iobroker.telegram@1.16.0" 22 timing npm:load:setTitle Completed in 7ms 23 timing config:load:flatten Completed in 24ms 24 timing npm:load:display Completed in 32ms 25 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2023-09-13T02_33_43_285Z- 26 verbose logfile /home/iobroker/.npm/_logs/2023-09-13T02_33_43_285Z-debug-0.log 27 timing npm:load:logFile Completed in 71ms 28 timing npm:load:timers Completed in 1ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 232ms 31 timing arborist:ctor Completed in 5ms 32 silly logfile start cleaning logs, removing 2 files 33 timing idealTree:init Completed in 3050ms 34 timing idealTree:userRequests Completed in 8ms 35 silly idealTree buildDeps 36 silly fetch manifest iobroker.telegram@1.16.0 37 silly logfile done cleaning log files 38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-cont roller 39 silly placeDep ROOT iobroker.telegram@ OK for: iobroker.inst@3.0.0 want: 1.16.0 40 timing idealTree:#root Completed in 104167ms 41 timing idealTree:node_modules/iobroker.telegram Completed in 1ms 42 timing idealTree:buildDeps Completed in 104174ms 43 timing idealTree:fixDepFlags Completed in 70ms 44 timing idealTree Completed in 107321ms 45 timing command:install Completed in 107360ms 46 verbose type system 47 verbose stack FetchError: request to https://registry.npmjs.org/iobroker.telegram failed, reason: getaddrinfo EAI_AGA IN registry.npmjs.org 47 verbose stack at ClientRequest.<anonymous> (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:13 0:14) 47 verbose stack at ClientRequest.emit (node:events:514:28) 47 verbose stack at TLSSocket.socketErrorListener (node:_http_client:501:9) 47 verbose stack at TLSSocket.emit (node:events:526:35) 47 verbose stack at emitErrorNT (node:internal/streams/destroy:151:8) 47 verbose stack at emitErrorCloseNT (node:internal/streams/destroy:116:3) 47 verbose stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 48 verbose cwd /opt/iobroker 49 verbose Linux 6.1.21-v8+ 50 verbose node v18.17.1 51 verbose npm v9.6.7 52 error code EAI_AGAIN 53 error syscall getaddrinfo 54 error errno EAI_AGAIN 55 error request to https://registry.npmjs.org/iobroker.telegram failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.or g 56 verbose exit 1 57 timing npm Completed in 110017ms 58 verbose unfinished npm timer reify 1694572425914 59 verbose unfinished npm timer reify:loadTrees 1694572425934 60 verbose code 1 61 error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-13T02_33_43_285Z-debug-0.log pi@raspberrypi:/opt/iobroker $
-
@wolfgangfb sagte in Telegram lässt sich nicht installieren:
kann von dem System nicht erreicht werden. Netzwerktrouble?
Hier läuft die Installation jedenfalls ohne weiteres durch.
-
@wolfgangfb sagte in Telegram lässt sich nicht installieren:
EAI_AGAIN
DNS Problem?
Gibt es Probleme in deinem Netzwerk? -
@homoran sagte in Telegram lässt sich nicht installieren:
@wolfgangfb sagte in Telegram lässt sich nicht installieren:
EAI_AGAIN
DNS Problem?
Gibt es Probleme in deinem Netzwerk?Ja, da habe ich wohl etwas falsch konfiguriert
Wenn ich diesen Pi ganz normal in meinem Subnetz aufnehme klappt alles.
Jetzt wird es OT, aber wie stelle ich die Netzwerkkonfiguration richtig ein, wenn ich als IP Adresse des Raspberry die 192.168.0.1 haben möchte, die Fritzbox (die als Router dient) aber die 192.168.1.200 hat?
Ich habe in der Fritzbox die Subnetzmaske auf 255.255.254.0 gestellt und in der dhcpcd.conf des pi die static IP_address auf 192.168.0.1/23 und als router und DNS die 192.168.1.200 und als broadcast die 192.168.0.255
Aber damit kann ich per ping schon nicht die Fritzbox mit 192.168.1.200 erreichen. Wo liegt in dieser Konfiguration der Fehler? -
@wolfgangfb sagte in Telegram lässt sich nicht installieren:
und als broadcast die 192.168.0.255
Die Broadcast-Adresse müsste in dieser Konstellation aber 192.168.1.255 sein, oder?