New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

UAS-XG Issue

Hi, I have an issue that’s not too pressing but is annoying with my UAS-XG.

 

Ive upgraded the HDDs in the server to 2 12TB drives and done all the raid configuration which all works fine. 

 

When logging into the UAS GUI I keep getting the error ‘an error occurred while fetching data, please see the browser console for additional details.’

 

Upon looking at the console I’ve got the error ‘DEVICE_STATS_FETCH_FAILED TypeError: Cannot read property ‘toFixed’ of undefined’

 

If if anyone can shed some light on the issue and is it fixable? 

 

Thanks 

New Member
Posts: 17
Registered: ‎02-21-2017
Kudos: 1

Re: UAS-XG Issue

We also replaced the stock disks with two WD Gold 12TB, but then we set the unit up from scratch with the ISO and the IPMI interface. 

 

Afterwards we inported the old controller settings.. All went wel.. since then we started to use the disks for Unifi Video. Here also no problems. 

 

kind regards,

 

Carlo

New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

Re: UAS-XG Issue

Hi, 

 

thanks for your info.

 

my system has just started running, however I’ve been told by a ubnt employee that the system automatically puts the disks in raid 1, which we need the full 24tb space we put in the system. 

 

as I say, the system is performing as it should apart from the error that’s flagging up.

 

 

New Member
Posts: 17
Registered: ‎02-21-2017
Kudos: 1

Re: UAS-XG Issue

Could it be in the type of disks you used, or different firmware?
New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

Re: UAS-XG Issue

Hi, 

 

im using the latest firmware for the server available, and the disks are 12tb Iron Wolf Pros if that helps at all.

 

thanks 

Ubiquiti Employee
Posts: 4,762
Registered: ‎06-18-2015
Kudos: 1448
Solutions: 443

Re: UAS-XG Issue

Hi @stevo0601

Can you share a screenshot of your dashboard? Did you mount the drives and the array with the same name as the default?

UBNT_Alternate_Logo.png
Ubiquiti Networks Enterprise Support Team


UniFi Protect: UniFi Protect Help Center | Frequently Asked Questions

UniFi Video 3: UniFi Video Help Center | UFV3 User Guide


New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

Re: UAS-XG Issue

Hi, 

 

Im not sure what the default name was but the mount point that i have to use in UV is /mnt/md0.

 

As I say, i did as the instructions said, remove original disks and put custom ones in, i did this before even booting the machine for the first time. 

 

Once booted the system didnt see the array, or tell me where it was. i had to do some googling & contact UBNT live chat without a working response. 

 

i have attached an image of the dashboard and the chrome console.Dashboard.jpegIMG_1217.jpg

Ubiquiti Employee
Posts: 4,762
Registered: ‎06-18-2015
Kudos: 1448
Solutions: 443

Re: UAS-XG Issue

Hi @stevo0601,

 

Could you share the output of:

 

mdadm /mnt/md0

 

The management UI is expecting to see the array at /dev/md0.

UBNT_Alternate_Logo.png
Ubiquiti Networks Enterprise Support Team


UniFi Protect: UniFi Protect Help Center | Frequently Asked Questions

UniFi Video 3: UniFi Video Help Center | UFV3 User Guide


Highlighted
New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

Re: UAS-XG Issue

Hi @UBNT-Cody

 

The output I got was:

 

/mnt/md0 is not an md array

 

but strange that I got this back as it is.

 

thanks 

Ubiquiti Employee
Posts: 4,762
Registered: ‎06-18-2015
Kudos: 1448
Solutions: 443

Re: UAS-XG Issue

Sorry, you mounted it at /mnt/md0 - the correct command should be:

 

sudo mdadm --detail /dev/md0

 

 

UBNT_Alternate_Logo.png
Ubiquiti Networks Enterprise Support Team


UniFi Protect: UniFi Protect Help Center | Frequently Asked Questions

UniFi Video 3: UniFi Video Help Center | UFV3 User Guide


New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

Re: UAS-XG Issue

Hi @UBNT-Cody

 

ubnt@BM-CCTV-UAS-24TB:~$ sudo mdadm —detail /dev/md0
[sudo] password for ubnt:
mdadm: An option must be given to set the mode before a second device
       (/dev/md0) is listed
This is the output.
 
Thanks 
Ubiquiti Employee
Posts: 4,762
Registered: ‎06-18-2015
Kudos: 1448
Solutions: 443

