shelly-homekit icon indicating copy to clipboard operation
shelly-homekit copied to clipboard

+1/+1PM upgrades seems to finish, but didnt upgrade

Open Littlericket opened this issue 6 months ago • 12 comments

Hi all,

i have 2 out of 10 shelly 1 plus at my home which are not correctly upgrading. I dont know if they both were in the same double-package and have some common differences with the other ones in this home.

When applying the upgrade, the process runs successfully, but after rebooting the shelly is still running the previous version, even if the logs tell me that everything went fine.

Tried downgrading, upgrading (from 2.11.2 to 2.12.1) , reverting to stock. The shelly always comes back with the previous version 2.11.2.

Below the log entries when starting the upgrade.

1587473164 mgos_ota_core.c:656     FW: Plus1 esp32 2.12.1 20240623-075054/2.12.1-g417cbdf sig 0x00
1592449201 shelly_ota.cpp:90       Starting firmware update
1592463683 esp32xx_ota_backend:209 App: Plus1.bin -> app_0 enc 0, FS: fs.img -> fs_0 enc 0
1592470759 mgos_mongoose.c:66      New heap free LWM: 191904
1592477697 mgos_mongoose.c:66      New heap free LWM: 190360
1592485015 mgos_ota_core.c:685     0.15% total, bootloader.bin 512 of 23728
1592492514 mgos_ota_core.c:1202    Update state: 0
1592749625 mgos_ota_core.c:685     1.59% total, partition-table.bin 512 of 3072
1592757215 mgos_ota_core.c:1202    Update state: 0
1592787058 mgos_ota_core.c:685     1.78% total, otadata.bin 512 of 8192
1592794606 mgos_ota_core.c:1202    Update state: 0
1592994993 esp32xx_ota_backend:303 Writing FS @ 0x190000
1593271487 mgos_ota_core.c:685     2.27% total, fs.img 512 of 458752
1593279087 mgos_ota_core.c:1202    Update state: 0
1596631647 mgos_ota_core.c:685     18.13% total, fs.img 262656 of 458752
1596639355 mgos_ota_core.c:1202    Update state: 0
1599408737 esp32xx_ota_backend:399 fs_0 verified (429e0768a2f79d22bfe9fcbb5aaf057f1977d88b)
1599793739 esp32xx_ota_backend:299 Skip writing app (digest matches)
1599808646 mgos_ota_core.c:685     30.03% total, Plus1.bin 512 of 1156448
1599816325 mgos_ota_core.c:1202    Update state: 0
1600441530 shelly_main.cpp:449     Up 1600.43, HAP 0/0/16 ns 0, RAM: 200624/190360; st 44; disabled
1601097220 mgos_ota_core.c:685     45.89% total, Plus1.bin 262656 of 1156448
1601104796 mgos_ota_core.c:1202    Update state: 0
1602365390 mgos_ota_core.c:685     61.75% total, Plus1.bin 524800 of 1156448
1602373363 mgos_ota_core.c:1202    Update state: 0
1603624269 mgos_ota_core.c:685     77.61% total, Plus1.bin 786944 of 1156448
1603631862 mgos_ota_core.c:1202    Update state: 0
1604920368 mgos_ota_core.c:685     93.46% total, Plus1.bin 1049088 of 1156448
1604928924 mgos_ota_core.c:1202    Update state: 0
1605447556 mgos_ota_core.c:820     Reached the end of archive
1605459862 esp32xx_ota_backend:463 Setting boot partition to app_0
1605469123 [0;32mI (1606158) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=30944h (198980) map[0m
1605586052 [0;32mI (1606278) esp_image: segment 1: paddr=0004096c vaddr=3ffb0000 size=03630h ( 13872) [0m
1605603000 [0;32mI (1606288) esp_image: segment 2: paddr=00043fa4 vaddr=40080000 size=0c074h ( 49268) [0m
1605638405 [0;32mI (1606328) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=d1f40h (859968) map[0m
1606097992 [0;32mI (1606788) esp_image: segment 4: paddr=00121f68 vaddr=4008c074 size=085b0h ( 34224) [0m
1606125380 [0;32mI (1606818) esp_image: segment 5: paddr=0012a520 vaddr=50000000 size=00010h (    16) [0m
1606134834 [0;32mI (1606828) esp_ota_ops: New OTA data 0: seq 0x0000005b, st 0x10, CRC 0x12ad02a7[0m
1606194324 mgos_ota_core.c:1051    Update finished, result 1 (Update applied, rebooting)
1606200533 mgos_ota_core.c:1202    Update state: 0

Littlericket avatar Aug 09 '24 10:08 Littlericket