Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Cloudvue NVR Recorder Debugging

Description 

At times it can be useful to get nvr-recorder debug level output to troubleshoot recording issue on a Cloudvue Gateway.  This can be achieved using the smv-record debug engine.

Product 

  • Cloudvue Gateway

Solution

The basic steps are:

  • Stop the nvr-recorder service
  • Launch the smv-recorder directing the output to a text file
    • Allow smv-recorder to run for 30-60 seconds
    • Stop smv-recorder by pressing Ctrl+C
  • Start the nvr-recorder service
  • Review the output file for errors or warnings

Example

Tech Tip: 

Support Diagnostics also captures this information in the Smartvue-smv-record.log section.

Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Axis P3353 Cameras Not Recording on a Cloudvue Gateway

Title

Axis P3353 Cameras Not Recording on a Cloudvue Gateway

Description 

It has been observed that while live images are visible the Axis P3353 is not recording.

Product 

  • CVG
  • Axis P3353

Steps to Reproduce 

  • Add an Axis P3353 camera as using Device Model (Axis-Camera)
  • Confirm Live video can be viewed
  • Attempt to playback archived video

Expected Results 

  • Archived video is retrieved and plays

Actual Results 

  • Archived video is not retrieved and a “no archive found ” message displays

Solution

  • Use the cameras Web GUI to check the Image Resolution settings (Setup > Video Stream > Image)
  • If the Resolution shows (not supported) the Cloudvue Software will fail to open the input and recording will fail
  • To correct, click the dropdown and select the highest available resolution 800×600
  • Repeat this change for each camera
  • Restart the Cloudvue Gateway
  • Verify that video is now being recorded
Resolution Not Supported
Valid Resolution
Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

“Camera Save Failed” Message When Adding Camera to Cloudvue Gateway

*** INTERNAL USE ***

Description

Getting a “Camera Save Failed” message when attempting to add a camera to a Cloudvue Gateway.

Product

  • Cloudvue Gateway 23.9.x

Steps to Reproduce

  • Scan to add the camera or add by IP Address

Expected Results

  • Camera adds and is visible in Cloudvue

Actual Results

  • Camera fails to add with the following Error
  • The error message in part contains the following.
"Error: Command failed: cameras initialize '--manufacturer=ONVIF' '--model=Generic ONVIF Camera' ...

Solution

  • This issue was due to an incomplete update.
  • The fix is to manually run the nvr-cameras installer script
smartvue@TCG16K1:/opt/smartvue/services/nvr-cameras$ ./installer.sh
Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories

Installing storcli on a Cloudvue Gateway

Description

In order to interact with the RAID controller on a Cloudvue Gateway you must first install storcli.

Products

  • Cloudvue Gateway with RAID Controllers

Steps

Verification

Confirm RAID Controller Present

Use lshw to determine if a RAID Controller is present. If no results are returned then there is no RAID controller detected, thus no reason to proceed.

sudo lshw | grep -i RAID

Verify storcli is Not Installed

The following commands can be used to determine if storcli has already been installed.

which storcli
sudo find / -name storcli


Install storcli

Prep and Download Package

Update Ubunutu and download storcli

sudo apt update
mkdir Downloads
cd Downloads/
wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.23.02_StorCLI.zip

Install unzip

Install unzip and unzip storcli

sudo apt install unzip
unzip 1.23.02_StorCLI.zip
unzip storcli_All_OS.zip
cd storcli_All_OS/

Install Alien and storcli

Alien is a command line package converter. It is used to convert the storcli rpm package downloaded earlier to a deb package allowing us to install storcli using dpkg.

sudo apt install alien
cd Linux
sudo alien --scripts storcli-1.23.02-1.noarch.rpm
sudo dpkg -i storcli_1.23.02-2_all.deb

Setup Symbolic Link

For ease of use find the storcli install and then create symbolic linking allowing the storcli to be launched from any folder.

sudo find / -name storcli
cd /opt/MegaRAID/storcli
sudo ln -s /opt/MegaRAID/storcli/storcli64 /usr/local/sbin/storcli

Verify Installation

Use the which and find commands to confirm that storcli is installed.

which storcli
/usr/local/sbin/storcli

sudo find / -name storcli
/usr/share/doc/storcli
/usr/local/sbin/storcli
/opt/MegaRAID/storcli


Common storcli Commands

While there are many storcli command the following are typically the most useful when analyzing the current state of the array and physical drives

