Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsTroubleshooting - Enterprise Workloads
VMWare first backup for a VM failed with Error : “Cannot concatenate 'str' due to vmname.vmx file missing nvrm properties.”
VMWare first backup for a VM failed with Error : “Cannot concatenate 'str' due to vmname.vmx file missing nvrm properties.”

VMWare first backup for a VM failed with Error : “Cannot concatenate 'str' due to vmname.vmx file missing nvrm properties.”

Updated over a week ago

Problem description

VMWare VM first backup job failed with Error: “Cannot concatenate 'str' due to vmname.vmx file missing nvrm properties.”.

Cause

The NVRAM property is missing from the vm_name.vmx configuration file. This property is usually added by VMware when a new VM is created, so its absence is unexpected..

Traceback

[ERROR] Error <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects. Traceback -Traceback (most recent call last):

File "agents/vmware/vmwareAgent.py", line 1772, in do_retry

File "agents/vmware/vmwareAgent.py", line 1958, in get_nvram_from_datastore

File "agents/vmware/vmwareAgent.py", line 1945, in __get_nvram_path

TypeError: cannot concatenate 'str' and 'NoneType' objects

Resolution

  1. Edit VM settings → VM Options → Advanced → Edit Configuration → Add Configuration Parameter...

  2. Parameter name: nvram
    Value: [NVRAM file name with the .nvram extension]

Note:

If the NVRAM parameter is missing and the VM is powered on, VMware will create an NVRAM file named nvram without any extension. Please consult with your VMware Admins before proceeding with this action plan.

See also

Did this answer your question?