Difference between revisions of "Upgrading an old LJ Installation to DW Codebase - Steps"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '= LJ to DW conversion steps = *Create dj user. *Downloaded bootstrap.pl *apt-get install mercurial *perl bootstrap.pl *Edited etc/config-local.pl *Edited etc/config-private.pl *…')
 
(LJ to DW conversion steps)
Line 8: Line 8:
 
*Looked over etc/config.pl
 
*Looked over etc/config.pl
 
*Ran checkconfig.pl
 
*Ran checkconfig.pl
*apt-get install libclass-accessor-perl libclass-autouse-perl libclass-trigger-perl libgnupg-interface-perl libhtml-template-perl perlmagick libma
+
*apt-get install libclass-accessor-perl libclass-autouse-perl libclass-trigger-perl libgnupg-interface-perl libhtml-template-perl perlmagick libmail-gnupg-perl
il-gnupg-perl
+
 
*apt-get install apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-apreq2 libapache2-request-perl
 
*apt-get install apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-apreq2 libapache2-request-perl
 
*a2enmod apreq
 
*a2enmod apreq

Revision as of 22:57, 17 August 2009

LJ to DW conversion steps

  • Create dj user.
  • Downloaded bootstrap.pl
  • apt-get install mercurial
  • perl bootstrap.pl
  • Edited etc/config-local.pl
  • Edited etc/config-private.pl
  • Looked over etc/config.pl
  • Ran checkconfig.pl
  • apt-get install libclass-accessor-perl libclass-autouse-perl libclass-trigger-perl libgnupg-interface-perl libhtml-template-perl perlmagick libmail-gnupg-perl
  • apt-get install apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-apreq2 libapache2-request-perl
  • a2enmod apreq
  • a2disite default
  • added /etc/apache2/conf.d/stage/
  • Installed via CPAN Captcha::reCAPTCHA,HTML::Tiny
  • ran update-db.pl -r --cluster=all
  • Had to go in, and manually delete the table 'subs' (it was empty), and recreate the table from the update-db-general.pl file.
  • ran update-db.pl -r --cluster=all again.
  • wait wait wait for huge log2 table conversion
  • ran update-db.pl -r --cluster=1 and --cluster=2 for good measure
  • ./update-db.pl -p -r