Silencing the Alarm

sudo storcli /c0 set alarm=silence

Show an Overview

sudo storcli show all

Show Detailed info for a specific controller

sudo storcli /c0 show

Show Details For All Physical Drives

sudo storcli /c0 /eall /sall show all

Additional StorCLI Controller Commands can be found on Broadcoms website at https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/enterprise-storage-solutions/12gbs-megaraid-tri-mode-software/1-0/v11673309/v11673749.html

Categories
Knowledge Support Cloudvue Cloudvue Cameras Cloudvue Gateway Support Categories

Correcting Error: Cannot find module ‘@jci-Internal/acvs-cloudvue-onvif

Description

Prior  to the release of Cloudvue version 23.9 the error message “”Error:  Cannot find module ‘@jci-Internal/acvs-cloudvue-onvif’” could appear  when trying to add cameras to a Cloudvue Gateway.

This will be fixed with the release of 23.9.x.

Products 

  • Cloudvue Gateway v 22.9.x and older
  • Hikvision
  • Illustra
  • ONVIF

Steps to Reproduce 

Add a new camera either by scanning or by IP.

Expected Results 

Camera adds to the system.

Actual Results 

Camera does not add and displays the error “Error: Cannot find module ‘@jci-Internal/acvs-cloudvue-onvif”.

Solution

  • gain ssh access to the Cloudvue Gateway
  • replace “jci-internal” with “jci-products” in the files /opt/smartvue/services/nvr-cameras/onvif/index.js and /opt/smartvue/services/nvr-cameras/probe.js
  • This can be done by manually editing the files or with the following commands:
  • <code>sed -i ‘s/@jci-internal/@jci-products/g’ /opt/smartvue/services/nvr-cameras/onvif/index.js</code>
  • <code>sed -i ‘s/@jci-internal/@jci-products/g’ /opt/smartvue/services/nvr-cameras/probe.js</code>

Related to AES-711 “CV – Illustra IFS16-M10-BT03 fails to add to GW with error – cannot find module ‘@jci-internal/acvs-cloudvue-onvif'”

Categories
Knowledge Support Cloudvue Cloudvue Cameras Cloudvue Gateway Support Categories Products

Error: Cannot find module ‘@jci-Internal/acvs-cloudvue-onvif

Description

Prior to the release of Cloudvue version 23.9 the error message “”Error: Cannot find module ‘@jci-Internal/acvs-cloudvue-onvif'” could appear when trying to add cameras to a Cloudvue Gateway.

This will be fixed with the release of 23.9.

Products 

  • Cloudvue Gateway v 22.9.x and older
  • Hikvision
  • Illustra
  • ONVIF

Steps to Reproduce 

Add a new camera either by scanning or by IP.

Expected Results 

Camera adds to the system.

Actual Results 

Camera does not add and displays the error “Error: Cannot find module ‘@jci-Internal/acvs-cloudvue-onvif”.

Solution

  • Use Cloudvue Manager to Update the Device
  • If the version is 23.9.x or higher then try to add the camera again
  • Otherwise, contact Cloudvue Support, they will help you in getting a support case started which will be escalated to L3 support who can remotely resolve the issue. 
Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories

Manually Updating Smartvue Software on a Cloudvue Gateway

Description 

At times it may be advantageous to manually apply production versions of Smartvue on a Cloudvue Gateway.  Here are the instructions for obtaining, transferring, deploying, and verifying that software.

Product

  • Cloudvue Gateway

Solution

  • Download the latest smartvue production software version from the support portal HERE
  • Transfer  the file to the Cloudvue Gateway
    • Note: Typically MobaXterm is used to transfer the smartvue software package to a Cloudvue Gateway but rsync can also be used, see KB #18254 for more details.
  • Rename the file to SmartvueCurrent.tar.bz2
  • Extract the tar ball to root using the command sudo tar -xf SmartvueCurrent.tar.bz2 -C /
  • Change directory to /smartvue and run the update script ./update.sh
  • Reboot
  • Verify version

Example

Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Cloudvue Gateway Camera Integrations

Description 

Traditionally Cloudvue has focused on individual API integrations for cameras connecting to the Cloudvue Gateway. However, there are just too many camera manufactures to integrate with each. So, except for Illustra and Axis we rely on integrating with ONVIF Profile-S compliant cameras.

Customers that would like a specific API camera integration should submit their requests online at https://www.cloudvue.io/support-camera-integrations.  The request will be reviewed, and feedback provided.

