TRB160 firmware update fails due to "insufficient space in /tmp/"

Hi,

When trying to update the firmware on a new TRB160 (fresh out of the box) , I get the error message “Unsuccessful upload: An unexpected error occured.”.

The unit is running firmware version TRB16_R_00.07.07.3. Only the most basic setup has been performed (e.g. setting APN).

I get the error message when updating via the user interface (device firmware, from file, keeping settings) when uploading all of the following versions.

  • TRB16_R_00.07.20_WEBUI.bin
  • TRB16_R_00.07.18.3_WEBUI.bin
  • TRB16_R_00.07.17.5_WEBUI.bin

The events log contains the event type “sysupdate” with the event text “Insufficient space in /tmp/” for each of these tries.

Status > System > Memory shows 1.99 % of Flash used.

Questions

  1. Shouldn’t a fresh out of the box unit have sufficient storage to enable updating the firmware?
  2. What steps can I take to enable updating the firmware?
  3. How come the system reports that the firmware version available on server is TRB16_R_00.07.17.5. That firmware version was released on 30 September. 9 more recent firmware releases exist, including the one listed as “Stable FW” (TRB16_R_00.07.18.3). This (00.07.17.5) must be incorrect and should probably be looked into.

Greetings,

You should be able to upgrade the device’s firmware regardless of whether the unit is new or previously used.

Just to confirm, did you also attempt to upgrade the firmware directly from the server? If so, please try upgrading the firmware via the CLI by following the instructions provided here: RutOS and TSWOS firmware update - Teltonika Networks Wiki

Best Regards,
Justinas

Hi @Justinas,

Update failed via server, via file and via CLI

I’ve now tried updating via server, via file and via CLI … all with the same results.

Is my device, in some way, faulty? In any case, please report the issue to the appropriate department and provide additional support in how the firmware can be updated.

Via server

I first see “Downloading…”, then “Downloading complete, verifying…” and then nothing happens. A log entry is created for each try, with the same message as when updating from file (“insufficient space in /tmp/”).

Via server and file after factory resetting

I tried factory resetting the gateway and repeating FW update from server and from file … with unchanged result.

Via CLI

I’ve also tried updating via CLI (following the steps in the article you recommended), getting the same result.

CLI output:

Sat Dec 27 17:47:50 CET 2025 upgrade: Insufficient space in /tmp/
Not enough free space in /tmp file system!
Please clean up /tmp mount point.
Image check failed.

Method:

  1. I uploaded the stablel firmware (TRB16R_00.07.18.3) to /tmp/ via scp.
  2. I verified that the /tmp/ folder contains the .bin file (via CLI in the gateway’s web UI).
  3. I ran the command sysupgrade /tmp/TRB16_R_00.07.18.3_WEBUI.bin via CLI in the gateway’s web UI).

Here’s a diskspace analysis (from df -h in CLI):

Filesystem Size Used Available Use% Mounted on
/dev/root 12.4M 12.4M 0 100% /rom
ubi1:modem 36.5M 36.5M 0 100% /rom/firmware
tmpfs 64.9M 22.2M 42.7M 34% /tmp
/dev/ubi0_1 13.6M 296.0K 12.5M 2% /overlay
overlayfs:/overlay 13.6M 296.0K 12.5M 2% /
tmpfs 512.0K 0 512.0K 0% /dev
ubi1:modem 36.5M 36.5M 0 100% /firmware
ubi2:storage 46.3M 160.0K 43.7M 0% /storage

21.9 MB of the 22.2 MB space in /tmp is the TRB16R_00.07.18.3 firmware file.

Other comments

Greetings,

For troubleshooting purposes, we will require more sensitive information from your end, such as the troubleshoot file, which may contain passwords, public IP addresses, serial numbers, and such. To avoid leaking this information, we have sent you a form to fill out, which you will receive in your e-mail inbox that you have registered your account with in the forums. In the Ticket ID field of the form, please enter the ID of this thread, which is 17009.

Best Regards,
Justinas

Hi, I confirm having received the email. I’ll send the requested information in the next few days. Thanks!

The form has been filled in, but didn’t contain any possibility to provide other information than email, username, ticket number and ticket description.

Greetings,

I have sent you an email, you may reply to it with the information I have specified in the email.

Best Regards,
Justinas

Hi @Justinas,

Have you got any findings on what causes the issue and what can be done to solve it?

Feel free to respond to my email address.

Best Regards,
Björn

@Justinas While awaiting the R&D investigation results, please ensure that this topic isn’t automatically closed. Also, a progress update would be highly appreciated.

/Björn

Greetings,

Apologies for the delayed response.

I have sent you multiple emails today. Please confirm that you have received them, when you can have a chance.

Best Regards,
Justinas

Hi,

I confirm having received the information, but will not go ahead with the fastboot process and flash a new firmware. This procedure is a bit complicated, time consuming, not ensured to solve the issue; neither temporarilly, nor permanently. I will instead contact the vendor.

By the way, the page RMA - Teltonika Networks Wiki contains links to https://hd.teltonika.lt/. Following that link returns “hd.teltonika.lt’s server IP address could not be found.” Please forward this information to the appropriate department so that the link works, or that the wiki page contains the correct URL.

/Björn

Greetings,

Please note that the RMA instructions provided on the WIKI are intended for direct clients. If the product was purchased through a distributor, you should contact the distributor directly to proceed with the RMA process.

Best Regards,
Justinas

Regardless of which, the page should contain a valid URL, shouldn’t it?

This topic was automatically closed after 60 days. New replies are no longer allowed.