webplatform / ops

http://webplatform.github.io/ops/
5 stars 1 forks source link

Fix broken user_avatar images during Discourse migration from specifiction.org to discuss.webplatform.org #162

Closed renoirb closed 9 years ago

renoirb commented 9 years ago

While attempting to migrate discourse.specifiction.org into discuss.webplatform.org (ref webplatform/ops#152) images of avatars are broken.

Possible causes

Note we didn’t setup asset storage on S3.

  1. Internal communication between frontend NGINX server didn’t pass proxy_set_header X-Forwarded-Proto https;? (outcome, it didn’t change anything)
  2. Run recommended steps (outcome; read and tried this, this and this , didn’t change anything)

    ./launcher enter app
    rake posts:rebake
    rake uploads:clean_up
  3. Migrated from specifiction.org to webplatform.org from backup generated from the same Discourse version on both installs? (needs investigation :+1: )

    How it looks like

discourse_migration_list_gravatar_images

renoirb commented 9 years ago

Solution, re-import backup from original that has the same version as new deployment, plus;

./launcher enter app
rake posts:rebake
rake uploads:clean_up

NOTE: didn´t test without it, it was just in case.

renoirb commented 9 years ago

Solved!! \o/

renoirb commented 9 years ago

Sent in "Work status update" email on devrel list