Error copying packages:Update is not staged:[Errno 2] No such file or directory: '/storage/updatemgr/software-update######/stage/update/patching_backup_config.json':Error in method invocation Timeout happens while sending message to microservice:[Errno 2] No such file or directory: '/storage/core/software-update/stage/stageDir.json':/var/log/vmware/applmgmt/update_microservice.log file on the vCenter Server contains errors similar to the following:YYYY-MM-DD HH:MM:SS - 23088 - update_functions target ::-- waitretry 1 -- connect-timeout 10 -r -np -nH -nd -A -P /storage/seat/software-update4ftl1ri/stage https://dl.broadcom.com/#####################/PROD/COMP/VCENTER/vmw/#####################/8.0.3.00600/package-pool/010cbb2b1373b111b91e0d827a4423df0499fe206404022b92ca81add4eae3d7.blobYYYY-MM-DD HH:MM:SS - 23088 - update_functions target :::35:32 -- https://dl.broadcom. com/#####################/PROD/COMP/VCENTER/vmw/#####################/8.0.3.00600/package-pool/010cb2b1373b111b91e0d827a4423df0499fe206404022b92ca81add4eae3d7.blob\nResolving dl.broadcom.com ... , [IP_ADDRESS], [IPV6_ADDRESS]\n Connecting to dl.broadcom.com|[IP_ADDRESS]| :443 ... connected. \nHTTP request sent, awaiting response ... \n HTTP/1.1 403 Forbidden\n Date: YYYY-MM-DD HH:MM:SS GMT\n Content-Type: text/plain; charset=UTF-8\n Content-Length: 12\n Connection: keep-alive\nServer: cloudflare\n YYYY-MM-DD HH:MM:SS ERROR 403: Forbidden. \n\n'ERROR - Exception staging containers Clear the update state by following these steps, and then attempt the update again with a valid token.
Note: Ensure there is a valid vCenter Server virtual machine snapshot before executing the steps. For snapshot best practices, refer to: Snapshot Best practices for vCenter Server Virtual Machines.
service-control --stop applmgmtrm /storage/db/patching.dbcat /storage/core/software-update/stage/stageDir.jsonrm -rf /storage/<subdir>/software-update####rm -rf /storage/core/software-update/stage/stageDir.jsonrm /etc/applmgmt/appliance/software_update_state.conf
service-control --start applmgmtAlternatively, mounting the vCenter Server patch ISO to the virtual machine allows for patching without a token. For more information, see: Patching/Updating vCenter Server through vCenter Server Appliance Management Interface (VAMI).