Changes between Initial Version and Version 8 of Ticket #478


Ignore:
Timestamp:
01/27/13 19:19:38 (4 years ago)
Author:
jim
Comment:

Need run this Drush command to disable the modules that are installed on current but not needed on the new platform:

drush dis memcache memcache_admin session443 varnish

And do files import... Fleshing out process in description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #478

    • Property Add Hours to Ticket changed from 0.0 to 0.15
    • Property Total Hours changed from 0.0 to 0.15
    • Property Status changed from new to accepted
  • Ticket #478 – Description

    initial v8  
    11This ticket is to log/document steps in the process of importing TN.org onto the new Puffin server. 
    22 
    3 Prep steps: 
    4 # Make platform from the latest  makefile (see https://raw.github.com/transitionnetwork/transitionnetwork.org-d6.profile/master/transitionnetwork.org-d6.make) 
    5 # Use Backup & Migrate to import recent DB backup from TN.org (one is already present in the Backup & Migrate manual folder, which was pulled across with the rest of the files) 
    63 
    7 Then, Docuement this as I do it -- massage site: 
    8 # Run {{{drush transitionnetwork.org rr}}} to clear registry and caches 
    9 # Run {{{drush transitionnetwork.org updb}}} to clear registry and caches 
    10 # MORE HERE 
     4== Import Process == 
    115 
    12 Then test imported site and work out best way to 
    13 * Get the site secured using Aegir's inbuilt SSL handing 
    14 * Replace old /sites/default/files references with new path -- might just be a search/replace on DB import file, or a couple of other approaches. 
     6'''Do Part A of [https://tech.transitionnetwork.org/trac/ticket/479 Transfer live TN.org site to Puffin] before continuing.''' 
    157 
    16 Finally repeat as necessary and convert the above into a process for Wednesday. 
     81. Run [https://tech.transitionnetwork.org/trac/ticket/472 Quince to Puffin rsync script] to get Drupal files. 
     91. Make 'Transition Network 003' platform from the latest makefile per [https://wiki.transitionnetwork.org/BOA_Server#Building_the_TransitionNetwork.org_Drupal_6_platform BOA Server] page. 
     101. Create an empty site on platform called 'transitionnetwork.org' with aliases for dev.newlive.puffin.webarch.net, newlive.puffin.webarch.net, www.transitionnetwork.org and dev.www.transitionnetwork.org (dev.newlive... ones will go after launch). 
     111. SSH to Puffin and replace the default files folder with symlink to the one imported: 
     12{{{ 
     13totn 
     14cd static/transition-network-d6-002/sites/transitionnetwork.org 
     15rm -R files 
     16ln -s ~/static/sites/transitionnetwork.org-PROD/files/ 
     17}}} 
     181. Use one-time login link sent to me but replacing transitionnetwork.org with dev.newlive.puffin.webarch.net in url. 
     191. Enable Backup and Migrate module, use to import DB backup from Quince TN.org present in the Backup & Migrate manual folder. 
     201. (white screen of death, expected) 
     211. Run following as 'tn' to remove unneeded modules, then clear registry and caches, then update database for module/core updates: 
     22{{{ 
     23drush transitionnetwork.org rr  
     24drush transitionnetwork.org dis memcache memcache_admin session443 varnish 
     25drush transitionnetwork.org updb 
     26drush transitionnetwork.org pm-uninstall memcache memcache_admin session443 varnish 
     27}}} 
     281. Check site is ok. 
     291. Double-migrate per http://omega8.cc/import-your-sites-to-aegir-in-8-easy-steps-109#hint-8 (migrate site to 'rename.tn.org', then back to 'tn.org') 
     301. Run developer tests on site, email all to begin testing before decision on DNS switch. 
     31 
     32 
     33'''To Fix:''' 
     344) Warning: file_get_contents(sites/all/modules/contrib/gmap/thirdparty/markerclusterer_packed.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1710 of /data/disk/tn/static/transition-network-d6-002/includes/locale.inc). -- This is because we need the TN Gmap version instead of the standard one. Will add to Github 
     355) Logo is set to wrong place at admin/build/themes/settings/transition2 sites/default/files/transition2_logo.jpg needs bold bit moved to transitionnetwork.org 
     366) Get the site secured using Aegir's inbuilt SSL handing