NEWS
(Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl
-
@Thomas-Braun so endlich fertig, mit Fehlermeldungen:
nucserver:/opt/iobroker$ iobroker del squeezeboxrpc Delete adapter "squeezeboxrpc" host.nucserver Counted 1 instances of squeezeboxrpc host.nucserver Counted 1 meta of squeezeboxrpc host.nucserver Counted 1 adapter for squeezeboxrpc host.nucserver Counted 1 channels of squeezeboxrpc host.nucserver Counted 195 states of squeezeboxrpc host.nucserver Counted 14 states of system.adapter.squeezeboxrpc RangeError: Maximum call stack size exceeded at Install.enumerateAdapterStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1524:40) RangeError: Maximum call stack size exceeded at Install.enumerateAdapterStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1524:40) host.nucserver Counted 12 states (system.adapter.squeezeboxrpc.*) from states host.nucserver file vis/widgets/squeezeboxrpc deleted host.nucserver file vis/widgets/squeezeboxrpc.html deleted host.nucserver file squeezeboxrpc.admin deleted host.nucserver object squeezeboxrpc.admin deleted host.nucserver Deleting 213 object(s). host.nucserver: Only 200 objects left to be deleted. host.nucserver Deleting 12 state(s). npm uninstall iobroker.squeezeboxrpc --error --prefix "/opt/iobroker" (System call) Cannot write files: /opt/iobroker/iobroker-data/files/squeezeboxrpc.admin/_data.json: ENOENT: no such file or directory, open '/opt/iobroker/iobro ker-data/files/squeezeboxrpc.admin/_data.json' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux", "arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) Adapter "system.adapter.vis.0" restarted. georg@nucserver:/opt/iobroker$
-
sudo init 3 iobroker restart
-
@Thomas-Braun habe ich jetzt gemacht, ist aber noch nicht erreichbar. Dauert das länger, oder soll ich den ganzen PC neu booten?
-
sudo systemctl set-default multi-user.target sudo reboot
-
@Thomas-Braun auch erledigt, IoBroker aber unter 8081 nicht erreichbar.
-
who -r iobroker status iobroker list instances
-
@Thomas-Braun bei Status kommt:
No IoBroker host is running -
@Boogie2005
Bitte die komplette Ausgabe aller drei Befehle als Text hier rein.
Muss dann so aussehen:pi@raspberrypi:~ $ iobroker status iobroker is running on this host. At least one iobroker host is running. Objects type: file States type: redis
-
georg@nucserver:~$ iobroker status iobroker is not running on this host. No iobroker host is running. Objects type: file States type: file
-
WHO r runlevel 3
georg@nucserver:~$ iobroker list instances system.adapter.admin.0 : admin - disabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup - enabled system.adapter.coronavirus-statistics.0: coronavirus-statistics - enabled system.adapter.discovery.0 : discovery - enabled system.adapter.dwd.0 : dwd - enabled system.adapter.fritzdect.0 : fritzdect - enabled system.adapter.harmony.0 : harmony - enabled system.adapter.info.0 : info - enabled system.adapter.javascript.0 : javascript - enabled system.adapter.lgtv.0 : lgtv - enabled system.adapter.netatmo.0 : netatmo - enabled system.adapter.socketio.0 : socketio - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.squeezebox.0 : squeezebox - enabled, port: 9000 system.adapter.tankerkoenig.0 : tankerkoenig - enabled system.adapter.tr-064.0 : tr-064 - enabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive
-
@Boogie2005 sagte in (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl:
admin - disabled
iobroker start admin
Reagiert das System immer noch so träge?
-
@Thomas-Braun sagte in (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl:
iobroker start admin
georg@nucserver:~$ iobroker start admin The adapter "admin.0" was started. georg@nucserver:~$
Bis das zu sehen war, hat 65 Sekunden gedauert! Ja noch immer lahm. Und auch nicht erreichbar.
-
@Boogie2005
Mach mal eine zweite Session auf dem Server auf.
Und dann beobachtest du das log file:tail -f /opt/iobroker/log/iobroker.current.log
Irgendwas sollte da drin stehen.
free -h df -h
-
@Thomas-Braun was bedeutet zweite Session? Zweites Terminal?
-
@Boogie2005
Ja, damit du in Echtzeit schauen kannst was da für Meldungen geloggt werden. -
ok Fenster 1 dann die log aufrufen.
im 2. Fenster, was da? -
Bisher sieht das log so aus:
georg@nucserver:~$ tail -f /opt/iobroker/log/iobroker.current.log 2020-09-21 13:33:22.920 - info: dwd.0 (2134) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6 2020-09-21 13:33:23.672 - info: dwd.0 (2134) Terminated (NO_ERROR): Without reason 2020-09-21 13:33:24.192 - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) 2020-09-21 13:33:28.113 - info: coronavirus-statistics.0 (2145) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2020-09-21 13:33:28.626 - info: host.nucserver instance system.adapter.coronavirus-statistics.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-09-21 13:35:00.116 - info: host.nucserver instance system.adapter.dwd.0 started with pid 2204 2020-09-21 13:35:03.002 - warn: dwd.0 (2204) slow connection to states DB. Still waiting ... 2020-09-21 13:37:35.251 - info: dwd.0 (2204) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6 2020-09-21 13:37:35.994 - info: dwd.0 (2204) Terminated (NO_ERROR): Without reason 2020-09-21 13:37:36.520 - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) 2020-09-21 13:40:00.114 - info: host.nucserver instance system.adapter.dwd.0 started with pid 2397 2020-09-21 13:40:02.998 - warn: dwd.0 (2397) slow connection to states DB. Still waiting ... 2020-09-21 13:41:54.031 - info: dwd.0 (2397) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6 2020-09-21 13:41:54.806 - info: dwd.0 (2397) Terminated (NO_ERROR): Without reason 2020-09-21 13:41:55.327 - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR)
-
@Boogie2005
Im zweiten Fenster mit dem System 'rumspielen', z. B.iobroker start admin
slow connection to states DB. Still waiting ...
sieht aber schon mal seltsam aus.df -h free -h
liefert?
-
georg@nucserver:~$ iobroker start admin The adapter "admin.0" was started. georg@nucserver:~$
Das in einem Fenster, dann kommt
2020-09-21 13:41:54.806 - info: dwd.0 (2397) Terminated (NO_ERROR): Without reason 2020-09-21 13:41:55.327 - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) 2020-09-21 13:45:43.350 - info: host.nucserver instance system.adapter.dwd.0 started with pid 2512 2020-09-21 13:45:47.596 - info: host.nucserver instance system.adapter.coronavirus-statistics.0 started with pid 2523 2020-09-21 13:45:49.697 - warn: dwd.0 (2512) slow connection to states DB. Still waiting ... 2020-09-21 13:45:54.528 - warn: coronavirus-statistics.0 (2523) slow connection to objects DB. Still waiting ... 2020-09-21 13:47:15.035 - warn: coronavirus-statistics.0 (2523) slow connection to states DB. Still waiting ... 2020-09-21 13:48:38.777 - info: coronavirus-statistics.0 (2523) starting. Version 0.6.0 in /opt/iobroker/node_modules/iobroker.coronavirus-stati stics, node: v12.18.4, js-controller: 3.1.6 2020-09-21 13:49:44.775 - error: dwd.0 (2512) uncaught exception: adapter.stop is not a function 2020-09-21 13:49:44.778 - error: dwd.0 (2512) TypeError: adapter.stop is not a function at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.dwd/main.js:245:24) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7) 2020-09-21 13:49:45.783 - warn: dwd.0 (2512) Terminated (UNCAUGHT_EXCEPTION): Without reason 2020-09-21 13:49:54.238 - error: host.nucserver instance system.adapter.dwd.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2020-09-21 13:49:57.537 - info: coronavirus-statistics.0 (2523) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2020-09-21 13:49:58.056 - info: host.nucserver instance system.adapter.coronavirus-statistics.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-09-21 13:50:00.119 - info: host.nucserver instance system.adapter.dwd.0 started with pid 2616 2020-09-21 13:50:03.347 - warn: dwd.0 (2616) slow connection to states DB. Still waiting ...
Das im anderen Fenster
-