KB N°2767: RESET CONFIGURATION AND STATISTICS
Restore factory settings for your Olfeo administration interface and statistics.
BACKGROUND
If you'd like to reset the administration interface configuration and statistics to factory settings, you can do so with olfeo_reset.
The olfeo_reset script is used to clean up databases by deleting the configuration (except the network part) and the data displayed in the statistics menu.
Browsing logs in pgd format, which are stored in /opt/olfeo/data/hits/, will be retained.
STEPS
Current olfeo_reset limits :
- Its execution is not interactive, but automatically restores factory settings.
- Deletes databases containing configuration (policy, blocking message, Internet charter, users, etc.) and statistics without asking for confirmation before deleting the data.
- The "-help" option is not yet present, so running the script with this option will delete the data.
⚠️ As the actions performed by olfeo_reset are irreversible, we recommend that you save your configuration in the administration interface before running the script.
Execute the following command to delete the data:
:/# /opt/olfeo/bin/olfeo_reset
or
:/# olfeo_reset
VALIDATION
When finished, the configuration wizard will be displayed, and all past settings deleted.