NEWS
Admin Oberfläche nicht erreichbar
- 
					
					
					
					
 Hi Leute, ich habe jetzt 2 Tage Recherche hinter mir und schon zahlreiche Backups wieder eingespielt. Leider alles ohne Erfolg. Ich komme nicht mehr auf meine Adminoberfläche, nachdem beim Updateversuch des Adapters die Installation fehlgeschlagen ist. Ich habe einen Reboot durchgeführt und komme seither nicht mehr auf meine Adminoberfläche. Alles weiter funktioniert anscheinend noch. Ich hoffe hier auf Tipps von euch. Es scheint ein Ordner zu fehlen. Aber ich habe keine Ahnung wie ich das wieder hinbiege. Hier mal ein paar outputs: sudo iobroker upload admin INFO: Directory "for admin.admin" was not found! Nothing was uploaded or deleted. Cannot find io-package.json for "admin" INFO: Directory "for admin" was not found! Nothing was uploaded or deleted.Auch das Hinzufügen einer neuen Admin Instanz klappt nicht: sudo iobroker add admin --port 8089 host.pi Adapter "system.adapter.admin.0" is stopped. NPM version: 8.13.2 Installing iobroker.admin@6.3.2... (System call) host.pi Cannot install iobroker.admin@6.3.2: 217node -v v16.14.0 npm -v 8.13.2 JS Controller: 4.0.15Komisch ist, dass das system sagt die Instanz läuft: iobroker list instances system.adapter.admin.0 : admin : pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alexa2.0 : alexa2 : pips -A | grep io 13 ? 00:00:00 migration/0 16 ? 00:00:00 migration/1 21 ? 00:00:00 migration/2 26 ? 00:00:00 migration/3 60 ? 00:00:00 blkcg_punt_bio 64 ? 00:00:00 rpciod 66 ? 00:00:00 xprtiod 68 ? 00:00:00 nfsiod 78 ? 00:00:00 DWC Notificatio 545 ? 00:00:00 cifsiod 837 ? 00:00:01 lxsession 1031 ? 00:00:00 pulseaudioEin Netstat -a zeigt mir aber nix an was auf Port 8081 hört. Habe versucht npm neu zu installieren. Leider auch ohne Erfolg: sudo cat /root/.npm/_logs/2022-12-14T17_35_04_071Z-debug-0.log 0 verbose cli /usr/local/bin/node /usr/local/bin/npm 1 info using npm@8.13.2 2 info using node@v16.14.0 3 timing npm:load:whichnode Completed in 0ms 4 timing config:load:defaults Completed in 10ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms 6 timing config:load:builtin Completed in 3ms 7 timing config:load:cli Completed in 6ms 8 timing config:load:env Completed in 1ms 9 timing config:load:project Completed in 2ms 10 timing config:load:file:/root/.npmrc Completed in 0ms 11 timing config:load:user Completed in 0ms 12 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms 13 timing config:load:global Completed in 1ms 14 timing config:load:validate Completed in 1ms 15 timing config:load:credentials Completed in 2ms 16 timing config:load:setEnvs Completed in 3ms 17 timing config:load Completed in 31ms 18 timing npm:load:configload Completed in 32ms 19 timing npm:load:mkdirpcache Completed in 10171ms 20 timing npm:load:mkdirplogs Completed in 2ms 21 verbose title npm install npm@8 22 verbose argv "install" "--global" "npm@8" 23 timing npm:load:setTitle Completed in 7ms 24 timing config:load:flatten Completed in 21ms 25 timing npm:load:display Completed in 35ms 26 verbose logfile logs-max:10 dir:/root/.npm/_logs 27 verbose logfile /root/.npm/_logs/2022-12-14T17_35_04_071Z-debug-0.log 28 timing npm:load:logFile Completed in 80ms 29 timing npm:load:timers Completed in 1ms 30 timing npm:load:configScope Completed in 0ms 31 timing npm:load Completed in 10332ms 32 silly logfile start cleaning logs, removing 1 files 33 silly logfile done cleaning log files 34 timing command:install Completed in 265436ms 35 verbose type system 36 verbose stack FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/npm: read ECONNRESET 36 verbose stack at /usr/local/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:168:15 36 verbose stack at processTicksAndRejections (node:internal/process/task_queues:96:5) 36 verbose stack at async RegistryFetcher.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:99:25) 36 verbose stack at async RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:124:23) 36 verbose stack at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:107:27) 36 verbose stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:78:5) 37 verbose cwd /etc/network 38 verbose Linux 5.10.103-v7l+ 39 verbose node v16.14.0 40 verbose npm v8.13.2 41 error code ECONNRESET 42 error syscall read 43 error errno ECONNRESET 44 error network Invalid response body while trying to fetch https://registry.npmjs.org/npm: read ECONNRESET 45 error network This is a problem related to network connectivity. 45 error network In most cases you are behind a proxy or have bad network settings. 45 error network 45 error network If you are behind a proxy, please make sure that the 45 error network 'proxy' config is set properly. See: 'npm help config' 46 verbose exit 1 47 timing npm Completed in 275979ms 48 verbose code 1 49 error A complete log of this run can be found in: 49 error /root/.npm/_logs/2022-12-14T17_35_04_071Z-debug-0.logMOD-EDIT: Code in code-tags gesetzt! Das log an sich verstehe ich nicht. Ich habe keinen Proxy und die Verbindungen sind ja alle i.O. Habt jemand noch einen Lösungsansatz? 
