Hauptmenü

[erledig] Kein update (mehr) möglich

Begonnen von grappa24, 14 Juni 2024, 12:02:23

Vorheriges Thema - Nächstes Thema

grappa24

Hallo,

ich musste mein FHEM und fhemapp4 recovern, das config-file ließ sich auch wieder einspielen, aber ich kann kein Update von 4.1.3 machen.

Im Browser kommt der Hinweis auf ein JSON-Problem und auf loglevel7, aber das liefert dann leider nichts.

define myFHEMapp FHEMAPP fhemapp4
attr myFHEMapp room FHEMapp
#   CONFIG_FILE ./conf/myfhemapp_config.fhemapp.json
#   DEF        fhemapp4
#   FHEMAPP_NAME fhemapp4
#   FHEMAPP_UI <html><a href="/fhem/fhemapp4/index.html#/myFHEMapp">/fhem/fhemapp4/index.html#/myFHEMapp</a></html>
#   FUUID      666bef68-f33f-b5ae-fc9a-4737a1a5e9853b25
#   INTERVAL   3600
#   LOCAL      1
#   NAME       myFHEMapp
#   NOTIFYDEV  global
#   NR         734
#   NTFY_ORDER 50-myFHEMapp
#   PATH       ./www/fhemapp4
#   SOURCE_URL https://github.com/jemu75/fhemApp
#   STATE      defined
#   TYPE       FHEMAPP
#   VERSION    1.1.0
#   eventCount 6
#   OLDREADINGS:
#   READINGS:
#     2024-06-14 09:31:51   configLastRead  Fri Jun 14 09:31:51 2024
#     2024-06-14 11:45:25   configLastWrite Fri Jun 14 11:45:25 2024
#     2024-06-14 09:22:12   local_version   v4.1.3
#     2024-06-14 11:33:03   next_cycle      Fri Jun 14 12:33:03 2024
#     2024-06-14 09:22:12   pre_html_url    https://github.com/jemu75/fhemApp/releases/tag/v4.0.41-beta
#     2024-06-14 09:32:48   pre_info        # v4.0.41-beta (27.04.2024)
### Panel Status
#- bug fix level switch on right side
#- add button for template editor on loglevel 7
#     2024-06-14 09:22:12   pre_published_at 2024-04-27T19:59:46Z
#     2024-06-14 09:22:12   pre_tag_name    v4.0.41-beta
#     2024-06-14 09:22:12   request_result  success
#     2024-06-14 09:22:12   stable_html_url https://github.com/jemu75/fhemApp/releases/tag/v4.3.0
#     2024-06-14 09:32:48   stable_info     # v4.3.0 (09.06.2024)
### Panel
#- optimization of show/hide mainlevels
### Settings
#- optimization of navigation settings
#- bugfix for iframes
#     2024-06-14 09:22:12   stable_published_at 2024-06-09T06:10:04Z
#     2024-06-14 09:22:12   stable_tag_name v4.3.0
#     2024-06-14 09:31:51   state           defined
#     2024-06-14 11:42:31   update_available 1
#   helper:
#     config     {"header":{"showTime":true,"showDate":true,"showTitle":true,"showDarkMode":true,"showReloadPage":true,"showSettings":true,"showUpdate":true},"navigation":[],"panels":[{"name":"SysMon","template":"fhem_server","panel":{"devices":["sysmon:sysmon"]},"status":{},"main":[{"level":{}}],"info":{}},{"name":"Fenster Dieter","template":"HM-SEC-SCO","panel":{"devices":["contact:he_fenster"]},"status":{},"main":[{"level":{}}],"info":{}},{"name":"Thermostat Dieter","template":"HM-TC-IT-WM-W-EU","panel":{"devices":["thermo:rt_bd_dg_Clima","receiver:rt_bd_dg"]},"status":{},"main":[{"level":{}}],"info":{}}],"templates":[{"name":"fhem_server","template":null,"panel":{"devices":["dev:sysmon"],"navigation":["a-room::rooms->%s","::system"],"expandable":["::true:false"]},"status":{"imageUrl":["::https\\://picsum.photos/1920/1080?random"],"title":["a-alias::%s"],"bar":["cpu_temp:55:100:warning","::100:success"]},"main":[{"level":{"left1":"info"},"left1":{"text":["cpu_model_name::%s:text-left"]}},{"level":{"left1":"info","mid":"info","right2":"info"},"left1":{"text":["::CPU Auslastung\\:"],"status":["cpu_app:50:%n():warning:0:100:false:true","cpu_app::%n():success:0:100:false:true"],"text2":["cpu_app::%n(0)%"]},"mid":{"text":["::RAM Auslastung\\:"],"status":["ram_app:50:%n():warning:0:100:false:true","ram_app::%n():success:0:100:false:true"],"text2":["ram_app::%n(0)%"]},"right2":{"text":["::CPU Temperatur\\:"],"status":["cpu_temp:55:%n():warning:0:100:false:true","cpu_temp::%n():success:0:100:false:true"],"text2":["cpu_temp::%n(1)°C"]}},{"level":{"left1":"info","mid":"info","right2":"info"},"left1":{"text":["::Server läuft seit\\::text-left text-h7"],"text2":["starttime_text::%s:text-left text-h7"],"size":["4"]},"mid":{"text":["::FHEM läuft seit\\::text-left text-h7"],"text2":["fhemstarttime_text::%s:text-left text-h7"],"size":["4"]},"right2":{"text":["::SD Auslastung\\:"],"status":["sd_app:55:%n():warning:0:100:false:true","sd_app::%n():success:0:100:false:true"],"text2":["sd_app::%n(0)%"]}}],"info":{"left1":[":::mdi-server"],"mid1":["starttime-ts::%d()"]}},{"name":"Nuki Smart Lock","author":"mboj","date":"2024-03-11","panel":{"navigation":["a-room::rooms->%s","a-group::groups->%s"],"sortby":["a-room::%s"]},"status":{"bar":["state:unlocked:100:red","::0:on"],"title":["a-alias::%s"],"imageUrl":["::https\\://picsum.photos/1920/1080?random"]},"main":[{"level":{"left1":"btn","mid":"info","right1":"btn","right2":"btn"},"left1":{"btn":["mdi-lock-outline"],"click":["state::set switch lock"],"divider":["true"]},"mid":{"text":["state:unlocked:aufgeschlossen","state:locked:verschlossen","state::%s"],"size":["7"],"divider":["true"]},"right2":{"btn":["mdi-lock-open-outline"],"click":["state::set switch unlock"],"divider":["::true"]},"right1":{"btn":["mdi-door-open"],"click":["state::set switch unlatch"]}}],"info":{"left1":["state:unlocked::mdi-door-open","state:locked::mdi-door-closed"],"right1":["batteryPercent:75:%s:mdi-battery:success","batteryPercent:40:%s:mdi-battery-50:success","batteryPercent:15:%s:mdi-battery-30:warning","battery::%s:mdi-battery-outline:error"]}},{"name":"HM-SEC-SCO","author":"jemu75","date":"2023-12-23","panel":{"navigation":["a-room::rooms->%s","a-group::groups->%s"],"sortby":["a-sortby::%s"]},"status":{"bar":["state:closed:100:success","state:open:100:warning"],"title":["a-alias::%s"],"imageUrl":["::https\\://picsum.photos/1920/1080?random"]},"main":[{"level":{"mid":"info"},"mid":{"text":["state:closed:geschlossen","state:open:offen","state::%s"]}}],"info":{"left1":["state:closed::mdi-door","state:open::mdi-door-open"],"mid1":["trigger_cnt-ts::%d()"],"right1":["battery:ok::mdi-battery","battery:::mdi-battery-10"],"right2":["Activity:alive::mdi-wifi","Activity:::mdi-wifi-off"]}},{"name":"HM-TC-IT-WM-W-EU","author":"jemu75","date":"2023-12-10","panel":{"navigation":["a-room::rooms->%s","a-group::groups->%s"],"sortby":["a-sortby::%s"]},"status":{"title":["a-alias::%s"],"bar":["valve-state:on:100:success","valve-state::0:success"],"imageUrl":["::https\\://picsum.photos/1920/1080?random"]},"main":[{"level":{"left1":"btn","mid":"info","right2":"btn"},"left1":{"btn":["mdi-minus"],"divider":["true"],"click":["thermo-desired-temp:17.5:set thermo desired-temp %n(1,-0.5)","thermo-desired-temp::"],"longClick":["thermo-R-nightTemp::set thermo desired-temp %n(1,0.01)"]},"mid":{"divider":["true"],"text":["thermo-desired-temp:off:aus","thermo-desired-temp::%n(1)°C"],"size":["8"]},"right2":{"btn":["mdi-plus"],"click":["thermo-desired-temp:25:","thermo-desired-temp::set thermo desired-temp %n(1,0.5)"],"longClick":["thermo-R-dayTemp::set thermo desired-temp %n(1,0.01)"]}},{"level":{"mid":"chart","height":["280px"]},"mid":{"options":{"legend":{"show":false},"xAxis":{"show":false},"grid":{"top":20,"bottom":0,"left":20,"right":20},"series":[{"type":"gauge","center":["50%","65%"],"startAngle":200,"endAngle":-20,"min":10,"max":30,"splitNumber":10,"itemStyle":{"color":"#FFAB91"},"progress":{"show":true,"overlap":false,"width":20},"pointer":{"show":false},"axisLine":{"lineStyle":{"width":20}},"axisTick":{"distance":-30,"splitNumber":4,"lineStyle":{"width":2,"color":"#999"}},"splitLine":{"distance":-36,"length":12,"lineStyle":{"width":3,"color":"#999"}},"axisLabel":{"distance":-10,"color":"#999","fontSize":10},"anchor":{"show":false},"title":{"show":false},"detail":{"valueAnimation":true,"width":"60%","lineHeight":40,"borderRadius":8,"offsetCenter":[0,"-15%"],"fontSize":35,"fontWeight":"bolder","formatter":"{value}°C","color":"inherit"}},{"type":"gauge","center":["50%","65%"],"startAngle":200,"endAngle":-20,"min":10,"max":30,"itemStyle":{"color":"#FD7347"},"progress":{"show":true,"width":8},"pointer":{"show":false},"axisLine":{"show":false},"axisTick":{"show":false},"splitLine":{"show":false},"axisLabel":{"show":false},"detail":{"valueAnimation":true,"width":"60%","lineHeight":40,"borderRadius":8,"offsetCenter":[0,"15%"],"fontSize":20,"fontWeight":"normal","formatter":"{value}°C","color":"inherit"}}]},"serie":["thermo-desired-temp::%s:Soll:2:°C:gauge","thermo-measured-temp::%s:Temperatur:2:°C:gauge"]}}],"info":{"mid1":["thermo-measured-temp::%n(1)°C:mdi-thermometer"],"mid2":["thermo-humidity::%n()%:mdi-water"],"left1":["thermo-tempState:day::mdi-weather-sunny","thermo-tempState:night::mdi-weather-night"],"left2":["thermo-controlMode:auto::mdi-clock-time-four-outline"],"right1":["receiver-battery:ok::mdi-battery","receiver-battery:::mdi-battery-10"],"right2":["receiver-Activity:alive::mdi-wifi","receiver-Activity:::mdi-wifi-off"]}}],"content":{},"colors":{}}
#
setstate myFHEMapp defined
setstate myFHEMapp 2024-06-14 11:51:10 .fullResponse ERROR: read from https://codeload.github.com:443 timed out
setstate myFHEMapp 2024-06-14 09:22:12 .latest_url https://api.github.com/repos/jemu75/fhemApp/releases
setstate myFHEMapp 2024-06-14 09:22:12 .local_version_src CHANGELOG.md
setstate myFHEMapp 2024-06-14 09:22:12 .pre_tarball_url https://api.github.com/repos/jemu75/fhemApp/tarball/v4.0.41-beta
setstate myFHEMapp 2024-06-14 09:22:12 .stable_tarball_url https://api.github.com/repos/jemu75/fhemApp/tarball/v4.3.0
setstate myFHEMapp 2024-06-14 09:31:51 configLastRead Fri Jun 14 09:31:51 2024
setstate myFHEMapp 2024-06-14 11:45:25 configLastWrite Fri Jun 14 11:45:25 2024
setstate myFHEMapp 2024-06-14 09:22:12 local_version v4.1.3
setstate myFHEMapp 2024-06-14 11:33:03 next_cycle Fri Jun 14 12:33:03 2024
setstate myFHEMapp 2024-06-14 09:22:12 pre_html_url https://github.com/jemu75/fhemApp/releases/tag/v4.0.41-beta
setstate myFHEMapp 2024-06-14 09:32:48 pre_info # v4.0.41-beta (27.04.2024)
\
## Panel Status
\
- bug fix level switch on right side
\
- add button for template editor on loglevel 7
setstate myFHEMapp 2024-06-14 09:22:12 pre_published_at 2024-04-27T19:59:46Z
setstate myFHEMapp 2024-06-14 09:22:12 pre_tag_name v4.0.41-beta
setstate myFHEMapp 2024-06-14 09:22:12 request_result success
setstate myFHEMapp 2024-06-14 09:22:12 stable_html_url https://github.com/jemu75/fhemApp/releases/tag/v4.3.0
setstate myFHEMapp 2024-06-14 09:32:48 stable_info # v4.3.0 (09.06.2024)
\
## Panel
\
- optimization of show/hide mainlevels
\
## Settings
\
- optimization of navigation settings
\
- bugfix for iframes
setstate myFHEMapp 2024-06-14 09:22:12 stable_published_at 2024-06-09T06:10:04Z
setstate myFHEMapp 2024-06-14 09:22:12 stable_tag_name v4.3.0
setstate myFHEMapp 2024-06-14 09:31:51 state defined
setstate myFHEMapp 2024-06-14 11:42:31 update_available 1


