Option 1: New server
Install v6 on a fresh server, migrate database, redirect clients. Recommended — minimal downtime, easy rollback.
This guide covers migrating from Mideye Server 5.x to 6.x. For minor version upgrades (6.x to 6.y), see Upgrades.
Option 1: New server
Install v6 on a fresh server, migrate database, redirect clients. Recommended — minimal downtime, easy rollback.
Option 2: Side-by-side
Install v6 alongside v5 on the same server. Useful when hardware is limited.
Review the Pre-install Checklist — Ensure your environment meets v6 requirements
Back up your v5 installation
Document your current configuration
Plan maintenance window — Users cannot authenticate during the switchover
Installing v6 on a new server minimizes risk and allows easy rollback by switching back to the v5 server.
Export the v5 database
mysqldump -u root -p mideye > mideye_v5_backup.sqlUse SQL Server Management Studio to create a full backup, or:
BACKUP DATABASE [MideyeServer]TO DISK = 'C:\Backups\mideye_v5_backup.bak'Prepare the new server
Import the v5 database to the new server
mysql -u root -p mideye < mideye_v5_backup.sqlRESTORE DATABASE [MideyeServer]FROM DISK = 'C:\Backups\mideye_v5_backup.bak'Install Mideye Server 6
Follow the installation guide for your platform:
Configure database connection
Edit application-prod.yml to point to your migrated database:
sudo nano /opt/mideyeserver6/config/application-prod.ymlEdit C:\Program Files (x86)\Mideye Server 6\config\application-prod.yml
Complete the Configuration Wizard
Access the web GUI and complete initial configuration:
Verify data migration
Log in and confirm:
Redirect RADIUS clients
Update your VPNs, firewalls, and applications to point to the new v6 server IP address.
Decommission v5 server
Once v6 is confirmed working:
Install v6 on the same server as v5. Both versions cannot run simultaneously due to port conflicts.
Export the v5 database
# MySQL/MariaDBmysqldump -u root -p mideye > mideye_v5_backup.sqlCreate a new database for v6
CREATE DATABASE mideye_v6;Import v5 data into the new database
mysql -u root -p mideye_v6 < mideye_v5_backup.sqlStop Mideye Server 5
sudo systemctl stop mideyeserver5sudo systemctl disable mideyeserver5Stop-Service "Mideye Server 5"Set-Service "Mideye Server 5" -StartupType DisabledInstall Mideye Server 6
Follow your platform’s installation guide. The installer will detect v5 is present and install v6 in a separate directory.
Configure v6 to use the new database
Edit application-prod.yml and update the database name to mideye_v6.
Start Mideye Server 6
sudo systemctl start mideyeserver6sudo systemctl enable mideyeserver6Start-Service "Mideye Server 6"Complete the Configuration Wizard and verify
If you need to revert to v5:
After migrating, verify these items:
| Check | How to verify |
|---|---|
| Users visible | Web GUI → Users |
| LDAP sync works | Web GUI → Directories → Test connection |
| RADIUS clients connected | Check client status indicators |
| Test authentication | Attempt a login from a test client |
| Logs recording | Web GUI → Logs → Authentication Logs |
| Switch connection | Green indicator in System Status |
Ensure application-prod.yml has the correct connection string:
spring: datasource: url: jdbc:mariadb://localhost:3306/mideye_v6?sslMode=TRUST username: mideye password: your_passwordspring: datasource: url: jdbc:sqlserver://localhost:1433;databaseName=MideyeServer;trustServerCertificate=true username: mideye password: your_passwordIn v6, RADIUS shared secrets are encrypted in the database. If you’re migrating to a shared database cluster, all servers must use the same keystore.p12 file. See Shared Database.
Your existing customer port from v5 works with v6. Verify:
primary.mideye.com and secondary.mideye.comContact support@mideye.com for migration assistance.