Solved

Save user answers in the custom package is not available


Userlevel 4
Badge +15

Hello everyone, 

I am currently trying to create new packages for clients and would need to set certain parameters for this when creating them. Unfortunately, this time the checkbox for saving the parameters is grayed out. (See attachment.) Can someone enlighten me why this is the case ? Everything worked for the Linux agents. Now here with the Windows agents I have encountered this problem. 

icon

Best answer by thomas.S 14 July 2023, 10:53

View original

17 replies

Userlevel 4
Badge +11

Hello @thomas.S , I cant see any attachment with the thread. Could you please upload it again?

Best,

Rajiv Singal

Userlevel 4
Badge +15

Hello @Rajiv

oh yes. Sorry :-) 

 

Userlevel 2
Badge +4

@thomas.S 

Could you please suggest which Service Pack you are trying to install here.

If you will check the box [] Create Self- extracting executable option and move forward it will give you the option for save user options. Also, it will give you the one click installation .exe file.


 

Userlevel 4
Badge +15

Hello, 

We are using the Version 
Version=11.80.280.0
ServicePack=28
I also used the Checkbox “Create Self-extracting executable” but the needed Checkbox is still noch useable. 

 

 

Userlevel 2
Badge +4

@thomas.S

Before giving you further suggestion, could you please suggest if you are trying to create custom package from CS software cache ? or from some other client machine’s cache.

And were you using the same cache for creating custom package for Linux Agents ?
 

 

Userlevel 4
Badge +11

@thomas.S , to add on, In my lab, I was able to create a custom package from my client’s cache and was able to select “save users answer in custom package”. Probably the software cache you are using is not letting you select the option. If its same cache from commserve, please try the operation from any other Windows clients cache or create the package by downloading the software from the scratch.

Best,

Rajiv Singal

Userlevel 4
Badge +15

Hello @Rajiv ,

The creation of the packages has now worked. I used an installation package from ma.commvault.com. After using the software cache it was no problem. 
Now I have created the packages but I get an error when uploading the agents to the repo. Does anyone know what this error means ?

 

 

Userlevel 4
Badge +11

Hello @thomas.S ,

Please let me know what exact steps are you following and what exact error pops up? Can you click on the notification and look for any specific error?

Best,

Rajiv Singal

Userlevel 4
Badge +15

Hello @Rajiv

I do not get any further information via the popup. In which log file could I find more information about this problem ?

EDIT:
I just found something in the LogFile WebConsole.log
7340 3 07/11 19:06:26 10.114.97.164 1072  ERROR DownloadCenterHandler:?:? - Saving package failed with error One or more errors occurred. (The type initializer for 'com.commvault.biz.downloadCenter.PackageReadmePreview' threw an exception.)

Userlevel 4
Badge +11

Hello @thomas.S 

Could you please check DM2web.log and see if its pointing out to any issue? 

Also, try to perform the following:

  1. Try to restart the Data analytics service on the webserver
  2. Try the operation on a different browser on the web console server itself

Best,

Rajiv Singal

Userlevel 4
Badge +15

Hello @Rajiv

I went through the two points but without success. From the log file I could only find this information, which currently does not help me to find a solution.


