Categories
Knowledge Support Cloudvue Cloudvue Cameras Support Categories Products

Cloudvue Manager C2C Disk Space

Description

The disk space section in Cloudvue Manager for C2C devices returns a listing of the partitions on the camera and the microSD card.
It is equivalent to running the Linux command df -h

SD Card Status

Green – Healthy

Ideally the SD card will show a status of green with a message of SD Card is Healthy. Also the Use% for /dev/sdcard1 mounted as /media/sd1 should be at or below 90%.

Red – No SD Card

If a microSD card has not been been inserted into the camera then the status will be red and the SD Card Message will say “No SD Card”. In addition there will not be a line for the mount point /media/sd1 listed in the disk space results.

Red – SD Card is not formatted correctly. Format it as vfat

While in this state the SD Card will not mount and video will not record to the SD Card. Verify the C2C is running the most recent version of Cloudvue Software and if not update. Reboot the device and check the status. If the issue persists then check the camera firmware version to see if an update is available. Update the cameras firmware.

Red – SD Card Unsupported

A status of Unsupported means that Health Check cannot read the status of the microSD Card.  This is typically because the card is either not manufactured by Western Digital or is a model which is not supported by Health Check.  It is not a statement as to the overall functionality of the SD card but if Health Check can check the status of the card.  Further investigation is needed to figure out if the card is working normally. 

Verification

To determine if the SD card is working normally.

  • Update the C2C device to Cloudvue Software version 23.09.x or higher
  • Run Health Check
  • Check that the SD Card Working section shows “true”
  • Check that the SD Formatted section shows “OK” /home/smartvue/smartvue_config/sd_formated:OK
  • Check that the SD Ownership section has an entry similar to drwxr-xr-x 4 smartvue sdcard 16384 Dec 31 1969 sd1
  • If these all check out then it is safe to assume the Unsupported message is because they are either using a micoSD card from a different manufacturer or it is a model of Western Digital that we are not familiar with.
Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories

Troubleshooting 100% Smartvue Partition Disk Space Usage

Description 

The Disk Space Use% for the partition mounted as /smartvue should not reach 100%.  If it does odd behavior too include loss of live or recorded video may occur.  Further troubleshooting should help decide if the issue is related to a failed or failing hard drive or a corrupted database.

Product 

  • Cloudvue Gateway

Steps to Reproduce 

  • Access the Cloudvue Gateway via Cloudvue Manager
  • Expand Disk Space
  • Check the Use% for the partition Mounted on /smartvue

Expected Results 

smartvue Use% should be less than 100%

Actual Results 

smartvue Use% is 100%

Solution

Escalate to L3 for further troubleshooting or to setup a repair RMA. 

Troubleshooting

Attempt to gain SSH access to the NVR either by tunneling or arranging a remote session for local ssh access.  Review the syslogs to see if they give any clues.

Checking  syslog for errors

$ cd /var/log/

$ ls -alh syslog*

-rw-r—– 1 syslog adm 1.5K Aug 1 08:05 syslog

-rw-r—– 1 syslog adm 6.7K Aug 1 06:25 syslog.1

-rw-r—– 1 syslog adm 1004 Jul 31 06:25 syslog.2.gz

-rw-r—– 1 syslog adm 40K Jul 30 06:25 syslog.3.gz

-rw-r—– 1 syslog adm 781 Jul 28 06:25 syslog.4.gz

-rw-r—– 1 syslog adm 610 Jul 27 06:25 syslog.5.gz

-rw-r—– 1 syslog adm 898 Jul 26 06:25 syslog.6.gz

-rw-r—– 1 syslog adm 545 Jul 25 06:25 syslog.7.gz

$ grep -i “error” syslog*

$ zgrep -i “error” syslog*

Checking MySQL error logs

$ cd /var/log/mysql/

$ ls -alh

total 36K

drwxr-s— 2 mysql adm 4.0K Aug 8 06:25 .

drwxrwxr-x 11 root syslog 4.0K Aug 8 06:25 ..

-rw-r—– 1 mysql adm 0 Aug 8 06:25 error.log

-rw-r—– 1 mysql adm 20 Aug 7 06:25 error.log.1.gz

-rw-r—– 1 mysql adm 20 Aug 6 06:25 error.log.2.gz

-rw-r—– 1 mysql adm 676 Aug 6 00:01 error.log.3.gz

-rw-r—– 1 mysql adm 20 Aug 4 06:25 error.log.4.gz

-rw-r—– 1 mysql adm 20 Aug 3 06:25 error.log.5.gz

-rw-r—– 1 mysql adm 20 Aug 2 06:25 error.log.6.gz

-rw-r—– 1 mysql adm 20 Aug 1 06:25 error.log.7.gz

$ cat error.log

Hard Drive Failure

Check the sylog files in /var/log for entries similar to: 

Jul 27 22:40:30 SMV-K2 kernel: [1763274.568932] ata1.00: error: { UNC }

Jul 27 22:40:30 SMV-K2 kernel: [1763274.778400] sd 0:0:0:0: [sda] tag#1 Sense Key : Medium Error [current] [descriptor]

Jul 27 22:40:30 SMV-K2 kernel: [1763274.778403] sd 0:0:0:0: [sda] tag#1 Add. Sense: Unrecovered read error – auto reallocate failed

Jul 27 22:40:30 SMV-K2 kernel: [1763274.778408] blk_update_request: I/O error, dev sda, sector 3625797376

Jul 27 22:40:30 SMV-K2 kernel: [1763274.838298] res 41/40:08:00:47:1d/00:00:d8:00:00/00 Emask 0x409 (media error) <F>

Database Corruption

Look in the syslog files in /var/log for something similar to

Jul 13 07:17:32 SMV-K1 /etc/init.d/mysql[18996]: error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’

Also check the /var/log/mysql/error.log for entries simalr to:

230713 13:17:39 [ERROR] mysqld got signal 6 ;

Cloudvue Warranty

Cloudvue Gateway and C2C cameras have a 3-year warranty.  Check the build date in Cloudvue Manager to figure out if a repair RMA is In or Out of Warranty.

Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Corrupted cloud-config.json File 

Title

Corrupted cloud-config.json File 

Description 

Customer reported that they could no longer view live video in Cloudvue Web or Cloudvue Mobile App.  Additionally, Disk Space would not load.

Product 

  • C2G

Solution

We were able to use the failover port to gain SSH access to the Cloudvue Gateway and replace the corrupted configuration file

/smartvue/cloud-config.json

{"cloud":{"uri":"wss://messaging.cloudvue.com"}}