Skip to content

Conversation

@warunawickramasingha
Copy link
Contributor

@warunawickramasingha warunawickramasingha commented Sep 3, 2025

This PR captures changes required to upgrade Django version from 5.0 -> 5.1.10 to address the security vulnerabilities reported by Dependabot.

Test instructions:
Test the changes by deploying the errorreports service into the staging server via ansible-linode repository.

  1. update the env.j2 template file with correct credentials for the errorreports service
  2. specify the name of this branch at https://github.com/mantidproject/ansible-linode/blob/main/roles/errorreports/tasks/main.yml#L5
  3. Run below playbook targetting staging server and enter the password for Staging Certs Ansible Vault when prompted
ansible-playbook -i server_staging.yml playbooks/update.yml -t errorreports --ask-vault-pass
  1. Check docker logs of the 4 services related to error reporter service and confirm there are no errors present
  2. Access error reporter admin accounts and adminer accounts via below urls without any issue.
    https://errorreports.a.staging-mantidproject.stfc.ac.uk/admin
    https://errorreports.a.staging-mantidproject.stfc.ac.uk/api-auth/login/
    https://errorreports.a.staging-mantidproject.stfc.ac.uk/adminer
  3. Update below in Mantid.properties file in your mantid install
errorreports.rooturl = https://errorreports.a.staging-mantidproject.stfc.ac.uk
  1. Test sending an error report and observe the DB and Docker logs of the error reporter service to confirm they all work seamlessly as expected. The submitted records should enter the DB without any issues.

closes #63

@warunawickramasingha warunawickramasingha added the enhancement New feature or request label Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Django 5.0.8 or higher

2 participants