[Fixed in 1.4.0] UBNT Configuration file not compatible

Unimus support forum
Post Reply
avious2
Posts: 26
Joined: Thu May 18, 2017 10:10 pm

Wed Oct 25, 2017 5:46 pm

Hi, I had something strange happen when I tried to upload a saved config from a RA5AC prism radio.

The Prism rocket is running 8.4.0 and the backup was made while running this version of firmware.

I downloaded the file backup file from Unimus that was made from the same 8.4.0 firmware then I renamed it to XC-(mac address here).cfg and tried to upload it to the rocket and it popped up a message saying:
"Warning
Uploaded configuration file is not compatible with current firmware version"

But it was made with the exact firmware version.

Am I missing something I have to do to get the backup file compatible to re-upload to the Prism rockets?

Sorry I forgot to mention I'm running the newest version of Unimus 1.3.0 on Windows 10 X64

Thanks.
MHammett
Posts: 19
Joined: Sat Jun 25, 2016 2:58 pm

Wed Oct 25, 2017 5:54 pm

Same hardware platform, same firmware, etc.?

How does the Unimus backup differ from a backup done through the device?
avious2
Posts: 26
Joined: Thu May 18, 2017 10:10 pm

Wed Oct 25, 2017 7:33 pm

Yes, it's the same radio.

I figured it out.

This is definitely a problem that needs to be fixed in Unimus.

