FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: stgeran am 02 Februar 2017, 19:10:19

Titel: (gelöst) HMtemplate.pm
Beitrag von: stgeran am 02 Februar 2017, 19:10:19
Ein update aus der weboberfläche klappt, bis auf HMtemplate.pm. Da habe ich folgende Meldung
./FHEM/98_HMtemplate.pm failed: Keine Berechtigung, trying to restore the previous version and aborting the update
Warum nur da?
Titel: Antw:HMtemplate.pm
Beitrag von: CoolTux am 02 Februar 2017, 19:11:45
Keine Ahnung. Aber vielleicht wenn Du mal Infos gibst. Wir werden sehen.
Titel: Antw:HMtemplate.pm
Beitrag von: stgeran am 02 Februar 2017, 19:15:38
Was braucht ihr mehr als infos, was soll ich posten?
2017.02.02 19:06:54 1 : UPD FHEM/98_GEOFANCY.pm
2017.02.02 19:06:55 1 : UPD FHEM/98_GoogleAuth.pm
2017.02.02 19:06:55 1 : UPD FHEM/98_HMinfo.pm
2017.02.02 19:06:55 1 : UPD FHEM/98_HMtemplate.pm
2017.02.02 19:06:55 1 : open ./FHEM/98_HMtemplate.pm failed: Keine Berechtigung, trying to restore the previous version and aborting the update
2017.02.02 19:06:55 1 :
2017.02.02 19:06:55 1 : fhemrollo
2017.02.02 19:06:58 1 : nothing to do...
2017.02.02 19:06:58 1 : Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while
2017.02.02 19:12:13 1 : *** EN FHEM/98_HMtemplate.pm: ignoring text due to DOS encoding
2017.02.02 19:12:13 1 : *** DE FHEM/98_HMtemplate.pm: ignoring text due to DOS encoding

Das habe ich NACH "update" und VOR "shutdown restart"
Titel: Antw:HMtemplate.pm
Beitrag von: CoolTux am 02 Februar 2017, 19:18:06
die Berechtigung der Datei zum Beispiel. Hast Du die Datei mal gelöscht? Wird ja eh wieder neu angelegt?
Titel: Antw:HMtemplate.pm
Beitrag von: martinp876 am 02 Februar 2017, 19:28:05
Linux?
Setze:
chmod -666 HMtemplate.pm
Im fhem Verzeichnis. Evtl mit sudo vorneweg
Mit ls-lisa solltest du die Berechtigungen vergleichen können.
Titel: Antw:HMtemplate.pm
Beitrag von: stgeran am 02 Februar 2017, 20:00:26
Ja, das wars. Die Datei hatt rw-r-r. Gelöscht, neues Update und alles ist gut. Danke