Ticket #537 (new maintenance)

Opened 4 years ago

Last modified 3 years ago

Parrot setup and documentation

Reported by: chris Owned by: chris
Priority: major Milestone: Maintenance
Component: Parrot server Keywords:
Cc: ed Estimated Number of Hours: 4.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 7.0

Description

Things done setting up parrot.webarch.net -- a new virtual machine for running Wordpress sites, see wiki:ParrotServer

Change History

comment:1 Changed 4 years ago by chris

  • Type changed from defect to maintenance
  • Component changed from Unassigned to Parrot server

comment:2 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 2.5
  • Total Hours changed from 0.0 to 2.5

The server has been installed and the following tasks have been completed:

I haven't migrated the Reconomy site as it's massive, 7.7G, due to some unneeded backups and also it looks like it might be compromised, there are a couple of very dodgy looking scripts installed -- more investigation needed.

Ed -- would it be OK to move the movie and earthinheritors sites later tonight?

TODO:

  • Backups!

comment:3 Changed 4 years ago by ed

  1. Approved to move EI and ITmovie sites tonight - please confirm there will be no change in access or service?
  2. REconomy - do I need to get involved in some way - can I help?

comment:4 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.5
  • Total Hours changed from 2.5 to 3.0

Current backup space usage:

7.0G    ./puffin
7.7G    ./penguin
334G    ./quince
39G     ./kiwi

Most of the quince backups are from /var/backups/mysql -- 144G -- this has daily database dumps going back to 2011-12-01, can I assume it's safe to delete most of these?

Backups have been set up for parrot.

I'll email the site admins about the server move and investigate REconomy some more.

comment:5 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 1.0
  • Total Hours changed from 3.0 to 4.0

The http://www.earthinheritors.net/ site will be migrated when the DNS has fully updated, this is a straight forward site, no plugins and no recent content. I still have to configure the Piwik plugin.

The http://www.intransitionmovie.com/ site will also be migrated when the DNS has updated, this is a complicated ecommerce site with quite a few plugins and also quite a lot of traffic, I have raised a ticket for updates to this site, ticket:538.

I have sent a email to the admin of http://www.reconomy.org/ raising 3 concerns, the 7GB of backups, two dubious looking perl scripts and the fact that the site doesn't work with the command line tool http://wp-cli.org/.

comment:6 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.6
  • Total Hours changed from 4.0 to 4.6

I have created the following wiki pages for documenting the sites:

And opened the following tickets:

The documentation of the wiki:ParrotServer might as well be tracked on this ticket.

comment:7 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 1.0
  • Total Hours changed from 4.6 to 5.6

I have done some work on the documentation:

I think that will do for the general documentation for now, more work is needed on the site specific documentation and also I'll do some on how to set up Piwik for WordPress.

comment:8 Changed 4 years ago by ed

  • Milestone set to Maintenance

comment:9 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 5.6 to 5.85

A chat between Chris and Ed about the wiki:ParrotServer and the wiki:WordPress site migrations is due to take place on Tuesday 14th May. The context of the scheduled call is the two times the server went down last week, due to it running out of memory, see ticket:542

Items we might cover in the call:

  1. Communications, how can we better communicate with the admins of the WordPress sites
  2. RAM, started with 1GB now 2GB RAM, see ticket:542
  3. Performance, can we decrease the load times though:
    1. Reducing the number of requests, see wiki:ReconomyWordPress#Performance and wiki:InTransitionWordPress#Performance
    2. Adding a Varnish reverse proxy
  4. Parrot setup and documentation, see ticket:537
  5. HTTPS for WordPress sites, see ticket:540
  6. REconomy site migration and updates, see ticket:539
  7. intransitionmovie.com checks and updates, see ticket:538

comment:10 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.75
  • Total Hours changed from 5.85 to 6.6

Some notes I took during our chat:

  1. Chris to email Ed with a list of admins for a Mailman list.
  2. Agreed to reep the extra 1GB RAM.
  3. Performance, to be considered next time the sites have some development work.

comment:11 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.4
  • Total Hours changed from 6.6 to 7.0

Generating a list of admins for a Mailman list:

sudo -i
su-user ttt
cd sites/default/
wp user list | grep "administrator"
cd sites/default/
su-user earthin
PHP Fatal error:  Call to undefined function get_post_format_slugs() in /home/earthin/sites/default/wp-includes/theme.php on line 1264
su-user movie
cd sites/default/
wp user list | grep "administrator"
su-user recon
cd sites/default/
wp user list | grep "administrator"
su-user ts
cd sites/default/
wp user list | grep "administrator"

For earthin:

su-user earthin
grep PASSWORD sites/default/wp-config.php
mysql -uearthin -p earthin
mysql> SELECT ID,user_login,user_nicename,user_email FROM wp_users;

comment:12 Changed 3 years ago by chris

Not closing this yet as there are these outstanding issues:

Note: See TracTickets for help on using tickets.