New Member
Posts: 3
Registered: ‎11-04-2014

Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

[ Edited ]

Just got a new Edgerouter LITE ERLite-3 router from Amazon.

 

Router came with EdgeOS v1.2.0 which is very old.

Why do they still sell it like that is a separate issue,

I know Ubuquity has no control over the old stock out there.

 

Trying to upgrade to the newest v1.5.0, downloaded the following:

 

ER-e100.v1.5.0.4677648.tar

ER-e100.v1.4.1.4648309.tar

ER-e100.v1.4.0.4632200.tar

ER-e100.v1.3.0.4605130.tar

 

and tried them one by ine both in Firefox and Chrome.

 

They uploaded to 100%, then the little circle turned round and round and finally the system

told me with a big red message that it failed, e.g.

 

ER-e100.v1.5.0.4677648.tar 69.0 MB Upload failed.

 

What am I doing wrong?

 

Cheers,

Unak

 

Edit: I am able to update through CLI. However must find out why web based fails.

Veteran Member
Posts: 4,076
Registered: ‎05-15-2014
Kudos: 1523
Solutions: 278

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

[ Edited ]

Try adding from command line and copy/paste back any errors you may get.

 

$ add system image http://dl.ubnt.com/firmwares/edgemax/v1.6.0/ER-e100.v1.6.0rc3.4715471.tar

 

After ugrade reboot the router to activate the new firmware.

New Member
Posts: 3
Registered: ‎11-04-2014

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

 

Yes, I should have added that I was already able to update through CLI,

but must find out why the web based update fails regardless.

 

This is not the expected behavior and there must be a reason and a fix provided.

 

Thanks,

Unak

New Member
Posts: 3
Registered: ‎11-04-2014

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

Based on the naming convention that image eems like a release candidate 3, not a stable final release, am I right?

Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5471
Solutions: 1656
Contributions: 2

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

The failure could be caused by "memory exhaustion" issue discussed before (i.e., insufficient free memory on the router to perform upgrade), and usually rebooting the router before upgrade could free up sufficient memory. By the way the final 1.6.0 has been released yesterday.

Established Member
Posts: 2,124
Registered: ‎03-11-2014
Kudos: 609
Solutions: 97

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

[ Edited ]

I had this issue when upgrading through Edge OS.  I tried rebooting and the whole thing locked up.  It no longer works.  I was able to upgrade to every other firmware with no issues.  It said upload failed so I figured I would reboot then try again.  It never came back up.  I dont have a console cable around to try and see what is happening.  I have tried the reset to factory defaults and still nothing.  I have one of the older versions, do you think I may be affected by the memory issue?

Veteran Member
Posts: 4,076
Registered: ‎05-15-2014
Kudos: 1523
Solutions: 278

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

The internal USB memory stick may be corrupted. If it's still in warranty contact UBNT.

Otherwise tehre are multiple posts here how to replace it yoursef.

 

But the best would be to hookup a serial console, reboot the device and capture the output on the console ... that should give enough clues to determine what's wrong.

Established Member
Posts: 2,124
Registered: ‎03-11-2014
Kudos: 609
Solutions: 97

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

Agreed, I just ordered a cable.  It should still be under warranty as I have not had it for a full year yet.  

New Member
Posts: 18
Registered: ‎01-10-2013

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

I'm having the same problem uploading the firmware via the GUI.

 

This is a new unit, straight out of the box, running v1.2. 

 

Same scenario as the OP: When I upload the .tar file (v1.6) the transfer completes, I get the spinning circle, then the failed message.  I noticed the "RAM" meter at the top of the GUI goes to about 53% during the process.

 

There is no config loaded into the unit, and therefore it doesn't have internet access to go download the image on its own through the CLI.

 

Am I doing something wrong?  Is there not enough memory in these units to even load the latest firmware out of the box?

New Member
Posts: 18
Registered: ‎01-10-2013

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

I went ahead and downloaded the 1.6 firmware from the website, and sent the firmware to the device with SFTP then performed the update from the CLI, pointing to the file stored locally on the device.  The update failed because of an invalid checksum.

 

So, I downloaded v1.5 from the web and sent that to the device.  The update failed because of an invalid checksum.

 

I was able to download v1.4 from the website and loaded that without the checksum error.

 

Is there someplace I can download these firmware files with valid checksums?

 

 

Veteran Member
Posts: 4,076
Registered: ‎05-15-2014
Kudos: 1523
Solutions: 278

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

[ Edited ]

CRC checksum error means that the file you have is corrupted. Either the download from UBNT site got corrupted/cut short or the upload to the router got corrupted/cut short.

 

...re-download / re-upload and pay attention to the sizes and make sure the file is complete.

 

Here's link to the final 1.6.0 http://dl.ubnt.com/firmwares/edgemax/v1.6.0/ER-e100.v1.6.0.4716006.tar ... the size is 73584640 bytes.

 

 

New Member
Posts: 18
Registered: ‎01-10-2013

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

Thanks for the reply.

 

That is the URL I was using to download the latest firmware image, and the size matches what you have indicated.  I'm able to open the .tar with 7-zip and look around inside without any checksum errors.  I transfered the file to the device over SFTP using FileZilla, and the file size matches once it's on the device.

 

I feel like the download is the complete file and has not been corrupted.

 

firmware properties.JPG

after transfer.JPG

 

Any other ideas?  Can someone confirm that they can download that file, place it on their device, and perform a firmware upgrade with it?

 

Thanks.

Veteran Member
Posts: 4,076
Registered: ‎05-15-2014
Kudos: 1523
Solutions: 278

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

Yes, it's complete. Now upload it to ERL and double check that it gets complete there. Then you upgrade.

New Member
Posts: 18
Registered: ‎01-10-2013

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

That's what the second image is above.  That's FileZilla looking at the transfered file sitting on the device, with the correct filesize.

Veteran Member
Posts: 4,076
Registered: ‎05-15-2014
Kudos: 1523
Solutions: 278

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

Login through the CLI, apply the uploaded image and capture the CLI output and post back.

SuperUser
Posts: 20,402
Registered: ‎09-17-2013
Kudos: 5136
Solutions: 1458

Re: Edgerouter LITE ERLite-3 - Upgrade EdgeOS firmware failed

[ Edited ]

is filezilla running in forced-binary mode (auto-mode causes me problems all the time)?

 

Also, have you tried the web UI?

 

or gotten the checksum of the patch?

 

Here's the generated checksums I have from the files I downloaded :

 

$ md5sum ER-e100.v1.6.0.4716006.tar
a5ef1cbab849f0751698005e671ea5fb *ER-e100.v1.6.0.4716006.tar

 

$ cksum ER-e100.v1.6.0.4716006.tar
3665733785 73584640 ER-e100.v1.6.0.4716006.tar

 

(note that with cksum, the file size is the second parameter).