This page describes the procedures for complete uninstallation of Fess.
Warning
Important Notes Before Uninstallation
Uninstalling will delete all data
If you have important data, create a backup first
For backup procedures, refer to Upgrade Procedure
Pre-Uninstallation Preparation
Create Backup
Back up necessary data:
Configuration Data Backup
Download from the admin screen at “System” → “Backup”.
Download the following files:
fess_basic_config.bulkfess_user.bulk
Configuration File Backup
TAR.GZ/ZIP version:
RPM/DEB version:
Customized Configuration Files
If you have customized configuration files, back up those as well:
Stop Services
Before uninstallation, stop all services.
TAR.GZ/ZIP version:
RPM/DEB version:
Docker version:
Uninstall TAR.GZ/ZIP Version
Step 1: Remove Fess
Delete the installation directory:
Step 2: Remove OpenSearch
Delete the OpenSearch installation directory:
Step 3: Delete Data Directory (Optional)
By default, the data directory is within the Fess installation directory, but if you specified a different location, delete that directory as well:
Step 4: Delete Log Directory (Optional)
Delete log files:
Uninstall RPM Version
Step 1: Uninstall Fess
Uninstall the RPM package:
Step 2: Uninstall OpenSearch
Step 3: Disable and Remove Service
For chkconfig:
For systemd:
Step 4: Delete Data Directory
Warning
This operation will completely delete all index data and configuration.
Step 5: Delete Configuration Files
Step 6: Delete Log Files
Step 7: Delete Users and Groups (Optional)
To delete system users and groups:
Uninstall DEB Version
Step 1: Uninstall Fess
Uninstall the DEB package:
To completely remove including configuration files:
Step 2: Uninstall OpenSearch
Or to remove including configuration files:
Step 3: Disable Service
Step 4: Delete Data Directory
Warning
This operation will completely delete all index data and configuration.
Step 5: Delete Configuration Files (if dpkg -P was not used)
Step 6: Delete Log Files
Step 7: Delete Users and Groups (Optional)
To delete system users and groups:
Uninstall Docker Version
Step 1: Remove Containers and Networks
Step 2: Remove Volumes
Warning
This operation will completely delete all data.
Verify volume list:
Remove Fess-related volumes:
Or remove all volumes at once:
Step 3: Remove Images (Optional)
To remove Docker images to free up disk space:
Step 4: Remove Networks (Optional)
Remove networks created by Docker Compose:
Step 5: Remove Compose Files
Verify Uninstallation
Verify that all components have been removed.
Verify Processes
If nothing is displayed, processes are stopped.
Verify Ports
Verify ports are not in use.
Verify Files
TAR.GZ/ZIP version:
RPM/DEB version:
Docker version:
Verify Packages
RPM version:
DEB version:
If nothing is displayed, packages have been removed.
Partial Uninstallation
Remove Only Fess, Keep OpenSearch
If OpenSearch is also used by other applications, you can remove only Fess.
Stop Fess
Remove Fess package or directory
Remove Fess data directory (e.g.,
/var/lib/fess)Do not remove OpenSearch
Remove Only OpenSearch, Keep Fess
Warning
Removing OpenSearch will cause Fess to stop functioning. Change configuration to connect to a different OpenSearch cluster.
Stop OpenSearch
Remove OpenSearch package or directory
Remove OpenSearch data directory (e.g.,
/var/lib/opensearch)Update Fess configuration to specify a different OpenSearch cluster
Troubleshooting
Cannot Remove Package
Symptoms:
Error occurs with rpm -e or dpkg -r.
Solution:
Verify service is stopped:
Check dependencies:
Force removal (last resort):
Cannot Delete Directory
Symptoms:
Cannot delete directory with rm -rf.
Solution:
Verify permissions:
Delete with sudo:
Verify no processes are using files:
Preparing for Reinstallation
Before reinstalling after uninstallation, verify the following:
All processes are stopped
All files and directories are deleted
Ports 8080 and 9200 are not in use
No previous configuration files remain
For reinstallation procedures, refer to Choosing an Installation Method.
Next Steps
After uninstallation is complete:
To install a new version, refer to Choosing an Installation Method
To migrate data, refer to Upgrade Procedure
For alternative search solutions, refer to the official Fess website