Gruß,
Dieter/grappa24
FHEM 6.3, 2 x RasPi 3B+, Debian Buster; KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200
Rollo-/Lichtsteuerung/-szenarien, T-Sensoren, Fensterkontakte, Heizungssteuerung, HEOS, Sprachsteuerung mit Alexa-FHEM, Netatmo, Nuki, ...

jemu75

Hallo Dieter,

zum "recovern" wäre ich wie folgt vorgegangen:

1) Konfiguration (unter ./opt/fhem/conf/) sichern bzw. umbenennen (z.B. myapp_config.fhemapp.json nach myapp_config_save.fhemapp.json)
2) FHEMAPP Device in FHEM löschen (z.B. delete myapp)
3) FHEMApp (unter ./opt/fhem/www/) löschen  (z.B. den Ordner fhemapp4 inkl. aller Unterverzeichnisse)
4) FHEMAPP Device in FHEM neu erstellen (z.B. define myapp fhemapp fhemapp4)
5) Installation/Update für FHEMApp ausführen (z.B. set myapp update)
6) Konfiguration (unter ./opt/fhem/conf/) wiederherstellen (z.B. myapp_config_save.fhemapp.json nach myapp_config.fhemapp.json umbenennen)

Damit sollte dein FHEMApp einmal komplett neu installiert (aktuellste Version 4.3.0) und die bisherige Konfiguration wiederhergestellt sein.

