Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to version 0.43.x #115

Open
26 of 29 tasks
gbp opened this issue Oct 11, 2023 · 0 comments
Open
26 of 29 tasks

Upgrade to version 0.43.x #115

gbp opened this issue Oct 11, 2023 · 0 comments

Comments

@gbp
Copy link
Member

gbp commented Oct 11, 2023

0.41.1.1

  • alaveteli-update-general-config 0.41.1.1 /data/servers/vhosts/alaveteli/<vhost>/config_general.yml.ugly
  • bump ruby to 2.7.7
  • add "storage/" to SHARED_DIRECTORIES in general config
  • replace backup_dirs/backup_raw_dirs "raw_emails" with "shared/storage/raw_emails" in servers JSON
  • deploy
  • bin/rails db:migrate - done automatically on mysoc deploy
  • bin/rails temp:remove_orphan_raw_email_records
  • bin/rails temp:populate_incoming_message_from_email
  • add config/storage.yml - done for mysoc servers already
  • bin/rails storage:migrate

0.42.0.1

  • alaveteli-update-general-config 0.42.0.1 /data/servers/vhosts/alaveteli/<vhost>/config_general.yml.ugly - not needed, no changes to general.yml in this release
  • deploy
  • bin/rails db:migrate - done automatically on mysoc deploy
  • bin/rails temp:migrate_public_body_notes
  • bin/rails temp:convert_syck_to_psych_yaml
  • bin/rails temp:fix_old_objects_in_yaml
  • bin/rails temp:sanitise_and_populate_events_params_json
  • bin/rails runner "p InfoRequestEvent.where(params: nil).count" should be zero
  • bin/rails runner "PublicBody.without_request_email.each(&:save)"

0.43.1.0

  • alaveteli-update-general-config 0.43.1.0 /data/servers/vhosts/alaveteli/<vhost>/config_general.yml.ugly
  • bump ruby to 3.2.2
  • add "<vhost-user>-sidekiq": "sidekiq.service.ugly" to daemons in servers JSON
  • assign Redis database number to vhost, see: https://wiki.mysociety.org/wiki/Redis#Databases_and_Namespaces
  • update wiki and /data/servers/vhosts/alaveteli/config_rails_env.rb.ugly
  • deploy
  • bin/rails db:migrate - done automatically on mysoc deploy

wrapup/cleanup

  • check new /data/servers/<vhost>/shared/storage/raw_emails dir is being backed up
  • remove old raw emails backup?
  • at some point, run: rm -rf /data/servers/<vhost>/raw_emails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant