Ticket #480 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Transfer news.TN.org to puffin

Reported by: jim Owned by: jim
Priority: major Milestone:
Component: Drupal modules & settings Keywords:
Cc: ed, chris, laura, mark Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0

Description (last modified by jim) (diff)

This ticket describes process of migration of news.transitiojnetwork.org from Quince to Puffin.

Import Process

This needs Part A of Transfer live TN.org site to Puffin before continuing, and the platform created per #478

  1. Create an empty site on platform called 'news.transitionnetwork.org' with these aliases ('puffin' ones will go after launch):
    dev.news.transitionnetwork.org
    news.puffin.webarch.net
    dev.news.puffin.webarch.net
    
  2. SSH to Puffin and replace the default files folder with symlink to the one imported:
    totn
    cd static/transition-network-d6-XXX/sites/news.transitionnetwork.org
    rm -R files
    ln -s ~/static/sites/news.transitionnetwork.org-PROD/files/
    
  3. Use one-time login link sent to me but replacing transitionnetwork.org with dev.newlive.puffin.webarch.net in url.
  4. Download backup of database from current site.
  5. Enable Backup and Migrate module, use to import DB backup just downloaded.
  6. (possible white screen of death, expected)
  7. Run following as 'tn' to remove unneeded modules, then clear registry and caches, then update database for module/core updates:
    drush news.transitionnetwork.org rr 
    drush transitionnetwork.org dis memcache memcache_admin session443 varnish
    drush transitionnetwork.org updb
    drush transitionnetwork.org pm-uninstall memcache memcache_admin session443 varnish
    
  8. Check site is ok.
  9. Double-migrate per http://omega8.cc/import-your-sites-to-aegir-in-8-easy-steps-109#hint-8 (migrate site to 'news2.transitionnetwork.org', then back to 'news.transitionnetwork.org')
  10. Set logo and favicon admin/build/themes/settings/transition2 (replace 'default' with 'news.transitionnetwork.org')
  11. Run developer tests on site, email all to begin testing before decision on DNS switch.

Change History

comment:1 Changed 4 years ago by jim

  • Description modified (diff)

DECISION MADE: Since these sites use 90% same modules I've added them to the standard tn.org platform makefile. I've also added the only module (transition_sharing_engine) to Github.

Which means this is largely the same process as #478. That being:
This ticket is to log/document steps in the process of importing TN.org onto the new Puffin server.

Updating with proper import process.

comment:2 Changed 4 years ago by jim

  • Description modified (diff)

Updates for real deal... pull files over and symlink too.

comment:3 Changed 4 years ago by jim

  • Status changed from new to closed
  • Resolution set to fixed

Also done for real. Closing.

Note: See TracTickets for help on using tickets.