Ticket #529 (closed maintenance: fixed)
New Barracuda BOA-2.0.7 Edition available
Reported by: | chris | Owned by: | chris |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | Live server | Keywords: | |
Cc: | jim, ed | Estimated Number of Hours: | 0.5 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 0.75 |
Description
There is new BOA-2.0.7 Edition of Barracuda and Octopus available.
Please review the changelog and upgrade as soon as possible
to receive all security updates and new features.
Changelog: http://bit.ly/newboa
Change History
comment:1 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 0.0 to 0.25
comment:2 Changed 4 years ago by chris
Sunday night is generally a low usage time for the site -- would it be OK if I do the upgrade later tonight?
comment:3 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.5
- Status changed from new to closed
- Resolution set to fixed
- Total Hours changed from 0.25 to 0.75
Following id the output form the upgrade, the steps at wiki:PuffinServer#UpgradingBOA were followed:
barracuda up-stable Barracuda [Sun Apr 7 20:36:24 BST 2013] ==> BOA Skynet welcomes you aboard! Barracuda [Sun Apr 7 20:36:29 BST 2013] ==> INFO: UPGRADE Barracuda [Sun Apr 7 20:36:29 BST 2013] ==> INFO: Reading your /root/.barracuda.cnf config file Barracuda [Sun Apr 7 20:36:30 BST 2013] ==> NOTE! Please review all config options displayed below Barracuda [Sun Apr 7 20:36:30 BST 2013] ==> NOTE! It will *override* all settings in the Barracuda script ### ### Configuration created on 121215-1545 ### with Barracuda version BOA-2.0.4 ### ### NOTE: the group of settings displayed bellow will *not* be overriden ### on upgrade by the Barracuda script nor by this configuration file. ### They can be defined only on initial Barracuda install. ### _HTTP_WILDCARD=YES _MY_OWNIP="81.95.52.103" #_MY_OWNIP="" _MY_HOSTN="puffin.webarch.net" #_MY_HOSTN="" _MY_FRONT="master.puffin.webarch.net" _THIS_DB_HOST=localhost #_THIS_DB_HOST=FQDN _SMTP_RELAY_TEST=YES _SMTP_RELAY_HOST="" _LOCAL_NETWORK_IP="" _LOCAL_NETWORK_HN="" ### ### NOTE: the group of settings displayed bellow ### will *override* all listed settings in the Barracuda script, ### both on initial install and upgrade. ### _MY_EMAIL="chris@webarchitects.co.uk" _XTRAS_LIST="PDS CSF CHV" _AUTOPILOT=YES _DEBUG_MODE=NO _DB_SERVER=MariaDB _SSH_PORT=22 _LOCAL_DEBIAN_MIRROR="ftp.debian.org" _LOCAL_UBUNTU_MIRROR="archive.ubuntu.com" _FORCE_GIT_MIRROR="" _DNS_SETUP_TEST=YES _NGINX_EXTRA_CONF="" _NGINX_WORKERS=AUTO _PHP_FPM_WORKERS=AUTO _BUILD_FROM_SRC=NO _PHP_MODERN_ONLY=YES _PHP_FPM_VERSION=5.3 _PHP_CLI_VERSION=5.3 _LOAD_LIMIT_ONE=1444 _LOAD_LIMIT_TWO=888 _CUSTOM_CONFIG_CSF=NO _CUSTOM_CONFIG_SQL=NO _CUSTOM_CONFIG_REDIS=NO _CUSTOM_CONFIG_PHP_5_2=NO _CUSTOM_CONFIG_PHP_5_3=NO _SPEED_VALID_MAX=3600 _NGINX_DOS_LIMIT=300 _SYSTEM_UPGRADE_ONLY=NO _USE_MEMCACHED=NO _NEWRELIC_KEY= _USE_STOCK=NO ### ### Configuration created on 121215-1545 ### with Barracuda version BOA-2.0.4 ### ### JK reinstall PHP _EXTRA_PACKAGES= _PHP_EXTRA_CONF="" _STRONG_PASSWORDS=NO _DB_BINARY_LOG=NO _DB_ENGINE=InnoDB _NGINX_LDAP=NO _PHP_GEOS=NO _PHP_MONGODB=NO Barracuda [Sun Apr 7 20:36:32 BST 2013] ==> INFO: Testing GitHub, Drupal and Gitorious servers availability, please wait... Barracuda [Sun Apr 7 20:36:33 BST 2013] ==> INFO: GitHub mirror repository will be used for this install Barracuda [Sun Apr 7 20:36:33 BST 2013] ==> INFO: Downloading little helpers, please wait... Barracuda [Sun Apr 7 20:36:35 BST 2013] ==> INFO: Checking BARRACUDA version... Barracuda [Sun Apr 7 20:36:35 BST 2013] ==> INFO: Version test result: OK Barracuda [Sun Apr 7 20:36:35 BST 2013] ==> INFO: Checking your Debian or Ubuntu version... Barracuda [Sun Apr 7 20:36:38 BST 2013] ==> Aegir with Nginx on Debian/squeeze - Skynet Agent v.BOA-2.0.7 Barracuda [Sun Apr 7 20:36:42 BST 2013] ==> UPGRADE START -> checkpoint: * Your e-mail address appears to be chris@webarchitects.co.uk - is that correct? * Your server hostname is puffin.webarch.net. * Your Aegir control panel is/will be available at https://master.puffin.webarch.net. Barracuda [Sun Apr 7 20:36:42 BST 2013] ==> INFO: Cleaning up temp files in /var/opt/ Barracuda [Sun Apr 7 20:36:44 BST 2013] ==> INFO: Updating apt sources Barracuda [Sun Apr 7 20:36:46 BST 2013] ==> INFO: We will use Debian mirror ftp.debian.org Barracuda [Sun Apr 7 20:36:50 BST 2013] ==> INFO: Running aptitude update, please wait... Barracuda [Sun Apr 7 20:37:01 BST 2013] ==> INFO: Upgrading required libraries and tools Barracuda [Sun Apr 7 20:37:01 BST 2013] ==> NOTE! This step may take a few minutes, please wait... Barracuda [Sun Apr 7 20:37:58 BST 2013] ==> INFO: Testing Nginx version... Barracuda [Sun Apr 7 20:38:00 BST 2013] ==> INFO: Installed Nginx version nginx/1.3.11, upgrade required Barracuda [Sun Apr 7 20:38:02 BST 2013] ==> INFO: Upgrading Nginx, please wait... Barracuda [Sun Apr 7 20:39:28 BST 2013] ==> INFO: Running aptitude full-upgrade again, please wait... Barracuda [Sun Apr 7 20:40:15 BST 2013] ==> INFO: Testing Nginx version... Barracuda [Sun Apr 7 20:40:17 BST 2013] ==> INFO: Installed Nginx version nginx/1.3.15, no upgrade required Barracuda [Sun Apr 7 20:40:19 BST 2013] ==> INFO: Checking SMTP connections, please wait... Barracuda [Sun Apr 7 20:40:21 BST 2013] ==> INFO: Upgrading a few more tools, please wait... Barracuda [Sun Apr 7 20:40:25 BST 2013] ==> INFO: Checking if PHP upgrade is available Barracuda [Sun Apr 7 20:40:27 BST 2013] ==> INFO: Installed PHP version 5.3.23-1~dotdeb.0, no upgrade required Barracuda [Sun Apr 7 20:40:27 BST 2013] ==> INFO: Installing PhpRedis upgrade for PHP-FPM 5.3.23, please wait... Barracuda [Sun Apr 7 20:41:16 BST 2013] ==> INFO: Installing JSMin upgrade for PHP-FPM 5.3.23, please wait... Barracuda [Sun Apr 7 20:41:47 BST 2013] ==> INFO: Installing Bazaar (bzr) 2.6b2, please wait... Barracuda [Sun Apr 7 20:43:12 BST 2013] ==> INFO: Upgrading lshell, please wait... Barracuda [Sun Apr 7 20:43:18 BST 2013] ==> INFO: Installed Redis version 2.6.9, upgrade/rebuild required Barracuda [Sun Apr 7 20:43:20 BST 2013] ==> INFO: Installing Redis update for Debian/squeeze, please wait... Barracuda [Sun Apr 7 20:44:35 BST 2013] ==> INFO: Generating random password for Redis server Barracuda [Sun Apr 7 20:44:35 BST 2013] ==> INFO: OS and services upgrade completed Barracuda [Sun Apr 7 20:44:37 BST 2013] ==> INFO: Restarting MariaDB server, please wait... Barracuda [Sun Apr 7 20:45:03 BST 2013] ==> INFO: Upgrading MariaDB tables if necessary, please wait a minute... Barracuda [Sun Apr 7 20:46:06 BST 2013] ==> INFO: Running Aegir Master Instance upgrade Barracuda [Sun Apr 7 20:46:11 BST 2013] ==> INFO: Testing previous install... Barracuda [Sun Apr 7 20:46:11 BST 2013] ==> INFO: Test OK, we can proceed with Hostmaster upgrade Barracuda [Sun Apr 7 20:46:11 BST 2013] ==> INFO: Moving old directories Barracuda [Sun Apr 7 20:46:11 BST 2013] ==> INFO: Downloading drush, please wait... Barracuda [Sun Apr 7 20:46:13 BST 2013] ==> INFO: Drush seems to be functioning properly Barracuda [Sun Apr 7 20:46:14 BST 2013] ==> INFO: Installing provision backend in /var/aegir/.drush Barracuda [Sun Apr 7 20:46:14 BST 2013] ==> INFO: Downloading Drush and Provision extensions, please wait... Barracuda [Sun Apr 7 20:46:15 BST 2013] ==> INFO: Running hostmaster-migrate, please wait... Barracuda [Sun Apr 7 20:47:40 BST 2013] ==> INFO: Running hosting-dispatch (1/3), please wait... Barracuda [Sun Apr 7 20:47:47 BST 2013] ==> INFO: Running hosting-dispatch (2/3), please wait... Barracuda [Sun Apr 7 20:47:54 BST 2013] ==> INFO: Running hosting-dispatch (3/3), please wait... Barracuda [Sun Apr 7 20:48:25 BST 2013] ==> INFO: Aegir Master Instance upgrade completed Barracuda [Sun Apr 7 20:48:27 BST 2013] ==> INFO: Installing extra Drush versions Barracuda [Sun Apr 7 20:48:29 BST 2013] ==> INFO: Drush 4 installation complete Barracuda [Sun Apr 7 20:48:31 BST 2013] ==> INFO: Drush 5 installation complete Barracuda [Sun Apr 7 20:48:32 BST 2013] ==> INFO: Drush 6 installation complete Barracuda [Sun Apr 7 20:48:39 BST 2013] ==> INFO: Restarting Redis and PHP-FPM, reloading Nginx Barracuda [Sun Apr 7 20:48:50 BST 2013] ==> INFO: New random password for MariaDB generated and stored in /root/.my.pass.txt Barracuda [Sun Apr 7 20:48:52 BST 2013] ==> INFO: New entry added to /var/log/barracuda_log.txt Barracuda [Sun Apr 7 20:48:52 BST 2013] ==> INFO: Cleaning up system swap, it may take a moment, please wait... Barracuda [Sun Apr 7 20:49:01 BST 2013] ==> CARD: Now charging your credit card for this automated upgrade service... Barracuda [Sun Apr 7 20:49:07 BST 2013] ==> JOKE: Just kidding! Enjoy your Aegir Hosting System :) Barracuda [Sun Apr 7 20:49:11 BST 2013] ==> Final post-upgrade cleaning, please wait a moment... Barracuda [Sun Apr 7 20:49:22 BST 2013] ==> BYE! BARRACUDA upgrade completed Bye puffin:~# octopus up-stable all load is 88 while maxload is 1888 Octopus upgrade for User /data/disk/tn waiting 6 sec Octopus [Sun Apr 7 20:49:51 BST 2013] ==> BOA Skynet welcomes you aboard! Octopus [Sun Apr 7 20:49:54 BST 2013] ==> INFO: Reading your /root/.tn.octopus.cnf config file Octopus [Sun Apr 7 20:49:55 BST 2013] ==> NOTE! Please review all config options displayed below ### ### Configuration created on 121215-1617 with ### Octopus version BOA-2.0.4 ### ### NOTE: the group of settings displayed bellow ### will *override* all listed settings in the Octopus script. ### _USER="tn" _MY_EMAIL="chris@webarchitects.co.uk" _PLATFORMS_LIST="D7P D8E" _ALLOW_UNSUPPORTED=NO _AUTOPILOT=NO _HM_ONLY=NO _O_CONTRIB_UP=YES _DEBUG_MODE=NO _MY_OWNIP= _FORCE_GIT_MIRROR="" _THIS_DB_HOST=localhost _DNS_SETUP_TEST=NO _HOT_SAUCE=NO _USE_CURRENT=YES _REMOTE_CACHE_IP=127.0.0.1 _LOCAL_NETWORK_IP= _PHP_FPM_VERSION=5.3 _PHP_CLI_VERSION=5.3 _USE_STOCK=NO ### ### NOTE: the group of settings displayed bellow will be *overriden* ### by config files stored in the /data/disk/tn/log/ directory, ### but only on upgrade. ### _DOMAIN="tn.puffin.webarch.net" _CLIENT_EMAIL="chris@webarchitects.co.uk" _CLIENT_OPTION="SSD" _CLIENT_SUBSCR="Y" _CLIENT_CORES="8" ### ### Configuration created on 121215-1617 with ### Octopus version BOA-2.0.4 ### _STRONG_PASSWORDS=NO Do you want to proceed with the upgrade? [Y/n] y Octopus [Sun Apr 7 20:50:30 BST 2013] ==> INFO: Testing GitHub, Drupal and Gitorious servers availability, please wait... Octopus [Sun Apr 7 20:50:31 BST 2013] ==> INFO: GitHub mirror repository will be used for this install Octopus [Sun Apr 7 20:50:32 BST 2013] ==> UPGRADE in progress... Octopus [Sun Apr 7 20:50:32 BST 2013] ==> START -> checkpoint: * Your Aegir control panel for this instance is available at https://tn.puffin.webarch.net * Your Aegir system user for this instance is tn * This Octopus will use PHP-CLI 5.3 for all sites * This Octopus will use PHP-FPM 5.3 both for D6 and D7 sites * This Octopus includes platforms: D7P D8E / Unsupported: NO * This Octopus options are listed as SSD / Y / 8 C Do you want to proceed? [Y/n] y Octopus [Sun Apr 7 20:50:44 BST 2013] ==> 8s before we will continue... Octopus [Sun Apr 7 20:51:05 BST 2013] ==> INIT A: Aegir automated install script part A Octopus [Sun Apr 7 20:51:05 BST 2013] ==> INFO A: Checking OCTOPUS version, please wait... Octopus [Sun Apr 7 20:51:05 BST 2013] ==> INFO: Version test result: OK Octopus [Sun Apr 7 20:51:05 BST 2013] ==> UPGRADE A: UPGRADE Octopus [Sun Apr 7 20:51:07 BST 2013] ==> UPGRADE A: Shared platforms code v.002 (hot new) will be created Octopus [Sun Apr 7 20:51:07 BST 2013] ==> UPGRADE A: Creating directories with correct permissions, please wait... Octopus [Sun Apr 7 20:51:13 BST 2013] ==> UPGRADE A: Running hosting-dispatch (1/3), please wait... Octopus [Sun Apr 7 20:51:19 BST 2013] ==> UPGRADE A: Running hosting-dispatch (2/3), please wait... Octopus [Sun Apr 7 20:51:25 BST 2013] ==> UPGRADE A: Running hosting-dispatch (3/3), please wait... Do you want to upgrade this Aegir Satellite Instance? [Y/n] y Octopus [Sun Apr 7 20:52:03 BST 2013] ==> UPGRADE A: Switching user and running AegirSetupB, please wait... Octopus [Sun Apr 7 20:52:06 BST 2013] ==> INIT B: Aegir automated install script part B Octopus [Sun Apr 7 20:52:06 BST 2013] ==> UPGRADE B: Creating directories with correct permissions Octopus [Sun Apr 7 20:52:08 BST 2013] ==> UPGRADE B: Running standard installer Octopus [Sun Apr 7 20:52:10 BST 2013] ==> UPGRADE B: Downloading drush, please wait... Octopus [Sun Apr 7 20:52:13 BST 2013] ==> UPGRADE B: Drush seems to be functioning properly Octopus [Sun Apr 7 20:52:13 BST 2013] ==> UPGRADE B: Installing provision backend in /data/disk/tn/.drush Octopus [Sun Apr 7 20:52:13 BST 2013] ==> UPGRADE B: Downloading Drush and Provision extensions, please wait... Octopus [Sun Apr 7 20:52:16 BST 2013] ==> UPGRADE B: Testing previous install... Octopus [Sun Apr 7 20:52:16 BST 2013] ==> UPGRADE B: Hostmaster STATUS: upgrade start Octopus [Sun Apr 7 20:52:18 BST 2013] ==> UPGRADE B: Running hostmaster-migrate, please wait... Octopus [Sun Apr 7 20:53:49 BST 2013] ==> UPGRADE B: Hostmaster STATUS: upgrade completed Octopus [Sun Apr 7 20:53:49 BST 2013] ==> UPGRADE B: Simple check if Aegir upgrade is successful Octopus [Sun Apr 7 20:53:51 BST 2013] ==> UPGRADE B: Aegir upgrade test result: OK Octopus [Sun Apr 7 20:53:51 BST 2013] ==> UPGRADE B: Enhancing Aegir UI, please wait... Octopus [Sun Apr 7 20:54:36 BST 2013] ==> UPGRADE A: Aegir Satellite Instance upgrade completed Do you want to install some latest, ready to use platforms? [Y/n] n Octopus [Sun Apr 7 20:55:25 BST 2013] ==> UPGRADE A: No new platforms added this time Octopus [Sun Apr 7 20:55:27 BST 2013] ==> UPGRADE A: Cleaning up various dot files, please wait... /opt/tmp/nginx-for-drupal/aegir/scripts/AegirSetupA.sh.txt: line 1168: cd: /data/all/002: No such file or directory touch: cannot touch `/data/all/002/dot-files-ctrl-BOA-2.0.7': No such file or directory Octopus [Sun Apr 7 20:55:32 BST 2013] ==> UPGRADE A: Adding symlink to the system clean_missing_modules Octopus [Sun Apr 7 20:55:34 BST 2013] ==> UPGRADE A: Adding symlink to the system drush_ecl ln: creating symbolic link `/home/tn.ftp/platforms/002/keys': No such file or directory touch: cannot touch `/data/all/002/javascript_aggregator.out.txt': No such file or directory Octopus [Sun Apr 7 20:55:50 BST 2013] ==> UPGRADE A: Preparing setupmail.txt Octopus [Sun Apr 7 20:55:52 BST 2013] ==> UPGRADE A: New entry added to /data/disk/tn/log/octopus_log.txt Octopus [Sun Apr 7 20:55:52 BST 2013] ==> UPGRADE A: Final cleaning, please wait a moment... Octopus [Sun Apr 7 20:55:58 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib/backup_migrate Octopus [Sun Apr 7 20:55:58 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib/purge Octopus [Sun Apr 7 20:55:58 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib/expire Octopus [Sun Apr 7 20:55:58 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib/boost Octopus [Sun Apr 7 20:56:03 BST 2013] ==> UPGRADE A: New modules in /data/all/001/o_contrib: purge expire backup_migrate Octopus [Sun Apr 7 20:56:03 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib_seven/purge Octopus [Sun Apr 7 20:56:03 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib_seven/expire Octopus [Sun Apr 7 20:56:03 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib_seven/filefield_nginx_progress Octopus [Sun Apr 7 20:56:03 BST 2013] ==> UPGRADE A: Removed /data/all/001/o_contrib_seven/boost Octopus [Sun Apr 7 20:56:07 BST 2013] ==> UPGRADE A: New modules in /data/all/001/o_contrib_seven: filefield_nginx_progress purge expire Octopus [Sun Apr 7 20:56:07 BST 2013] ==> UPGRADE A: Starting the cron now Octopus [Sun Apr 7 20:56:07 BST 2013] ==> UPGRADE A: All done! Octopus [Sun Apr 7 20:56:07 BST 2013] ==> BYE! waiting 9 sec Done for /data/disk/tn OCTOPUS upgrade completed Bye
There were 225 502's served to clients during the upgrade, I'll follow up that issue on ticket:483, the script that causes them has been re-enabled, the upgrade is now complete.
comment:4 Changed 4 years ago by jim
- Status changed from closed to reopened
- Resolution fixed deleted
Yes go for it... Upgrades don't take very long and the actual downtime is only a minute at most due to the way fpm works. The update will most likely replace the modified cron and fpm killing code you commented out - I say let it so we can see what the effect is, then you can comment out again if needs be. I'll be updating my server tonight too... On 7 Apr 2013 16:37, "Transiton Technology Trac" < trac@tech.transitionnetwork.org> wrote: > #529: New Barracuda BOA-2.0.7 Edition available > -----------------------------------+----------------------------------- > Reporter: chris | Owner: chris > Type: maintenance | Status: new > Priority: major | Milestone: > Component: Live server | Resolution: > Keywords: | Estimated Number of Hours: 0.5 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 0.25 | > -----------------------------------+----------------------------------- > > Comment (by chris): > > Sunday night is generally a low usage time for the site -- would it be OK > if I do the upgrade later tonight? > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/529#comment:2> > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. >
comment:5 Changed 4 years ago by ed
Fine by me - Jim's call - On 7 Apr 2013, at 16:37, Transiton Technology Trac <trac@tech.transitionnetwork.org> wrote: > #529: New Barracuda BOA-2.0.7 Edition available > -----------------------------------+----------------------------------- > Reporter: chris | Owner: chris > Type: maintenance | Status: new > Priority: major | Milestone: > Component: Live server | Resolution: > Keywords: | Estimated Number of Hours: 0.5 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 0.25 | > -----------------------------------+----------------------------------- > > Comment (by chris): > > Sunday night is generally a low usage time for the site -- would it be OK > if I do the upgrade later tonight? > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/529#comment:2> > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. ~~~~ Ed Mitchell: Transition Network Web manager web: http://transitionnetwork.org project blog: http://transitionnetwork.org/blogs/ed-mitchell mobile: +44 (0)7807 141 828 office hours: Mon, Tues, Wed, Thurs company no. 6135675 charity no. 1128675 Subscribe to Transition news: http://tinyurl.com/transitionregister ~~~~
Note: See
TracTickets for help on using
tickets.
I have read through the changelog at http://drupalcode.org/project/barracuda.git/blob_plain/HEAD:/CHANGELOG.txt some things are already upgraded, eg mysql and php but not nginx:
I also noticed these things in the changelog:
The upgrade steps are documented here wiki:PuffinServer#UpgradingBOA and based on the time the last one took it'll take up to 30 mins, so -- Jim do you think it's safe to run the upgrade and when would be a good time to run the update?
After the upgrade has been done we should watch out for 502 errors, ticket:483