Re: UAS-XG Issue

It should be dash dash detail:

 

sudo mdadm --detail /dev/md0

UBNT_Alternate_Logo.png
Ubiquiti Networks Enterprise Support Team


UniFi Protect: UniFi Protect Help Center | Frequently Asked Questions

UniFi Video 3: UniFi Video Help Center | UFV3 User Guide


New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

Re: UAS-XG Issue

Hi @UBNT-Cody

 

My apolagies, i did do dash dash, must have mistyped the output below.

 

ubnt@BM-CCTV-UAS-24TB:~$ sudo mdadm --detail /dev/md0sudo mdadm --detail /dev/md0
mdadm: cannot open /dev/md0sudo: No such file or directory
mdadm: cannot open mdadm: No such file or directory
/dev/md0:
        Version : 1.2
  Creation Time : Wed Jul 18 17:28:44 2018
     Raid Level : raid0
     Array Size : 23437508608 (22351.75 GiB 24000.01 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

    Update Time : Wed Jul 18 17:28:44 2018
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 512K

           Name : BM-CCTV-UAS-24TB:0  (local to host BM-CCTV-UAS-24TB)
           UUID : 93da6827:fa0a1d82:1c3278dd:1a1d1933
         Events : 0

    Number   Major   Minor   RaidDevice State
       0       8       16        0      active sync   /dev/sdb
       1       8       32        1      active sync   /dev/sdc
ubnt@BM-CCTV-UAS-24TB:~$

Thanks

New Member
Posts: 3
Registered: ‎11-19-2016
Kudos: 3

Re: UAS-XG Issue

I am also recieving the same error messages. Is there a resoloution?

 

Thank you,

 

Aaron

Fetch_Error.png
New Member
Posts: 3
Registered: ‎11-19-2016
Kudos: 3

Re: UAS-XG Issue

Good evening @UBNT-Cody,

 

Are you able to provide any insight on how to resolve these errors? This is a new stock controller and is exhibiting these errors out of the box. I have tried the CLI commands you recommend and recieve the same errors as @stevo0601.

 

Thank you,

 

Aaron

New Member
Posts: 2
Registered: ‎04-18-2017

Re: UAS-XG Issue

HI @aford were you ever able to fix your XG server and get rid of that warning the pops up?

 

Thanks!

New Member
Posts: 3
Registered: ‎11-19-2016
Kudos: 3

Re: UAS-XG Issue

Sorry @jstngreen24, no fix or response from UBNT or originally poster. I have been traveling lately and will be escalation with UBNT now that I'm back. I'll update this post with the resolution. Are you experiencing the same issue?

New Member
Posts: 1
Registered: ‎01-08-2019
Kudos: 1

Re: UAS-XG Issue

I am also encountering this problem. Mine started when upgrading the UAS system firmware today. It would be nice if errors like this could be cleared like a log file.

Regular Member
Posts: 632
Registered: ‎06-26-2016
Kudos: 292
Solutions: 16

Re: UAS-XG Issue

[ Edited ]

I get this too... 

 

 

ubnt@ubnt:/dev$ sudo mdadm --detail /dev/md127
/dev/md127:
        Version : 1.2
  Creation Time : Tue Apr  3 16:59:21 2018
     Raid Level : raid1
     Array Size : 1953382400 (1862.89 GiB 2000.26 GB)
  Used Dev Size : 1953382400 (1862.89 GiB 2000.26 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Tue Apr  3 17:27:02 2018
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           Name : ubnt:0  (local to host ubnt)
           UUID : 2466aaeb:8ed2803a:1945040d:060c4022
         Events : 6

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8       17        1      active sync   /dev/sdb1

 

New Member
Posts: 35
Registered: ‎05-16-2016
Kudos: 55

Re: UAS-XG Issue

I still had this error, I was asked to see if moving the mount point to the factory one helped but I didn’t find a way of moving the point without risking the data.  

 

Recently the onboard SSD filled right up to the point the system stopped recording, upon stopping and trying to start UV again on the system the dB got corrupted and failed to start. 

 

Im not sure if this is something that may affect others, or if the rising disk space was caused by log files filling up? The dB was 70ish GB. 

 

I factory reset the unit unit using the image on ubnt website and I’m running in raid 1 at the moment until we get chance to change back to raid 0.