Error at OTA Update
-
Hello together,
can everyone explain me why my OTA update ran into an error?
the OTA Update code is placed in boot.py
i have sometimes the same problems with ssd1306.py and LTxxxxx.py
Requesting: 1.0.1/flash/lib/ssd1306.py Requesting: 1.0.1/flash/lib/OTA.py Traceback (most recent call last): File "boot.py", line 99, in <module> File "update.py", line 35, in <module> File "/flash/lib/OTA.py", line 81, in update OSError: error renaming file '/flash/boot.py.new' to '/flash/boot.py'```
-
Have everyone running a ota server and have successfully complete one run?
My board stuck at random files with an error
-
No one an idea??
-
@River thank you, but the OTA Script renames the files automatically.
-
@svonbentzel Never tested, but maybe you need to rename first the file to replace.
Example:
/flash/boot.py > /flash.boot.py.old and next, rename /flash/boot.py.new to flash/boot.py
-
maybe out of storage ???
-
Requesting: 1.0.1/flash/lib/urequests.py Traceback (most recent call last): File "boot.py", line 116, in <module> File "/flash/lib/OTA.py", line 81, in update OSError: error renaming file '/flash/calibration_backup.py.new' to '/flash/calibration_backup.py'```