Delete missing support packages / package

About this task

Due to updates or restart of services, support packages may not be created yet, but still have an existing entry.

Applies to

All BVQ versions

Procedure

  • Stop the BVQ-Server service
 Service




  • move to the specific directory
C:\ProgramData\SVA\BVQ\bvq-server\data\support-zip


  • delete support file
 Service



  • Connect to the mongo shell (use your host and specific credentials)
C:\>mongo --host IPLOCALHOST --authenticationDatabase admin -u bvq -p P@ssw0rd
MongoDB shell version v4.4.3
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb



  • Show all DBs
> show dbs
TTTM   33.027GB
TTCV     2.237GB
SVAS     0.396GB
admin   0.000GB
bvq   103.109GB
config   0.000GB
local     0.000GB



  • Switch to your specific DB
> use bvq
switched to db bvq



  • Check for your support package
> db.support_packages.find({})
{ "_id" : "bvq-support_full_20230104140307", "status" : "COPYING", "scannerConfigurationNames" : [ "VC-LABDA", "vc-nsx-schulung" ], "messages" : [ ], "created" : ISODate("2023-01-04T13:03:07.122Z"), "requiredSpace" : 529553981.5, "estimatedSize" : 71527071.50000001, "finalSize" : NumberLong(0), "progress" : 0.09674267100977199, "packageType" : "SCAN_DATA_PACKAGE", "_class" : "de.sva.bvq.web.support.model.SupportPackage" }



  • Delete the support package entry
> db.support_packages.deleteMany({})
{ "acknowledged" : true, "deletedCount" : 1 }



  • Start the service again
 Service




  • Connect to your BVQ
 Service