Alexa-Fhem startet jede Minute neu

Begonnen von slor, 03 Januar 2023, 11:40:06

Vorheriges Thema - Nächstes Thema

slor

Hallo zusammen,

ich habe gestern ein FHEM Update durchgeführt und nach dem Restart startet sich Alexa-FHEM ca. alle 60 Sek neu.
Der angemeckerte Port ist jedes Mal ein anderer.

[02/01/2023, 16:51:45] Server emitted error: {"code":"EADDRINUSE","errno":-98,"syscall":"listen","address":"127.0.0.1","port":42249}
[02/01/2023, 16:51:45] Terminating - starting the listener not possible (another instance running?)


Das ist genau der Zeitpunkt des Neustarts nach dem Update.
Ich habe auch schon den FHEM Server neu gestartet, keine Verbesserung.

Das wurde beim Update aktualisiert:
UPD ./CHANGED
2023.01.02 15:15:03 1: UPD ./fhem.pl
2023.01.02 15:15:03 1: UPD FHEM/00_KNXIO.pm
2023.01.02 15:15:03 1: UPD FHEM/00_MQTT2_CLIENT.pm
2023.01.02 15:15:03 1: UPD FHEM/00_MQTT2_SERVER.pm
2023.01.02 15:15:03 1: UPD FHEM/00_THZ.pm
2023.01.02 15:15:03 1: UPD FHEM/01_FHEMWEB.pm
2023.01.02 15:15:03 1: UPD FHEM/10_CUL_HM.pm
2023.01.02 15:15:03 1: UPD FHEM/10_KNX.pm
2023.01.02 15:15:03 1: UPD FHEM/10_MQTT2_DEVICE.pm
2023.01.02 15:15:03 1: UPD FHEM/13_KS300.pm
2023.01.02 15:15:03 1: UPD FHEM/36_ShellyMonitor.pm
2023.01.02 15:15:03 1: UPD FHEM/47_OBIS.pm
2023.01.02 15:15:03 1: UPD FHEM/70_ESCVP21net.pm
2023.01.02 15:15:03 1: UPD FHEM/70_SVDRP.pm
2023.01.02 15:15:03 1: UPD FHEM/93_DbLog.pm
2023.01.02 15:15:04 1: UPD FHEM/93_DbRep.pm
2023.01.02 15:15:04 1: UPD FHEM/93_FHEM2FHEM.pm
2023.01.02 15:15:04 1: UPD FHEM/98_DOIF.pm
2023.01.02 15:15:04 1: UPD FHEM/98_HMinfo.pm
2023.01.02 15:15:04 1: UPD FHEM/98_monitoring.pm
2023.01.02 15:15:04 1: UPD FHEM/HttpUtils.pm
2023.01.02 15:15:04 1: UPD FHEM/Meta.pm
2023.01.02 15:15:04 1: UPD FHEM/lib/AttrTemplate/mqtt2.template
2023.01.02 15:15:04 1: UPD docs/commandref_frame.html
2023.01.02 15:15:04 1: UPD docs/commandref_frame_DE.html
2023.01.02 15:15:04 1: UPD lib/FHEM/SynoModules/SMUtils.pm
2023.01.02 15:15:04 1: UPD www/images/fhemSVG/automower.svg
2023.01.02 15:15:05 1: saving fhem.cfg
2023.01.02 15:15:05 1: saving ./log/fhem.save


FHEM Restart habe ich erst 16:51 gemacht.

2023.01.02 16:52:03 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.01.02 16:52:03 3: alexa: starting
2023.01.02 16:52:03 3: alexa: using logfile: ./log/alexa-2023-01.log


Im FHEM Log steht jedesmal:
2023.01.02 16:52:13 3: alexa: read: end of file reached while sysread
2023.01.02 16:52:13 3: alexa: stopped
023.01.02 16:52:33 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.01.02 16:52:33 3: alexa: starting
2023.01.02 16:52:33 3: alexa: using logfile: ./log/alexa-2023-01.log
2023.01.02 16:53:13 3: alexa: read: end of file reached while sysread
2023.01.02 16:53:13 3: alexa: stopped
2023.01.02 16:53:33 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.01.02 16:53:33 3: alexa: starting
2023.01.02 16:53:33 3: alexa: using logfile: ./log/alexa-2023-01.log
2023.01.02 16:54:13 3: alexa: read: end of file reached while sysread
2023.01.02 16:54:13 3: alexa: stopped
2023.01.02 16:54:33 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.01.02 16:54:33 3: alexa: starting
2023.01.02 16:54:33 3: alexa: using logfile: ./log/alexa-2023-01.log
2023.01.02 16:55:13 3: alexa: read: end of file reached while sysread
2023.01.02 16:55:13 3: alexa: stopped


[02/01/2023, 16:55:34] this is alexa-fhem 0.5.37
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect

slor

Ich habe heute einfach mal ein alexa-fhem aktualisiert und bisher läuft es stabil.

[04/01/2023, 11:39:47] this is alexa-fhem 0.5.64

pi@raspi04:~ $ sudo npm update -g alexa-fhem
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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.

added 7 packages, removed 4 packages, and changed 45 packages in 8s

15 packages are looking for funding
  run `npm fund` for details
pi@raspi04:~ $ sudo npm update -g alexa-fhem

changed 1 package in 3s

15 packages are looking for funding
  run `npm fund` for details
pi@raspi04:~ $ node --version
v16.19.0


Keine Ahung ob die NPM Meldungen was bedeuten. npm fund zeig nichts an.

Wenn ich versuche NPM noch mal zu installieren kommt folgendes:

pi@raspi04:~ $ sudo apt-get install nodejs npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (16.19.0-deb-1nodesource1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nodejs : Conflicts: npm
npm : Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect