Ticket #539 (closed maintenance: fixed)
REconomy site migration and updates
Reported by: | chris | Owned by: | chris |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | Parrot server | Keywords: | |
Cc: | ed, laura | Estimated Number of Hours: | 2.0 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 2.6 |
Description (last modified by chris) (diff)
This ticket is to keep track of the tasks undertaken and the time spent on the migration of the http://www.reconomy.org/ site to wiki:ParrotServer.
Change History
comment:2 in reply to: ↑ 1 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 1.0
- Total Hours changed from 0.0 to 1.0
- Description modified (diff)
Replying to ed:
hold on with the move while Ed gets permission from the site owners... keep doing the prep, but stand by for moving date
No problem, I won't update the DNS till we have an agreed time.
I have had a chat with Laura and Ed on the phone about the REconomy site.
I have updated the Gandi Reconomy Zone file from:
@ 10800 IN A 81.95.52.48 www 10800 IN A 81.95.52.48 @ 10800 IN MX 10 mx.webarch.net.
With these values:
@ 600 IN A 81.95.52.48 www 600 IN A 81.95.52.48 @ 10800 IN MX 10 mx.webarch.net.
600 seconds is 10 mins, this will mean that there will be a minimal time in which people will get the old site after it's been migrated.
Laura has created an account for me on the site.
I have installed the wp-piwik plugin and set it up to not track Editors and Administrators, I have sent Shane account details and I have also updated the wiki:PiwikServer documentation and the wiki:WikiStart#Websites list of sites.
Next I'm going to set a copy of the site up on wiki:ParrotServer and see if I can get http://wp-cli.org/ working with the site.
comment:3 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.5
- Total Hours changed from 1.0 to 1.5
I have deleted the two dodgy looking perl scripts and the /demo/ site after agreement with Laura and Shane.
I have copied the site over to wiki:ParrotServer and followed the https://codex.wordpress.org/Changing_The_Site_URL#Relocate_method steps to get the site up and running as a dev version before we do the DNS update.
There is now a dev version of the site running here:
https://recon.parrot.transitionnetwork.org/
After disabling the Bad Behavior plugin via the web interface I was able to use the wp-cli tool, this is the status of the plugins:
wp plugin status 32 installed plugins: A akismet A analytics360 A backupwordpress UI bad-behavior A breadcrumb-navxt UA contact-form-7 UA custom-sidebars A delightful-downloads A display-widgets UA facebook-members A gd-star-rating UA google-analyticator UA jetpack UA multiple-category-selection-widget A newsletter-sign-up A recent-posts-slider A related-posts-slider A related-posts-thumbnails A share-and-follow UI sidebar-login A special-recent-posts A stop-spammer-registrations-plugin A subscribe-to-comments-reloaded A twitter-widget-pro A wassup A wordpress-backup-to-dropbox UA wordpress-importer A wp-pagenavi A wp-piwik A wp-hide-post UI yet-another-related-posts-plugin A breadcrumbs Legend: A = Active, I = Inactive, U = Update Available
If the REconomy Project team are happy with the Piwik stats I'd suggest that the google-analyticator plugin could be removed, I'd also be interested in knowing if the Bad Behavior plugin is essential as it's going to limit what can be done using wp-cli. If it is essential then perhaps the incompatibility of wp-cli and Bad Behavior can be raised with the respective developers to see if there is a way forward.
Laura might have some thoughts on updates to the other plugins?
Is a development version of the site needed to test updates on?
comment:4 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 1.0
- Total Hours changed from 1.5 to 2.5
- Summary changed from REconomy site migration an updates to REconomy site migration and updates
I have created a wiki page for documenting the site, wiki:ReconomyWordPress
I have got the wp-cli tool working with the bad-behavior plugin by adding the following to the URL whitelist:
/usr/local/wp-cli/bin/../php/boot-fs.php
I have copied across a new version of the database and rsynced the files and commented out the define('RELOCATE',true); line in wp-config.php and updated the Gandi zone file -- the site is now migrated.
comment:6 in reply to: ↑ 5 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.1
- Total Hours changed from 2.5 to 2.6
Replying to ed:
Good work Chris. I guess we watch #542 now?
Yes, I have been keeping an eye on the Munin stats:
It's very clear already tat the REconomy site is the one that is geting the most traffic, see:
- https://penguin.transitionnetwork.org/munin/transitionnetwork.org/parrot.transitionnetwork.org/apache_vh_volume.html
- https://penguin.transitionnetwork.org/munin/transitionnetwork.org/parrot.transitionnetwork.org/apache_user_monthly_volume.html
I have added a note about bad-behavior to the wiki page wiki:ReconomyWordPress#bad-behavior
hold on with the move while Ed gets permission from the site owners... keep doing the prep, but stand by for moving date