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.7
Fess 15.x → Fess 15.7
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 Info” → “Backup”.
The backup page lists the following configuration data as individual items. Click each link to download it (these are individual files per item, not a single ZIP):
fess_basic_config.bulk- Basic configuration (general settings)fess_config.bulk- Crawl settings, scheduler, labels, key matches, and other configurationfess_user.bulk- Users, roles, and groupssystem.properties- System settingsfess.json/doc.json- Index settings (mappings)
Note
Log data such as search logs and click logs (
search_log.ndjson,click_log.ndjson,favorite_log.ndjson,user_info.ndjson) can also be downloaded from the same page. They are not needed if you only want to back up the configuration.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.
Note
To register a filesystem (fs) repository, you must first specify the backup destination directory in path.repo in OpenSearch’s opensearch.yml and restart OpenSearch.
Configure repository:
Create snapshot:
Verify snapshot:
Method 2: Backup Entire Directory
Stop OpenSearch and back up the data directory.
Docker Version Backup
OpenSearch data is stored in Docker volumes. compose-opensearch3.yaml defines two volumes: search01_data for index data and search01_dictionary for dictionary files.
Note
The actual volume names are prefixed with the Compose project name (by default, the name of the directory containing the Compose files). Check the exact names with:
Stop the containers, then back up the 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.
Note
This procedure applies when you are managing OpenSearch manually on a TAR.GZ/ZIP or RPM/DEB installation. For the Docker version, pulling the new image in Step 3 updates OpenSearch and its plugins together, so this step is not required.
Warning
Be careful when performing major version upgrades of OpenSearch. Index compatibility issues may occur.
Install the new version of OpenSearch
Reinstall plugins:
Note
The version of these plugins must match the version of OpenSearch you use. Fess 15.7 supports OpenSearch 3.7.0. Installation fails if the versions do not match.
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.
Check the Version
In the admin UI, click “System Info” → “Config Info” and confirm that
fess.versionshown under “System Properties” reflects the new version.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:
Note
Configuration data downloaded from the admin screen (*.bulk files) can be re-imported after starting Fess via the upload feature on the “System Info” → “Backup” page.
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: Each version of Fess requires a specific version of OpenSearch. Fess 15.7 requires OpenSearch 3.7.0. The Fess OpenSearch plugins such as opensearch-analysis-fess must exactly match the OpenSearch version, so if you upgrade OpenSearch, also update the plugins to the corresponding version (3.7.0).
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