10532 143   07/12 08:00:56 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 196   07/12 08:10:57 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 196   07/12 08:10:57 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 187   07/12 08:10:57 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 250   07/12 08:20:06 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 250   07/12 08:20:06 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 286   07/12 08:20:06 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 255   07/12 08:30:19 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 255   07/12 08:30:19 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 211   07/12 08:30:19 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 206   07/12 08:40:09 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 237   07/12 08:40:13 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 251   07/12 08:40:13 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 237   07/12 08:40:13 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's max threads is already set by another thread in the process. maxWorkerThreads = [1000], maxIOThreads = [1000], PID = [10532], ProcessName = [dotnet].
10532 107   07/12 08:40:39 ### EOS\AdminSer AnalyticsEngineImpl:FlattenServerMap() - Initialized AnalyticsEngines module with count status total server : 0, role : 0, cloud : 0
10532 107   07/12 08:40:39 ### EOS\AdminSer AnalyticsEngineImpl:RefreshEngineInfo - Refresh cache invoked by caller Download center Solr Configuration and message none
10532 107   07/12 08:40:39 ### EOS\AdminSer CloudUtils::CreateLegacyCloudV2 - ErrorCode : 12742, ErrorMsg : Invalid node clientId [0]
10532 107   07/12 08:40:39 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception Message [Object reference not set to an instance of an object.]
10532 107   07/12 08:40:39 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception Source [CVDM2WebDBCore]
10532 107   07/12 08:40:39 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception StackTrace [   at DM2WebDB.CommServ.csFastServer.getDownloadCenterCloud()]
10532 162   07/12 08:40:53 ### EOS\AdminSer AnalyticsEngineImpl:FlattenServerMap() - Initialized AnalyticsEngines module with count status total server : 0, role : 0, cloud : 0
10532 162   07/12 08:40:53 ### EOS\AdminSer AnalyticsEngineImpl:FlattenServerMap() - Initialized AnalyticsEngines module with count status total server : 0, role : 0, cloud : 0
10532 162   07/12 08:40:53 ### EOS\AdminSer AnalyticsEngineImpl:RefreshEngineInfo - Refresh cache invoked by caller Download center Solr Configuration and message none
10532 162   07/12 08:40:53 ### EOS\AdminSer CloudUtils::CreateLegacyCloudV2 - ErrorCode : 12742, ErrorMsg : Invalid node clientId [0]
10532 162   07/12 08:40:53 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception Message [Object reference not set to an instance of an object.]
10532 162   07/12 08:40:53 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception Source [CVDM2WebDBCore]
10532 162   07/12 08:40:53 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception StackTrace [   at DM2WebDB.CommServ.csFastServer.getDownloadCenterCloud()]
10532 258   07/12 08:41:23 ### EOS\AdminSer getRestoreFolderPath -  Restore folder E:\WebCache
10532 258   07/12 08:41:38 ### EOS\AdminSer PackageMgmt:SetPackageExtraProperties - INFO: Checksum for platform Windows-x64 in package [etwetw] is being computed before saving..
10532 207   07/12 08:41:38 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception Message [Object reference not set to an instance of an object.]
10532 207   07/12 08:41:38 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception Source [CVDM2WebDBCore]
10532 207   07/12 08:41:38 ### EOS\AdminSer csFastServer::getDownloadCenterCloud - Exception StackTrace [   at DM2WebDB.CommServ.csFastServer.getDownloadCenterCloud()]
10532 258   07/12 08:41:38 ### EOS\AdminSer PackageMgmt::savePackage - Exception Message [One or more errors occurred. (The type initializer for 'com.commvault.biz.downloadCenter.PackageReadmePreview' threw an exception.)]
10532 258   07/12 08:41:38 ### EOS\AdminSer PackageMgmt::savePackage - Exception Source [System.Private.CoreLib]
10532 258   07/12 08:41:38 ### EOS\AdminSer PackageMgmt::savePackage - Exception InnerException [System.TypeInitializationException: The type initializer for 'com.commvault.biz.downloadCenter.PackageReadmePreview' threw an exception.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at com.commvault.biz.downloadCenter.PackageReadmePreview..cctor()
   --- End of inner exception stack trace ---
   at com.commvault.biz.downloadCenter.PackageReadmePreview.TryGetItemMetaData(DCPlatform pkgPlatform, Boolean isRequestForReadme, String& checksumValue, DateTime& lastWriteTimeUTC, Boolean getCheckSum, Boolean isUpgrade)
   at com.commvault.biz.downloadCenter.PackageMgmt.<>c__DisplayClass8_1.<SetPackageExtraProperties>b__0()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)]
10532 258   07/12 08:41:38 ### EOS\AdminSer PackageMgmt::savePackage - Exception StackTrace [   at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout)
   at com.commvault.biz.downloadCenter.PackageMgmt.savePackage(DCPackage package)]