- 
					
					
					
					
 @iojoe said in Admin Oberfläche nicht erreichbar: Hi Leute, ich habe jetzt 2 Tage Recherche hinter mir und schon zahlreiche Backups wieder eingespielt. Leider alles ohne Erfolg. Ich komme nicht mehr auf meine Adminoberfläche, nachdem beim Updateversuch des Adapters die Installation fehlgeschlagen ist. Ich habe einen Reboot durchgeführt und komme seither nicht mehr auf meine Adminoberfläche. Alles weiter funktioniert anscheinend noch. Ich hoffe hier auf Tipps von euch. Es scheint ein Ordner zu fehlen. Aber ich habe keine Ahnung wie ich das wieder hinbiege. Hier mal ein paar outputs: sudo iobroker upload admin 
 INFO: Directory "for admin.admin" was not found! Nothing was uploaded or deleted.
 Cannot find io-package.json for "admin"
 INFO: Directory "for admin" was not found! Nothing was uploaded or deleted.Auch das Hinzufügen einer neuen Admin Instanz klappt nicht: sudo iobroker add admin --port 8089 
 host.pi Adapter "system.adapter.admin.0" is stopped.
 NPM version: 8.13.2
 Installing iobroker.admin@6.3.2... (System call)
 host.pi Cannot install iobroker.admin@6.3.2: 217node -v 
 v16.14.0
 npm -v
 8.13.2JS Controller: 4.0.15 Komisch ist, dass das system sagt die Instanz läuft: 
 iobroker list instances
 system.adapter.admin.0 : admin : pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
 system.adapter.alexa2.0 : alexa2 : pips -A | grep io 
 13 ? 00:00:00 migration/0
 16 ? 00:00:00 migration/1
 21 ? 00:00:00 migration/2
 26 ? 00:00:00 migration/3
 60 ? 00:00:00 blkcg_punt_bio
 64 ? 00:00:00 rpciod
 66 ? 00:00:00 xprtiod
 68 ? 00:00:00 nfsiod
 78 ? 00:00:00 DWC Notificatio
 545 ? 00:00:00 cifsiod
 837 ? 00:00:01 lxsession
 1031 ? 00:00:00 pulseaudioEin Netstat -a zeigt mir aber nix an was auf Port 8081 hört. Habe versucht npm neu zu installieren. Leider auch ohne Erfolg: sudo cat /root/.npm/_logs/2022-12-14T17_35_04_071Z-debug-0.log 
 0 verbose cli /usr/local/bin/node /usr/local/bin/npm
 1 info using npm@8.13.2
 2 info using node@v16.14.0
 3 timing npm:load:whichnode Completed in 0ms
 4 timing config:load:defaults Completed in 10ms
 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms
 6 timing config:load:builtin Completed in 3ms
 7 timing config:load:cli Completed in 6ms
 8 timing config:load:env Completed in 1ms
 9 timing config:load:project Completed in 2ms
 10 timing config:load:file:/root/.npmrc Completed in 0ms
 11 timing config:load:user Completed in 0ms
 12 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
 13 timing config:load:global Completed in 1ms
 14 timing config:load:validate Completed in 1ms
 15 timing config:load:credentials Completed in 2ms
 16 timing config:load:setEnvs Completed in 3ms
 17 timing config:load Completed in 31ms
 18 timing npm:load:configload Completed in 32ms
 19 timing npm:load:mkdirpcache Completed in 10171ms
 20 timing npm:load:mkdirplogs Completed in 2ms
 21 verbose title npm install npm@8
 22 verbose argv "install" "--global" "npm@8"
 23 timing npm:load:setTitle Completed in 7ms
 24 timing config:load:flatten Completed in 21ms
 25 timing npm:load:display Completed in 35ms
 26 verbose logfile logs-max:10 dir:/root/.npm/_logs
 27 verbose logfile /root/.npm/_logs/2022-12-14T17_35_04_071Z-debug-0.log
 28 timing npm:load:logFile Completed in 80ms
 29 timing npm:load:timers Completed in 1ms
 30 timing npm:load:configScope Completed in 0ms
 31 timing npm:load Completed in 10332ms
 32 silly logfile start cleaning logs, removing 1 files
 33 silly logfile done cleaning log files
 34 timing command:install Completed in 265436ms
 35 verbose type system
 36 verbose stack FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/npm: read ECONNRESET
 36 verbose stack at /usr/local/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:168:15
 36 verbose stack at processTicksAndRejections (node:internal/process/task_queues:96:5)
 36 verbose stack at async RegistryFetcher.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:99:25)
 36 verbose stack at async RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:124:23)
 36 verbose stack at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:107:27)
 36 verbose stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:78:5)
 37 verbose cwd /etc/network
 38 verbose Linux 5.10.103-v7l+
 39 verbose node v16.14.0
 40 verbose npm v8.13.2
 41 error code ECONNRESET
 42 error syscall read
 43 error errno ECONNRESET
 44 error network Invalid response body while trying to fetch https://registry.npmjs.org/npm: read ECONNRESET
 45 error network This is a problem related to network connectivity.
 45 error network In most cases you are behind a proxy or have bad network settings.
 45 error network
 45 error network If you are behind a proxy, please make sure that the
 45 error network 'proxy' config is set properly. See: 'npm help config'
 46 verbose exit 1
 47 timing npm Completed in 275979ms
 48 verbose code 1
 49 error A complete log of this run can be found in:
 49 error /root/.npm/_logs/2022-12-14T17_35_04_071Z-debug-0.logDas log an sich verstehe ich nicht. Ich habe keinen Proxy und die Verbindungen sind ja alle i.O. Habt jemand noch einen Lösungsansatz? Nachtrag: sudo npm install admin 
 npm ERR! code ENOTEMPTY
 npm ERR! syscall rename
 npm ERR! path /opt/iobroker/node_modules/iobroker.admin
 npm ERR! dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igk
 npm ERR! errno -39
 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'npm ERR! A complete log of this run can be found in: 
 npm ERR! /root/.npm/_logs/2022-12-14T18_12_58_335Z-debug-0.log
 pi@pi:/opt/iobroker $ sudo cat /root/.npm/_logs/2022-12-14T18_12_58_335Z-debug-0.logIch will eigentlich nur den Admin Adapter neu installieren. Kann das so schwer sein? -.- 