The backup made from the web interface contains a huge section at the beginning that the Unimus backup file is missing:
### PART ###
## 1508959081595
##XC.v8.4.0
#board.sysid=0xe7e5
#board.cpurevision=0x00001130
#board.fcc_id=SWX-R5ACPRISM
#board.name=Rocket 5AC Prism
#board.shortname=R5C
#board.model=R5AC-PRISM
#board.timestamp=1476080214
#board.bom=13-00406-13
#board.netmodes=3
#board.hwaddr=802AA8E8506B
#board.reboot=50
#board.upgrade=150
#board.phycount=1
#board.phy.1.maxmtu=2024
#board.fcc_unii_activated=1
#board.fcc_unii_switchable=1
#board.required_fw_version=459012
#radio.1.name=
#radio.1.shortname=
#radio.1.bus=pci
#radio.1.subsystemid=0xe7e5
#radio.1.subvendorid=0x0777
#radio.1.txpower.max=27
#radio.1.txpower.min=-4
#radio.1.txpower.offset=4
#radio.1.ieee_modes=21
#radio.1.antennas=15
#radio.1.def_antenna=15
#radio.1.antenna.1.id=1
#radio.1.antenna.1.name=AMO-5G10
#radio.1.antenna.1.gain=10
#radio.1.antenna.1.builtin=0
#radio.1.antenna.1.chains=2
#radio.1.antenna.1.chain.1.id=0
#radio.1.antenna.1.chain.1.name=Vertical
#radio.1.antenna.1.chain.2.id=1
#radio.1.antenna.1.chain.2.name=Horizontal
#radio.1.antenna.2.id=2
#radio.1.antenna.2.name=AMO-5G13
#radio.1.antenna.2.gain=13
#radio.1.antenna.2.builtin=0
#radio.1.antenna.2.chains=2
#radio.1.antenna.2.chain.1.id=0
#radio.1.antenna.2.chain.1.name=Vertical
#radio.1.antenna.2.chain.2.id=1
#radio.1.antenna.2.chain.2.name=Horizontal
#radio.1.antenna.3.id=3
#radio.1.antenna.3.name=AM-5G16-120
#radio.1.antenna.3.gain=16
#radio.1.antenna.3.builtin=0
#radio.1.antenna.3.chains=2
#radio.1.antenna.3.chain.1.id=0
#radio.1.antenna.3.chain.1.name=Vertical
#radio.1.antenna.3.chain.2.id=1
#radio.1.antenna.3.chain.2.name=Horizontal
#radio.1.antenna.4.id=4
#radio.1.antenna.4.name=AM-5G17-90
#radio.1.antenna.4.gain=17
#radio.1.antenna.4.builtin=0
#radio.1.antenna.4.chains=2
#radio.1.antenna.4.chain.1.id=0
#radio.1.antenna.4.chain.1.name=Vertical
#radio.1.antenna.4.chain.2.id=1
#radio.1.antenna.4.chain.2.name=Horizontal
#radio.1.antenna.5.id=5
#radio.1.antenna.5.name=AM-M-V5G-Ti
#radio.1.antenna.5.gain=17
#radio.1.antenna.5.builtin=0
#radio.1.antenna.5.chains=2
#radio.1.antenna.5.chain.1.id=0
#radio.1.antenna.5.chain.1.name=Vertical
#radio.1.antenna.5.chain.2.id=1
#radio.1.antenna.5.chain.2.name=Horizontal
#radio.1.antenna.6.id=6
#radio.1.antenna.6.name=AM-5G19-120
#radio.1.antenna.6.gain=19
#radio.1.antenna.6.builtin=0
#radio.1.antenna.6.chains=2
#radio.1.antenna.6.chain.1.id=0
#radio.1.antenna.6.chain.1.name=Vertical
#radio.1.antenna.6.chain.2.id=1
#radio.1.antenna.6.chain.2.name=Horizontal
#radio.1.antenna.7.id=7
#radio.1.antenna.7.name=AM-5G20-90
#radio.1.antenna.7.gain=20
#radio.1.antenna.7.builtin=0
#radio.1.antenna.7.chains=2
#radio.1.antenna.7.chain.1.id=0
#radio.1.antenna.7.chain.1.name=Vertical
#radio.1.antenna.7.chain.2.id=1
#radio.1.antenna.7.chain.2.name=Horizontal
#radio.1.antenna.8.id=8
#radio.1.antenna.8.name=AM-V5G-Ti
#radio.1.antenna.8.gain=21
#radio.1.antenna.8.builtin=0
#radio.1.antenna.8.chains=2
#radio.1.antenna.8.chain.1.id=0
#radio.1.antenna.8.chain.1.name=Vertical
#radio.1.antenna.8.chain.2.id=1
#radio.1.antenna.8.chain.2.name=Horizontal
#radio.1.antenna.9.id=9
#radio.1.antenna.9.name=AM-5AC21-60
#radio.1.antenna.9.gain=21
#radio.1.antenna.9.builtin=0
#radio.1.antenna.9.chains=2
#radio.1.antenna.9.chain.1.id=0
#radio.1.antenna.9.chain.1.name=Vertical
#radio.1.antenna.9.chain.2.id=1
#radio.1.antenna.9.chain.2.name=Horizontal
#radio.1.antenna.10.id=10
#radio.1.antenna.10.name=AM-5AC22-45
#radio.1.antenna.10.gain=22
#radio.1.antenna.10.builtin=0
#radio.1.antenna.10.chains=2
#radio.1.antenna.10.chain.1.id=0
#radio.1.antenna.10.chain.1.name=Vertical
#radio.1.antenna.10.chain.2.id=1
#radio.1.antenna.10.chain.2.name=Horizontal
#radio.1.antenna.11.id=11
#radio.1.antenna.11.name=AP-5AC-90-HD
#radio.1.antenna.11.gain=22
#radio.1.antenna.11.builtin=0
#radio.1.antenna.11.chains=2
#radio.1.antenna.11.chain.1.id=0
#radio.1.antenna.11.chain.1.name=Vertical
#radio.1.antenna.11.chain.2.id=1
#radio.1.antenna.11.chain.2.name=Horizontal
#radio.1.antenna.12.id=12
#radio.1.antenna.12.name=RD-5G-30
#radio.1.antenna.12.gain=30
#radio.1.antenna.12.builtin=0
#radio.1.antenna.12.chains=2
#radio.1.antenna.12.chain.1.id=0
#radio.1.antenna.12.chain.1.name=Vertical
#radio.1.antenna.12.chain.2.id=1
#radio.1.antenna.12.chain.2.name=Horizontal
#radio.1.antenna.13.id=13
#radio.1.antenna.13.name= RD-5G30-LW
#radio.1.antenna.13.gain=30
#radio.1.antenna.13.builtin=0
#radio.1.antenna.13.chains=2
#radio.1.antenna.13.chain.1.id=0
#radio.1.antenna.13.chain.1.name=Vertical
#radio.1.antenna.13.chain.2.id=1
#radio.1.antenna.13.chain.2.name=Horizontal
#radio.1.antenna.14.id=14
#radio.1.antenna.14.name=RD-5G31-AC
#radio.1.antenna.14.gain=31
#radio.1.antenna.14.builtin=0
#radio.1.antenna.14.chains=2
#radio.1.antenna.14.chain.1.id=0
#radio.1.antenna.14.chain.1.name=Vertical
#radio.1.antenna.14.chain.2.id=1
#radio.1.antenna.14.chain.2.name=Horizontal
#radio.1.antenna.15.id=15
#radio.1.antenna.15.name=RD-5G-34
#radio.1.antenna.15.gain=34
#radio.1.antenna.15.builtin=0
#radio.1.antenna.15.chains=2
#radio.1.antenna.15.chain.1.id=0
#radio.1.antenna.15.chain.1.name=Vertical
#radio.1.antenna.15.chain.2.id=1
#radio.1.antenna.15.chain.2.name=Horizontal
#radio.1.caps=4242669588
#radio.1.caps2=0
#radio.1.eirp.limit=1
#radio.1.regdomain_flags="fcc_new_grant,bom=0x1960d,ts=0x57fb3256,prism"
#radio.1.ptp_only=1
#radio.1.ptp_sta=1
#radio.1.ptmp_only=1
#radio.1.ptmp_sta=1
#radio.1.distance_limit_km=0
#radio.1.chanbw="10,20,29,30,40,50,59,60,80"
#radio.2.name=
#radio.2.shortname=
#radio.2.bus=ahb
#radio.2.subsystemid=0xe7e5
#radio.2.subvendorid=0x0777
#radio.2.txpower.max=19
#radio.2.txpower.min=0
#radio.2.txpower.offset=0
#radio.2.ieee_modes=5
#radio.2.antennas=0
#radio.2.def_antenna=0
#radio.2.caps=20
#radio.2.caps2=0
#radio.2.eirp.limit=0
#radio.2.regdomain_flags="bom=0x1960d,ts=0x57fb3256"
#radio.2.web_exclude=1
#radio.2.distance_limit_km=0
#radio.2.chanbw="5,10,20,40,80"
#feature.rssi.leds=4
#feature.g2=0
#feature.gps=1
#feature.gps.leds=1
#feature.ext_reset=1
#feature.poe_passthrough=0
#ac015450a351d2c36db939cff22560b5
### PART ###