Categories
Knowledge Support Cloudvue Cloudvue Cameras Cloudvue Gateway Cloudvue Access Control Support Categories Products

Cloudvue Release Process

Description 

The Cloudvue release process involves multiple components and regions.  In addition to the cloud software there are C2C, Cloudvue Manager, Cloudvue Mobile and Cloudvue Access.  Generally, software will release to NA first and if no issues are detected to EMEA and AU a few days later.  This pattern is followed for each component with C2C and Cloudvue Manager released together.   The complete release cycle can take several weeks before all components to be completed.

Cloud

Engineering must  supply a cab file containing all the cloud components such as OS, Database, anything that runs in the cloud to the SRE team for approval.  Once approved it is then implemented by region, replacing all current Cloud components. 

You can view the release summaries outlining what enhancements, fixes and integrations have been made by logging into Cloudvue Manager and going to https://dashboard.cloudvue.com/releases

Cloudvue Gateways

When available software updates can be manually applied to individual Cloudvue Gateways via Cloudvue Manager.  In addition, Engineering can automatically push update to Cloudvue Gateways using the release manager.    https://dashboard.cloudvue.com/releases/manage

C2C

Software updates for C2C devices are like Cloudvue Gateways with the exception that the updates are not automatically pushed.  C2C devices must be manually updated.

Cloudvue Mobile

Software updates for Cloudvue Mobile are made available through the appropriate play store.

Cloudvue Access

Cloudvue Access consists of the mobile application which can be updated through the appropriate play store and the KT-1 controller software and firmware which can manually be updated from the devices page in Cloudvue Manager.

Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Using Rsync to Transfer Files to a Cloudvue Gateway

Description 

At times it may be necessary to move files to a Cloudvue Gateway and while other tools such as SCP or MobaXterm can usually manage the job, rsync can track progress and resume after an interruption which can be particularly useful when transferring large files like the latest Cloudvue software or on slow or unstable connections.

Product

  • Cloudvue Gateway

Solution

The command structure is:

rsync -p -e ‘ssh -p [PORT]’ [PATH/FILENAME] smartvue@[IPADDRESS]:/home/smartvue
  • -P  option will force rsync to show a progress bar and keep partially transferred files. 
  • -e  option allows you to specify a different listening port on the remote host
  • ‘ssh – p [PORT]’  Specifies that ssh be used through a specific port number, use 7627 if local or whatever port was assigned in Cloudvue Manager when setting up the tunnel
  • [PATH/FILENAME]  The local path and  file name to be transferred
  • [IPADDRESS]  The IP address of the Cloudvue Gateway, the LAN IP if local or localhost when tunneling
  • :/home/smartvue  The smartvue home folder on Cloudvue Gateways

Note: When tunneling you must first establish the tunnel. You will then need to open a 2nd instance of WSL or terminal to run the rsync commands.

Examples

In the following examples a file named “22.9.2-smartvue-x64-production.tar.bz2” located in “/home/joakest/tunneling/” is transferred to the gateways smartvue users home folder.

Local Connection

$ rsync -P -e 'ssh -p 7627' /home/joakest/tunneling/22.9.2-smartvue-x64-production.tar.bz2 smartvue@192.168.1.180:/home/smartvue
smartvue@localhost's password:
22.9.2-smartvue-x64-production.tar.bz2
200,493,957 100% 390.99MB/s 0:00:00 (xfr#1, to-chk=0/1)
  • When prompted enter the SSH password found in Cloudvue Manager.
  • The progress of the file transfer will display, and the prompt will return when completed.

Tunnel Connection

$ rsync -P -e 'ssh -p 8346' 22.9.2-smartvue-x64-production.tar.bz2 smartvue@localhost:/home/smartvue
The authenticity of host '[localhost]:8346 ([127.0.0.1]:8346)' can't be established.
ED25519 key fingerprint is SHA256:nw6P03KIwsjiKfy2fkJJjRUSi4dJA6gwLyd7/+0Fz0Y.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

Warning: Permanently added '[localhost]:8346' (ED25519) to the list of known hosts.

smartvue@localhost's password:
22.9.2-smartvue-x64-production.tar.bz2
200,493,957 100% 249.79kB/s 0:13:03 (xfr#1, to-chk=0/1)
  • Since this is the first time a ssh connection has been established to this NVR from the local machine the authenticity warning will appear.
  • Continue by typing in “yes” and pressing enter.