Reply
New Member
Posts: 4
Registered: ‎01-18-2017

Error in upgrading to latest firmware

Hi.  I'm trying to upload to the latest firmware, but I am running into the following error.

 

ubnt@UBNT-gateway:~$ add system image https://dl.ubnt.com/firmwares/edgemax/v1.10.x/ER-e100.v1.10.7.5127970.tar
Trying to get upgrade file from https://dl.ubnt.com/firmwares/edgemax/v1.10.x/ER-e100.v1.10.7.5127970.tar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 82.7M 100 82.7M 0 0 4603k 0 0:00:18 0:00:18 --:--:-- 4944k
Download succeeded
Checking upgrade image...Done
Preparing to upgrade...Done
Clearing directory /var/lib/apt (4.0K)...Done
Clearing directory /var/cache/apt (4.0K)...Done
Copying upgrade image...Done
Removing old image...Failed to remove old image

 

ubnt@UBNT-gateway:~$ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 1.6G 112.2M 1.4G 7% /root.dev
aufs 1.6G 112.2M 1.4G 7% /
tmpfs 242.0M 384.0K 241.6M 0% /run
tmpfs 242.0M 384.0K 241.6M 0% /run
tmpfs 242.0M 64.0K 241.9M 0% /var/log
tmpfs 242.0M 0 242.0M 0% /dev/shm
tmpfs 242.0M 12.0K 241.9M 0% /tmp
none 242.0M 984.0K 241.0M 0% /opt/vyatta/config
df: /run/netns/zebosfib0: Permission denied
df: /run/netns/zebosfib1: Permission denied

New Member
Posts: 19
Registered: ‎07-02-2013

Re: Error in upgrading to latest firmware

I also had problems that I solved by following this one:

https://help.ubnt.com/hc/en-us/articles/205146110-EdgeRouter-Upgrading-EdgeOS-Firmware

 

New Member
Posts: 4
Registered: ‎01-18-2017

Re: Error in upgrading to latest firmware

I found that article a bit ago, but doesn't seem to solve my issue.

 

ubnt@UBNT-gateway:~$ sudo df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 1.6G 112.5M 1.4G 7% /root.dev
aufs 1.6G 112.5M 1.4G 7% /
tmpfs 242.0M 396.0K 241.6M 0% /run
tmpfs 242.0M 396.0K 241.6M 0% /run
tmpfs 242.0M 116.0K 241.8M 0% /var/log
tmpfs 242.0M 0 242.0M 0% /dev/shm
tmpfs 242.0M 12.0K 241.9M 0% /tmp
none 242.0M 984.0K 241.0M 0% /opt/vyatta/config

 


ubnt@UBNT-gateway:~$ show system image storage
Image name Read-Only Read-Write Total
------------------------------ ------------ ------------ ------------
v1.10.6.5112654.180809.0637 78668 1156 79824

Veteran Member
Posts: 7,043
Registered: ‎03-24-2016
Kudos: 1822
Solutions: 803

Re: Error in upgrading to latest firmware

Upgrade fails on removing backup image, try to remove it manually:

Spoiler
show system image
# if previous command shows 2 images,
delete system image
New Member
Posts: 4
Registered: ‎01-18-2017

Re: Error in upgrading to latest firmware

There's only 1 system image.  Not sure how it's suppose to delete a backup image that doesn't exist.  Is there a way to force adding the new system image?

 

ubnt@UBNT-gateway:~$ show system image
The system currently has the following image(s) installed:

v1.10.6.5112654.180809.0637 (running image) (default boot)

 

 

ubnt@UBNT-gateway:~$ delete system image
The system currently has the following image(s) installed:

v1.10.6.5112654.180809.0637 (running image) (default boot)

There is no image to delete.
ubnt@UBNT-gateway:~$

New Member
Posts: 4
Registered: ‎01-18-2017

Re: Error in upgrading to latest firmware

Further investigation appears that I may have some file coruption.  I have access to the CLI, is there a way that I can fix this with that access, or do I have to console in?

 

Oct 15 20:48:14 UBNT-gateway kernel: EXT3-fs (sda2): warning: mounting fs with errors, running e2fsck is recommended
Oct 15 20:48:14 UBNT-gateway kernel: Algorithmics/MIPS FPU Emulator v1.5
Oct 15 20:48:14 UBNT-gateway kernel: ubnt_platform: module license 'Proprietary' taints kernel.
Oct 15 20:48:14 UBNT-gateway kernel: Disabling lock debugging due to kernel taint
Oct 15 20:48:14 UBNT-gateway kernel: octeon-ethernet 2.0
Oct 15 20:48:14 UBNT-gateway kernel: Node 0 Interface 0 has 3 ports (RGMII)
Oct 15 20:48:14 UBNT-gateway kernel: EXT3-fs error (device sda2): ext3_lookup: deleted inode referenced: 68802
Oct 15 20:48:14 UBNT-gateway kernel: EXT3-fs error (device sda2): ext3_lookup: deleted inode referenced: 68812
Oct 15 20:48:14 UBNT-gateway kernel: last message repeated 3 times

Reply