FHEM Attribute werden nicht angezeigt

Begonnen von DerErzengel, 31 August 2017, 15:41:29

Vorheriges Thema - Nächstes Thema

DerErzengel

Hey,
Ich versuche seit kurzem mein FHEM mit einem Passwort Attribut zu schützen, leider klappt das nicht bzw. ich sehe keine Attribute in der liste.
Was kann ich tun?

igami

Pi3 mit fhem.cfg + DbLog/logProxy
Komm vorbei zum FHEM Treffen im Kreis Gütersloh! Das nächste Mal im April 2020.

MAINTAINER: archetype, LuftdatenInfo, monitoring, msgDialog, Nmap, powerMap
ToDo: AVScene, FluxLED

DerErzengel

Natürlich im jeweiligen Overlay oder wie das heißt, also unter FHEM WEB, WEBphone oder WEBtablet.

nils_

sicher das das hier im richtigen Forum ist? vmtl. wäre Anfängerfragen passender....

https://wiki.fhem.de/wiki/Erste_Schritte_in_FHEM
führt dann weiter zu
https://fhem.de/commandref_DE.html#basicAuth


meinst du das?
viele Wege in FHEM es gibt!

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

DerErzengel

Na ja, es ist halt so, dass wenn ich ein Attribut bei WEBphone und WEBtablet anlegen lasse, wird die Website weiß und ich muss neuladen, damit ich wieder auf FHEM komme.

CoolTux

und noch einmal. allowed ist das was Du suchst
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Otto123

und eventuell erstmal update machen. Weiße Seite hatten wir doch so als temporäre Erscheinung!?
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

igami

Irgendwie ist das hier aber auch der falsche Forumsbereich.

Wird das allowed nicht mittlerweile automatisch erzeugt, wenn man das basicauth Attribut bei einem FHEMWEB device anwendet?
Pi3 mit fhem.cfg + DbLog/logProxy
Komm vorbei zum FHEM Treffen im Kreis Gütersloh! Das nächste Mal im April 2020.

MAINTAINER: archetype, LuftdatenInfo, monitoring, msgDialog, Nmap, powerMap
ToDo: AVScene, FluxLED

DerErzengel

Stimmt, ist das falsche Forum kommt auch nicht wieder vor. Aber nach einem Update habe ich jetzt ein viel größeres Problem, denn das Web Overlay lässt sich nicht mehr anzeigen. Versucht habe ich schon dies: https://forum.fhem.de/index.php/topic,33155.msg255133.html#msg255133

Leider ohne Erfolg

Otto123

#10
Was meinst Du genau mit Web Overlay ?
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

DerErzengel

Ich meinte die gesamte FHEM übersicht. Der FHEM Server ist leider nicht mehr erreichbar.

Otto123

Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

DerErzengel

Ich habe mich an diese Anleitung gehalten. Dabei sind folgende Fehlermeldungen angezeigt worden:

2017.09.01 14:12:20 1: Including fhem.cfg.debug
2017.09.01 14:12:20 3: telnetPort: port 7072 opened
2017.09.01 14:12:20 1: reload: Error:Modul 01_FHEMWEB deactivated:
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 12.

2017.09.01 14:12:20 0: Too many arguments for main::TcpServer_Close at ./FHEM/0_FHEMWEB.pm line 583, near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 12.

2017.09.01 14:12:20 1: PERL WARNING: Subroutine FHEMWEB_Initialize redefined at./FHEM/01_FHEMWEB.pm line 125, <$fh> line 19.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_SecurityCheck redefined at .FHEM/01_FHEMWEB.pm line 231, <$fh> line 19.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Define redefined at ./FHEM/0_FHEMWEB.pm line 262, <$fh> line 19.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Undef redefined at ./FHEM/01FHEMWEB.pm line 297, <$fh> line 19.
2017.09.01 14:12:20 1: reload: Error:Modul 01_FHEMWEB deactivated:
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 19.

2017.09.01 14:12:20 0: Too many arguments for main::TcpServer_Close at ./FHEM/0_FHEMWEB.pm line 583, near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 19.

2017.09.01 14:12:20 1: PERL WARNING: Subroutine FHEMWEB_Initialize redefined at./FHEM/01_FHEMWEB.pm line 125, <$fh> line 22.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_SecurityCheck redefined at .FHEM/01_FHEMWEB.pm line 231, <$fh> line 22.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Define redefined at ./FHEM/0_FHEMWEB.pm line 262, <$fh> line 22.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Undef redefined at ./FHEM/01FHEMWEB.pm line 297, <$fh> line 22.
2017.09.01 14:12:20 1: reload: Error:Modul 01_FHEMWEB deactivated:
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 22.

2017.09.01 14:12:20 0: Too many arguments for main::TcpServer_Close at ./FHEM/0_FHEMWEB.pm line 583, near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 22.

2017.09.01 14:12:20 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2017.09.01 14:12:20 1: Including ./log/fhem.save
2017.09.01 14:12:20 1: configfile: Cannot load module FHEMWEB
Cannot load module FHEMWEB
Cannot load module FHEMWEB

2017.09.01 14:12:20 1: usb create starting
2017.09.01 14:12:20 3: Probing CUL device /dev/ttyAMA0
2017.09.01 14:12:20 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.09.01 14:12:21 3: Probing FRM device /dev/ttyAMA0
2017.09.01 14:12:26 1: usb create end
2017.09.01 14:12:26 2: Messages collected while initializing FHEM: configfile: annot load module FHEMWEB Cannot load module FHEMWEB Cannot load module FHEMWEB
2017.09.01 14:12:26 0: Featurelevel: 5.8
2017.09.01 14:12:26 0: Server started with 8 defined entities (fhem.pl:14945/207-08-22 perl:5.024001 os:linux user:pi pid:1464)
2017.09.01 14:12:20 1: Including fhem.cfg.debug
2017.09.01 14:12:20 3: telnetPort: port 7072 opened
2017.09.01 14:12:20 1: reload: Error:Modul 01_FHEMWEB deactivated:
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 12.

2017.09.01 14:12:20 0: Too many arguments for main::TcpServer_Close at ./FHEM/0_FHEMWEB.pm line 583, near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 12.

2017.09.01 14:12:20 1: PERL WARNING: Subroutine FHEMWEB_Initialize redefined at./FHEM/01_FHEMWEB.pm line 125, <$fh> line 19.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_SecurityCheck redefined at .FHEM/01_FHEMWEB.pm line 231, <$fh> line 19.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Define redefined at ./FHEM/0_FHEMWEB.pm line 262, <$fh> line 19.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Undef redefined at ./FHEM/01FHEMWEB.pm line 297, <$fh> line 19.
2017.09.01 14:12:20 1: reload: Error:Modul 01_FHEMWEB deactivated:
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 19.

2017.09.01 14:12:20 0: Too many arguments for main::TcpServer_Close at ./FHEM/0_FHEMWEB.pm line 583, near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 19.

2017.09.01 14:12:20 1: PERL WARNING: Subroutine FHEMWEB_Initialize redefined at./FHEM/01_FHEMWEB.pm line 125, <$fh> line 22.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_SecurityCheck redefined at .FHEM/01_FHEMWEB.pm line 231, <$fh> line 22.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Define redefined at ./FHEM/0_FHEMWEB.pm line 262, <$fh> line 22.
2017.09.01 14:12:20 1: PERL WARNING: Subroutine FW_Undef redefined at ./FHEM/01FHEMWEB.pm line 297, <$fh> line 22.
2017.09.01 14:12:20 1: reload: Error:Modul 01_FHEMWEB deactivated:
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 22.

2017.09.01 14:12:20 0: Too many arguments for main::TcpServer_Close at ./FHEM/0_FHEMWEB.pm line 583, near "1)"
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 708, ear "1)"
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 86, <$fh> line 22.

2017.09.01 14:12:20 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2017.09.01 14:12:20 1: Including ./log/fhem.save
2017.09.01 14:12:20 1: configfile: Cannot load module FHEMWEB
Cannot load module FHEMWEB
Cannot load module FHEMWEB

2017.09.01 14:12:20 1: usb create starting
2017.09.01 14:12:20 3: Probing CUL device /dev/ttyAMA0
2017.09.01 14:12:20 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.09.01 14:12:21 3: Probing FRM device /dev/ttyAMA0
2017.09.01 14:12:26 1: usb create end
2017.09.01 14:12:26 2: Messages collected while initializing FHEM: configfile: annot load module FHEMWEB Cannot load module FHEMWEB Cannot load module FHEMWEB
2017.09.01 14:12:26 0: Featurelevel: 5.8
2017.09.01 14:12:26 0: Server started with 8 defined entities (fhem.pl:14945/207-08-22 perl:5.024001 os:linux user:pi pid:1464)
2017.09.01 14:12:20 1: Including fhem.cfg.debug
2017.09.01 14:12:20 3: telnetPort: port 7072 opened
2017.09.01 14:12:20 1: reload: Error:Modul 01_FHEMWEB deactivated:
Too many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Too many arguments for main::TcpServer_Clo

Was kann ich da machen? Wenn es zu aufwendig sein sollte kann ich FHEM einfach nochmal neu installieren?

rudolfkoenig

ZitatToo many arguments for main::TcpServer_Close at ./FHEM/01_FHEMWEB.pm line 583,near "1)"
Die Datei TcpServerUtils.pm passt nicht zu der Datei 01_FHEMWEB.pm -> Die Aktualisierung (vulgo update) ist nur partiell erfolgt.

Falls du fuer die Aktualisierung update vervendet hast und FHEM nicht extrem alt ist, dann kann man die alten Dateien aus restoreDir/<Datum> wieder herstellen. Sonst wuerde ich FHEM neu installieren, und danach die Ursache des kaputten updates untersuchen.

Zum urspruenglichen Probem: falls man einen der Attribute basicAuth, basicAuthMsg oder allowedCommands setzt, dann legt das FHEMWEB Modul automatisch eine allowed Instanz mit dem Namen allowed_<FHEMWEBNAME> an, und setzt diese Attribute da. Ist gedacht als sorgenfreien Weg zur Uebernahme der alten Konfigurationen. Eigentlich duerften diese Attribtue in der Auswahlliste nicht mehr angeboten werden, aber das geht noch nicht.

Zum Schluss: bitte das Thema in die Gruppe Frontends/FHEMWEB verschieben.