Wenn Du explizit auf Version 4.1.3 zurückrollen möchtest, brauche ich einen Tipp von @Benni, da ich das bisher nicht gemacht habe. ;) Bin mir aber sicher, er kann sagen wie das geht.

Grüße
Jens :)

grappa24

Danke Jens,

3) hab ich nicht gemacht, das wirds schon gewesen sein.

Danke,
Dieter
FHEM 6.3, 2 x RasPi 3B+, Debian Buster; KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200
Rollo-/Lichtsteuerung/-szenarien, T-Sensoren, Fensterkontakte, Heizungssteuerung, HEOS, Sprachsteuerung mit Alexa-FHEM, Netatmo, Nuki, ...

Benni

Zitat von: jemu75 am 14 Juni 2024, 18:03:33Wenn Du explizit auf Version 4.1.3 zurückrollen möchtest, brauche ich einen Tipp von @Benni, da ich das bisher nicht gemacht habe. ;) Bin mir aber sicher, er kann sagen wie das geht.

Das geht bisher nicht "automatisch", d.h. das Release muss manuell runtergeladen und installiert (entpackt) werden.

Ich wollte immer mal noch eine Downgrad-Möglichkeit ins Modul einbauen. Bin aber inzwischen der Meinung, dass das nach der Beta-Phase nicht mehr wirklich sinnvoll ist.

gb#

grappa24

Ein Downgrade war nicht das Ziel, habs inzwischen hinbekommen, hatte vergessen, das "alte" FHEMapp unter /fhem/www zu löschen.

FHEM 6.3, 2 x RasPi 3B+, Debian Buster; KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200
Rollo-/Lichtsteuerung/-szenarien, T-Sensoren, Fensterkontakte, Heizungssteuerung, HEOS, Sprachsteuerung mit Alexa-FHEM, Netatmo, Nuki, ...