This page describes the procedures for upgrading Fess from a previous version to the latest release.
Warning
Important Notes Before Upgrade
Always create a backup before upgrading
It is strongly recommended to validate the upgrade in a test environment first
Services will be stopped during the upgrade, so schedule appropriate maintenance time
Configuration file formats may have changed depending on the version
Supported Versions
This upgrade procedure supports upgrades between the following versions:
Fess 14.x → Fess 15.4
Fess 15.x → Fess 15.4
Note
When upgrading from older versions (13.x or earlier), a phased upgrade may be necessary. For details, check the release notes.
Pre-Upgrade Preparation
Verify Version Compatibility
Verify the compatibility between the upgrade target version and the current version.
Plan Downtime
The upgrade process requires system shutdown. Plan downtime considering the following:
Backup time: 10 minutes to several hours (depending on data volume)
Upgrade time: 10 to 30 minutes
Verification time: 30 minutes to 1 hour
Reserve time: 30 minutes
Recommended Maintenance Time: Total 2 to 4 hours
Step 1: Data Backup
Back up all data before upgrading.
Configuration Data Backup
Backup from Admin Screen
Log in to the admin screen and click “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:
Index Data Backup
Back up OpenSearch index data.
Method 1: Use Snapshot Feature (Recommended)
Back up the index using OpenSearch snapshot feature.
Configure repository:
Create snapshot:
Verify snapshot:
Method 2: Backup Entire Directory
Stop OpenSearch and back up the data directory.
Docker Version Backup
Back up Docker volumes:
Step 2: Stop Current Version
Stop Fess and OpenSearch.
TAR.GZ/ZIP version:
RPM/DEB version (systemd):
Docker version:
Step 3: Install New Version
The procedure varies depending on the installation method.
TAR.GZ/ZIP Version
Download and extract the new version:
Copy configuration from the old version:
Verify configuration differences and adjust as necessary
RPM/DEB Version
Install the new version package:
Note
Configuration files (/etc/fess/*) are automatically retained. However, if new configuration options have been added, manual adjustment may be necessary.
Docker Version
Obtain Compose files for the new version:
Pull new images:
Step 4: Upgrade OpenSearch (If Necessary)
If you are also upgrading OpenSearch, follow these procedures.
Warning
Be careful when performing major version upgrades of OpenSearch. Index compatibility issues may occur.
Install the new version of OpenSearch
Reinstall plugins:
Start OpenSearch:
Step 5: Start New Version
TAR.GZ/ZIP version:
RPM/DEB version:
Docker version:
Step 6: Verify Operation
Check Logs
Verify there are no errors:
Access Web Interface
Access http://localhost:8080/ in a browser.
Log in to Admin Screen
Access http://localhost:8080/admin and log in with the administrator account.
Verify System Information
Click “System” → “System Info” in the admin screen and verify the version has been updated.
Verify Search Operation
Execute a search on the search screen and verify results are returned normally.
Step 7: Recreate Index (Recommended)
For major version upgrades, it is recommended to recreate the index.
Verify existing crawl schedules
Execute “Default Crawler” from “System” → “Scheduler”
Wait for crawl to complete
Verify search results
Rollback Procedure
If the upgrade fails, you can rollback with the following procedure.
Step 1: Stop New Version
Step 2: Restore Old Version
Restore configuration files and data from backup.
For RPM/DEB version:
Or:
Step 3: Restore Data
Restore from snapshot:
Or restore directory from backup:
Step 4: Start and Verify Service
Verify operation and confirm it has returned to normal.
Frequently Asked Questions
Q: Can I upgrade without downtime?
A: Upgrading Fess requires service shutdown. To minimize downtime, consider the following:
Verify procedures in a test environment first
Create backups in advance
Secure sufficient maintenance time
Q: Do I need to upgrade OpenSearch too?
A: Depending on the Fess version, a specific version of OpenSearch may be required. Check the recommended OpenSearch version in the release notes.
Q: Do I need to recreate the index?
A: For minor version upgrades, it is usually not necessary, but for major version upgrades, recreation is recommended.
Q: Search results are not displayed after upgrade
A: Verify the following:
Verify OpenSearch is running
Verify indexes exist (
curl http://localhost:9200/_cat/indices)Re-run crawl
Next Steps
After the upgrade is complete:
Startup, Shutdown, and Initial Setup - Verify startup and initial configuration
Security Configuration - Review security configuration
Check release notes for new features