Exactly like that with the hash marks.

If I copy that section from the file made in the web interface and paste it at the beginning of the file that Unimus made, the radio will accept it and it no longer pops up the error message I showed in the first post.

Without this code in there the radio will not accept the file made by Unimus.
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Wed Oct 25, 2017 7:39 pm

Unimus takes the AirOS backup from '/tmp/running.cfg', or '/var/tmp/system.cfg' if the first one is not available.

Could you please check if the missing part is present if you SSH into the device and do 'cat /tmp/running.cfg'?

Thanks!
avious2
Posts: 26
Joined: Thu May 18, 2017 10:10 pm

Wed Oct 25, 2017 7:56 pm

No, the missing part is not there with the command you gave me.
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Wed Oct 25, 2017 8:00 pm

Ok, so it seems that AirOS 8 gives a different backup over CLI and HTTP.
I will do some research and check if there is anything we can do about it.

Sorry this caused you issues :(
avious2
Posts: 26
Joined: Thu May 18, 2017 10:10 pm

Wed Oct 25, 2017 8:05 pm

No problem,

Thanks for looking into it.

I'm wondering if it has something to do with Ubiquiti changing to signed firmware now because of all the #board sections.

But yes, the Unimus backups can still be used with a manual reconfigure by reading the files but the radio will not accept it as an upload without that ### PART ### section I posted above.
avious2
Posts: 26
Joined: Thu May 18, 2017 10:10 pm

Wed Oct 25, 2017 9:12 pm

Hey, just another quick update.

I checked for this problem on my AirFiber radios and it's the same with those too.

They are running V4.0 firmware

The backup file from the web interface has a ### PART ### section at the beginning that you have to paste into the Unimus backup file before the radio will accept the file.
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Mon Oct 30, 2017 2:46 pm

With major help from MHammett, we found a way to get the backups properly with the ### PART ### section.
Starting with 1.4.0, Unimus will retrieve them that way.

For older backups, as you pointed out, adding the ### PART ### section to the backup manually is required to properly restore them.
avious2
Posts: 26
Joined: Thu May 18, 2017 10:10 pm

Mon Nov 06, 2017 7:02 pm

Great News! Thank you for continuing to improve this great software.
Post Reply