Has anyone been able to update to version 2.2.2? My gateway fails at about 37% progress, with no clear reason. I am currently running 2.1.4.
After a new attempt I found more info:
Mon Jan 12 19:31:09 2026 user.debug "/usr/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request File "/usr/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request File "/usr/bin/restify/authuser/helper.py", line 64, in do_authentication return func(*args, **kwargs) File "/usr/bin/restify/system/views.py", line 54, in upgrade_firmware filename = model.prepare_upgrade(file, debug=False) File "/usr/bin/restify/system/model.py", line 116, in prepare_upgrade file.save(file_object) File "/usr/lib/python3.8/site-packages/werkzeug/datastructures.py", line 3070, in save File "/usr/lib/python3.8/shutil.py", line 205, in copyfileobj Mon Jan 12 19:31:09 2026 user.debug restify: OSError: [Errno 28] No space left on device
ssh to device shows:
root@ARDUINO:/# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 10.8M 764.0K 10.1M 7% /
/dev/root 19.5M 19.5M 0 100% /rom
tmpfs 61.7M 264.0K 61.4M 0% /tmp
/dev/mtdblock7 10.8M 764.0K 10.1M 7% /overlay
overlayfs:/overlay 10.8M 764.0K 10.1M 7% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mmcblk0p1 31.9M 31.9M 0 100% /mnt/mmcblk0p1
/dev/mmcblk0p2 975.3M 124.4M 800.9M 13% /mnt/mmcblk0p2
/dev/mmcblk0p3 28.2G 2.9M 27.1G 0% /mnt/mmcblk0p3
Is i possible to change what mount is used for firmware upload, or any files I can delete to free up space? The new firmware is about 25MB..
I was able to work through it:
- (Optional) Remove temporary firmware files from mmcblk0p1.
- Stop restify
- Redirect temp files to /mnt/mmcblk0p2
- Restart restify
- (Should add remapping to startup)
rm -f /mnt/mmcblk0p1/tmpbin/tmp*.bin
sync
mkdir -p /mnt/mmcblk0p2/tmpbin
/etc/init.d/restify stop 2>/dev/null || true
mount --bind /mnt/mmcblk0p2/tmpbin /mnt/mmcblk0p1/tmpbin
/etc/init.d/restify start 2>/dev/null || true
df -h /mnt/mmcblk0p1/tmpbin
mount | grep tmpbin
Update confirmed:
BusyBox v1.33.1 (2024-02-20 15:10:21 UTC) built-in shell (ash)
LoRaWAN Gateway (WisGateOS 2.2.2_ARDUINO WisGateOS b96)
(Not tested)
cat << 'EOF' >> /etc/rc.local
mkdir -p /mnt/mmcblk0p2/tmpbin
mount --bind /mnt/mmcblk0p2/tmpbin /mnt/mmcblk0p1/tmpbin
EOF