10532 37    07/12 08:48:59 ### EOS\AdminSer PackageMgmt:SetPackageExtraProperties - INFO: Checksum for platform Windows-x64 in package [etwetw] is being computed before saving..
10532 37    07/12 08:48:59 ### EOS\AdminSer PackageMgmt::savePackage - Exception Message [One or more errors occurred. (The type initializer for 'com.commvault.biz.downloadCenter.PackageReadmePreview' threw an exception.)]
10532 37    07/12 08:48:59 ### EOS\AdminSer PackageMgmt::savePackage - Exception Source [System.Private.CoreLib]
10532 37    07/12 08:48:59 ### EOS\AdminSer PackageMgmt::savePackage - Exception InnerException [System.TypeInitializationException: The type initializer for 'com.commvault.biz.downloadCenter.PackageReadmePreview' threw an exception.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at com.commvault.biz.downloadCenter.PackageReadmePreview..cctor()
   --- End of inner exception stack trace ---
   at com.commvault.biz.downloadCenter.PackageReadmePreview.TryGetItemMetaData(DCPlatform pkgPlatform, Boolean isRequestForReadme, String& checksumValue, DateTime& lastWriteTimeUTC, Boolean getCheckSum, Boolean isUpgrade)
   at com.commvault.biz.downloadCenter.PackageMgmt.<>c__DisplayClass8_1.<SetPackageExtraProperties>b__0()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)]
10532 37    07/12 08:48:59 ### EOS\AdminSer PackageMgmt::savePackage - Exception StackTrace [   at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout)
   at com.commvault.biz.downloadCenter.PackageMgmt.savePackage(DCPackage package)]
10532 7     07/12 08:49:02 ### EOS\AdminSer PackageMgmt:SetPackageExtraProperties - INFO: Checksum for platform Windows-x64 in package [etwetw] is being computed before saving..
10532 7     07/12 08:49:02 ### EOS\AdminSer PackageMgmt::savePackage - Exception Message [One or more errors occurred. (The type initializer for 'com.commvault.biz.downloadCenter.PackageReadmePreview' threw an exception.)]
10532 7     07/12 08:49:02 ### EOS\AdminSer PackageMgmt::savePackage - Exception Source [System.Private.CoreLib]
10532 7     07/12 08:49:02 ### EOS\AdminSer PackageMgmt::savePackage - Exception InnerException [System.TypeInitializationException: The type initializer for 'com.commvault.biz.downloadCenter.PackageReadmePreview' threw an exception.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at com.commvault.biz.downloadCenter.PackageReadmePreview..cctor()
   --- End of inner exception stack trace ---
   at com.commvault.biz.downloadCenter.PackageReadmePreview.TryGetItemMetaData(DCPlatform pkgPlatform, Boolean isRequestForReadme, String& checksumValue, DateTime& lastWriteTimeUTC, Boolean getCheckSum, Boolean isUpgrade)
   at com.commvault.biz.downloadCenter.PackageMgmt.<>c__DisplayClass8_1.<SetPackageExtraProperties>b__0()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)]
10532 7     07/12 08:49:02 ### EOS\AdminSer PackageMgmt::savePackage - Exception StackTrace [   at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout)
   at com.commvault.biz.downloadCenter.PackageMgmt.savePackage(DCPackage package)]

Userlevel 4
Badge +11

Hello @thomas.S 

Please check if the cache path on webserver actually exists? Path can be checked from registry path:

 

If the above path exists on the OS level, please raise a case with us to look into this further. Please do upload web server.log and DM2web.log alongside. 

Best,

Rajiv Singal

 

Userlevel 4
Badge +15

Hello @Rajiv

I have compared the configuration again with our test environment. Everything looks fine and the Commvault version is also the same. I have another screenshot of the configuration here. However, uploading the agents works but saving the settings in the download center still brings the same problem. I will open a parallel case at Commvault to investigate this further. 
Thanks for the help. I will give a feedback when the problem is found. 

 

 

Userlevel 4
Badge +15

Yesterday I opened a ticket at Commvault. An appointment for a remote session was scheduled for next Monday. 

Userlevel 4
Badge +11

Great, @thomas.S please share the incident number so that I can track it as well.

Userlevel 4
Badge +15

Here is the incident number. 230712-759

Userlevel 4
Badge +15

Hello everone, 

the ticket is currently still running because of the problem loading the packages into the repo. There is already a solution, but it has not been implemented yet. I have also tried to create an agent package that I want to distribute to the customers to update the agent and make the customer use the AuthCode to assign the agent backups to the correct company. Unfortunately, this is not queried during the import, since the agent only receives an update. Is there another possibility or does authentication with the AuthCode only work with new agent installations?

Regards

Thomas

Reply