Lab.enough.community migration troubles

Bonjour,

A few days ago lab.enough.community was migrated to 14.9.2 and postgres 12. On that occasion there was data corruption due to failed updates from postgres 11 to 12. They were not immediately visible and the service seemed to be running fine, but it was not.

A backup prior to the migration was restored and GitLab dumped and restored to workaround the postgres upgrade issues.

I believe all is back to how it was: there is not much activity on the forge luckily. :cold_sweat: In case anyone notices something is missing, I’ll keep today’s semi-corrupted virtual machine around for forensic analysis.

Cheers


Technical details for the record.

docker exec -ti gitlab bash
apt-get update
apt-get install -y rsync
bundle exec rake gitlab:backup:create STRATEGY=copy RAILS_ENV=production
bundle exec rake gitlab:backup:restore RAILS_ENV=production