- 
					
					
					
					
 @iojoe sagte in Admin Oberfläche nicht erreichbar: sudo iobroker upload admin wie kommst du darauf iobroker-Befehle mit sudo aufzurufen? 
- 
					
					
					
					
 @iojoe sagte in Admin Oberfläche nicht erreichbar: Kann das so schwer sein? weniger schwer als codetags zu verwenden ist das ein Problem der Forensoftware? 
 ich verschiebe es mal besser.
- 
					
					
					
					
 @iojoe sagte in Admin Oberfläche nicht erreichbar: ich habe keine Ahnung wie ich das wieder hinbiege mach erst mal ein iobroker fix um due Rechte wieder gerade zu rücken. Dann lies dir die Anleitung zu ERROR25 durch. 
 ist oben angepinnt
- 
					
					
					
					
 @homoran said in Admin Oberfläche nicht erreichbar: wie kommst du darauf iobroker-Befehle mit sudo aufzurufen? Irgendwo im Forum so gelesen 
- 
					
					
					
					
 iobroker fix hat auch nichts gebracht. Habe auch schon versucht upzudaten... 
- 
					
					
					
					
 @homoran said in Admin Oberfläche nicht erreichbar: ist das ein Problem der Forensoftware? ok danke. Benutzer Foren so gut wie nie... 
- 
					
					
					
					
 Und bringe deine nodejs-Installation auf einen aktuellen Stand. 
- 
					
					
					
					
 Da musst du aber tief gebuddelt haben, sudo wird 'schon ewig' nicht mehr verwendet. Macht dir nur das Rechtegefüge kaputt. 
- 
					
					
					
					
 @thomas-braun said in Admin Oberfläche nicht erreichbar: Macht dir nur das ok, shit. DAnke für den Hinweis. Wie gesagt, ich hab schon tagelang recherchiert. Wollte hier niemanden damit behelligen. Aber ich kriegs einfach nicht hin... 
- 
					
					
					
					
 @iojoe sagte in Admin Oberfläche nicht erreichbar: iobroker fix hat auch nichts gebracht. soll auch nur Vorbereitung für den Rest sein! 
 vorher ioBroker auch gestoppt?dann kannst du jetzt den Part mit Error 25 durchziehen 
- 
					
					
					
					
 Und als root kaspert man auch nicht durch das System. 
 Macht dir ebenfalls das Rechtegefüge kaputt.
- 
					
					
					
					
 @homoran 
 ja, war vorher gestoppt. Ich hab mich bei dem part an die offiziellen iobroker-Artikel gehalten
- 
					
					
					
					
 @thomas-braun 
 ich hab meinem PI user ursprünglich mal die rechte gegeben, weil das für irgendwas nötig war. Ändert sich halt auch alles permanent
- 
					
					
					
					
 @iojoe sagte in Admin Oberfläche nicht erreichbar: Ändert sich halt auch alles permanent naja, seit etwa 5 Jahren nicht mehr 
- 
					
					
					
					
 @thomas-braun 
 ok, mach ich. Update läuft grade
- 
					
					
					
					
 @iojoe sagte in Admin Oberfläche nicht erreichbar: ich hab meinem PI user ursprünglich mal die rechte gegeben, weil das für irgendwas nötig war War für die grundlegende Nutzung noch nie erforderlich. Bzw. schon immer falsch. 
- 
					
					
					
					
 ist jetzt beides aktualisiert 
 v18.12.1
 npm
 8.19.2Installation klappt trotzdem nicht. Wo finde ich die Anleitung für ERROR 25? Ich kenn mich hier im Forum 0 aus, srry 
- 
					
					
					
					
 @iojoe sagte in Admin Oberfläche nicht erreichbar: Wo finde ich die Anleitung für ERROR 25? @homoran sagte in Admin Oberfläche nicht erreichbar: ist oben angepinnt 
 
		
	 
		
	