update-authgate.sh
The update script safely updates your Authgate installation to a new version while keeping all your data intact.
What Gets Updated
- All Authgate code and features
- Database structure (if needed)
What Stays Safe
- Your users and licenses
- Your configuration settings
- Your SSL certificate
- All uploaded files
How to Update
- Transfer the new Authgate version to your server:
scp authgate-selfhosted-v1.8.0.tar.gz user@yourserver.com:/tmp/Windows users: Use WinSCPÂ to transfer files to your server.
- Run the update script from the new version, pointing it to your existing installation:
# Unpack the tarball
cd /tmp
tar -xzf authgate-selfhosted-v1.8.0.tar.gz
cd authgate-selfhosted-v1.8.0
# Run the update script
sudo ./scripts/update-authgate.sh /path/to/your/existing/authgate- Wait for the update to complete (usually 2-5 minutes)
What Happens During Update
The script will:
- Stop your Authgate temporarily
- Create a backup of your data (just in case)
- Install the new version
- Update your database if needed
- Start everything back up
Your Authgate will be offline for a few minutes during the update.
After Update
Once the update finishes, visit your Authgate URL to make sure everything works. The script keeps a backup in case you need to revert - you can delete it once you’re happy everything is working.
Last updated on