Updating Mythic
How to update Mythic to a new version
Your current Mythic version is shown in the top right corner when you're logged in.
There are two scenarios to updating Mythic: updates within the minor version (1.4.1 to 1.4.2) and updates to the minor (1.4.1 to 1.5) or major version (1.4 to 2.0).
Updating within the minor version
This is when you're on version 1.2 for example and want to pull in new updates (but not a new minor version like 1.3 or 1.4). In this case, the database schema should not have changed.
Pull in the latest code for your version (if you're still on the current version, this should be as easy as a
git pull
)Restart Mythic to pull in the latest code changes into the docker containers with
sudo ./start_mythic.sh
Updating minor or major versions
This is when you're on version 1.2 for example and want to upgrade to version 1.3 or 2.1 for example. In this case, the database schema has changed. In order to upgrade, you'll end up losing all of the information in your database, so make sure you download any files, export any reports, or save any tasking you've done.
Reset the database with
sudo ./reset_database.sh
Pull in the version you want to upgrade to (if you're wanting to upgrade to the latest, it's as easy as
git pull
)Restart Apfell to pull in the latest code changes into the docker containers with
sudo ./start_mythic.sh
Last updated