Repository navigation
Upgrading Scrummage
Support for Scrummage upgrades is provided for tier 3 and 4 monthly sponsors, and ad-hoc support is provided based on the relevant time-limit. For more details, you can contact us via the sponsors page.
Scrummage is considered to be "rolling software", meaning regular updates and upgrades are made to both front-end and back-end code. These updates/upgrades improve the security, functionality, and design of the web application. Therefore, it is in a user's best interest to stay up to date on these updates.
This being said, directory naming conventions and plugin names remain consistent. Also, changes to how the database is structured are rare, and in the event, the database structure is changed. It will be part of a major version upgrade, and it will be clearly mentioned on the main README.md file with instructions on how to upgrade provided.
Therefore, rolling upgrades are pretty easy, you can either pull the latest code from GitHub, which will only overwrite the necessary files or you can clone the repository to a new directory. Please do the following if going for the second option:
DO NOT DELETE YOUR OLD COPY OF SCRUMMAGE UNTIL AFTER YOU HAVE FINISHED.
-
Clone the latest repository to your machine.
-
Copy your "protected" folder from your old directory to your new one. This folder is located at
<YOUR SCRUMMAGE DIRECTORY>/app/static/protectedand contains all output data from running the plugins, including screenshots and local copies of discovered data. -
Ensure any new plugins that require API keys or other configurations have an entry in the
config.jsonfile. The list of plugins and requirements can be seen here. -
Open the new
config.jsonfile, and migrate all your API keys to your newconfig.jsonfile. -
Finally rerun the below command to install all python requirements. This is to ensure any new libraries added in the latest upgrade will be installed on your system:
user@linux:<SCRUMMAGE DIRECTORY>/installation$ pip3 install -r python_requirements.txtFollow the below instuctions to convert your existing config.json file to the new format
- Copy existing config.json file to the upgrade directory
user@linux:<SCRUMMAGE DIRECTORY>$ cp ./app/plugins/common/config.json ./installation/3.4_to_3.5_upgrade/config.json- Navigate to the upgrade directory and Backup old config file
user@linux:<SCRUMMAGE DIRECTORY>$ cd ./installation/3.4_to_3.5_upgrade && cp ./config.json ./config_bak.json- Run the upgrade utility
user@linux:<SCRUMMAGE DIRECTORY>/installation/3.4_to_3.5_upgrade$ python3 3.5_Upgrade.py- The utility will create a new file called config_new.json, move this to the config directory.
user@linux:<SCRUMMAGE DIRECTORY>/installation/3.4_to_3.5_upgrade$ cp ./config_new.json ../../app/plugins/common/config/config.json