File upload brokes somtimes #20171
Replies: 13 comments 27 replies
-
|
The usual log level 3 or 4 may provide additional details of what Tasmota is doing. And also what curl is saying, like if it counts up to the expected number of bytes. |
Beta Was this translation helpful? Give feedback.
-
|
if the error appears again, i will check |
Beta Was this translation helpful? Give feedback.
-
|
uploading failed. console with syslog 4 do not react or output anything on triying uploading with curl |
Beta Was this translation helpful? Give feedback.
-
|
Same here on Tasmota 13.3.0(tasmota32).
When it works (one or more reboots) log shows: for this command: Can it be related to #20340 ? |
Beta Was this translation helpful? Give feedback.
-
|
I have the same problem on my Lanbon L8 with Tasmota 13.3.0(lvgl-haspmota). |
Beta Was this translation helpful? Give feedback.
-
|
Hello, any news? |
Beta Was this translation helpful? Give feedback.
-
|
now i got this error with a board with PSRAM. Auto-configured as Sunton 5Inch display. So only the
|
Beta Was this translation helpful? Give feedback.
-
|
I noticed the same occasional issue with uploading reporting a failure and not performing the upload operation. The Tasmota version is the latest master commit a5610ee. My observations were:
The WebLog shows different output for each case:
Digging through the code it seems that
So I came up with a working solution which is simply to download the root directory contents before uploading a file. Works perfectly. Here my script for updating the changed files in a defined set of files: #!/bin/bash
set -e
# see tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino
# shellcheck disable=SC1102,SC2215
MAX_FNAME_LEN=45
base_url='http://192.168.3.43'
curl_opts=(--silent)
#curl_opts=(-vv -i)
files=(
display.ini
pages.jsonl
*.be
assets/*.font
)
for f in "${files[@]}"
do
fname="$(basename "$f")"
if [ ${#fname} -gt "${MAX_FNAME_LEN}" ]
then
echo "File name '$fname' is too long (actual: ${#fname}, allowed: ${MAX_FNAME_LEN})"
elif [ -f "$f" ]
then
if diff -q "$f" <(curl "${curl_opts[@]}" "${base_url}/ufsd?download=/$fname") >/dev/null
then
echo "File '$fname' unchanged"
else
echo -n "File '$fname' changed -> uploading "
# need this to persuade the server that the subsequent upload is going to be a UPL_UFSFILE type
# see https://github.com/arendst/Tasmota/discussions/20171#discussioncomment-11735457?target=https://github.com
curl "${curl_opts[@]}" "${base_url}/ufsd" >/dev/null
fsz=$(stat -c "%s" "$f")
if curl "${curl_opts[@]}" "${base_url}/ufsu?fsz=$fsz" --form "ufsu=@$f" | grep -q 'Successful'
then
echo "successful"
else
echo "failed"
fi
fi
else
echo "Local file '$f' does not exist"
fi
doneI somehow have the impression that this could be a bug not yet reported, so ideally someone would create a bug report!? |
Beta Was this translation helpful? Give feedback.
-
|
Hi , facing the same issue on several different tasmota platforms (esp32S3 and esp32 , on v 15.3 , got the same issue on 14.6 , im trying to find a previous version where its working . here the log : note that i always have the Multicase rejoined appearing exactly in the same manner. |
Beta Was this translation helpful? Give feedback.
-
|
tried downgrade with tasmota 13.4 , dont have this weird behavior. |
Beta Was this translation helpful? Give feedback.
-
|
I doubt that the freeze is linked to multicast, it seems more like a hallucination due to the presence of the log line. Or do you see something in the logs that makes further uploads to freeze ? |
Beta Was this translation helpful? Give feedback.
-
|
i will check if this issue is not triggered by the fact i m in a setup where i have many wifi access points to roam around, could this have an impact ?
Le 2 mars 2026 10:14:33 GMT+03:00, s-hadinger ***@***.***> a écrit :
…Thanks, still I can't reproduce the problem.
I confirm though that `UPP: Multicast (re)joined` is shown at each uploaded file which seems odd
--
Reply to this email directly or view it on GitHub:
#20171 (reply in thread)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
@ouinouin @s-hadinger Try with a version build with this framework / Platform: Reason behind. Multicast behaviour has changed. See espressif/arduino-esp32#12408 |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
it seems to be a problem with file upload.
Sometimes, upload is broken. Than no files are uploaded. Either with promt cmd curl -F "file=@C:\Dev\Tasmota\path\filename.be" "http://192.168.xx.xx/ufsu" ,
nor with the webinterface.
rebooting do not fix this reliable. I just needed 3 reboots to be able to upload files again. What kind of information can i offer?
I see no special output in console while file upload is not happend.
Can i activate some log options?
Beta Was this translation helpful? Give feedback.
All reactions