DPSearch: Upgrade verification check fails with error "Could not remove existing file"

Summary: Search fails to upgrade to a newer version due to errors encountered by a puppet agent.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

DPSearch does not start after an upgrade to a newer version. The upgrade verification script reports error messages similar to the following:  

 
Error: Could not remove existing file
Error: /Stage[main]/Search_smart_upgrade/File[/etc/puppet/repository]/ensure: change from directory to link failed: Could not remove existing file
Warning:  /Stage[main]/Search_smart_upgrade/File[/etc/puppet/status] : Skipping because of failed dependencies.
Warning:  /Stage[main]/Search_smart_upgrade/File[/usr/local/search/tmp/smart_upgrade]: Skipping because of failed dependencies
Warning:  /Stage[main]/Search_smart_upgrade/Exec[bash upgrade.sh]: Skipping because of failed dependencies




Errors produced by upgrade verification script.

 

Cause

The symbolic link from /etc/puppet/modules/search_smart_upgrade/files/repository to /etc/puppet/repository is missing.

Resolution

The following steps can be followed to address the issue:

  1. Stop the puppet and puppetmaster services:
service puppet stop
service puppetmaster stop

 
  1. Create a symbolic link:
ln /etc/puppet/modules/search_smart_upgrade/files/repository /etc/puppet/repository

 
  1. Verify that link exists using the ls -l command.
  2. Start the puppet and puppetmaster services:
service puppet start
service puppetmaster start


 
 

Affected Products

Data Protection Search, PowerProtect DP4400, Data Protection Search, PowerProtect DP5300, PowerProtect DP5800, PowerProtect DP8300, PowerProtect DP8800, PowerProtect Data Protection Software, Integrated Data Protection Appliance Family , Integrated Data Protection Appliance Software, PowerProtect DP5900, PowerProtect DP8400, PowerProtect DP8900 ...
Article Properties
Article Number: 000210179
Article Type: Solution
Last Modified: 22 Aug 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.