Hello, I need Help!
I'm trying to upgrade from my BOA install from BOA-2.0.1 to BOA-2.0.2 on a Linode VPS running Ubuntu 10.04 LTS 64bit Disk Image.
The first time I ran the upgrade I kept getting errors similiar to this:
make --quiet failed. Error (if any): 0
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again.
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
make: `configure' is up to date.
INDEX lib/
MSGFMT po/de.msgmake --quiet install failed. Error (if any): 0But the installer seemed to recover and I answered Yes to continue through both the Barracuda and Octopus installers since I didn't see "any error with advice to run 'dpkg --configure -a". However, upon "completetion" of running both installers, all I got was an NGINX 403 Forbidden error when I tried to access my BOA Hosting website and git was now uninstalled. ($ which git gave me nothing.)
So not knowing what else to do, I recovered the whole Linode from the backup I made just prior to running this install. Before running the upgrade again, I confirmed that git was installed ($ which git gave me /usr/bin/git ) and I ran the installer for BOA-2.0.1 to take care of the outstanding Linux apt upgrades that I also new were waiting. Then I ran the installer again, but this time since I had the errors again I stopped the installer before it ran the Aegir Master Instance upgrade.
Here is the output of the installer this second time around:
root@wwm001:/home/wickwood/boa# bash BARRACUDA.sh.txt
Barracuda [Sat Feb 18 17:23:56 EST 2012] ==> STATUS: This script is ran as a root user.
Barracuda [Sat Feb 18 17:23:56 EST 2012] ==> STATUS: Stop the cron and wait 5 sec.
Barracuda [Sat Feb 18 17:24:02 EST 2012] ==> INFO: Install or upgrade checking, please wait...
Barracuda [Sat Feb 18 17:24:05 EST 2012] ==> INFO: UPGRADE...
Barracuda [Sat Feb 18 17:24:05 EST 2012] ==> INFO: Reading your /root/.barracuda.cnf config file.
Barracuda [Sat Feb 18 17:24:08 EST 2012] ==> NOTE: Please review all config options displayed below.
Barracuda [Sat Feb 18 17:24:08 EST 2012] ==> NOTE: It will *override* all settings in the Barracuda script.
###
### Configuration created on 111028-1513 with
### Barracuda version BOA-1.4S
###
### 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=NO
_MY_OWNIP="66.228.36.66"
_MY_HOSTN="wwm001.wickwoodmarketing.com"
_MY_FRONT="master.wickwoodmarketing.com"
_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="webmaster@wickwoodonline.com"
_XTRAS_LIST=ALL
_AUTOPILOT=NO
_DEBUG_MODE=NO
_DB_SERVER=MariaDB
_SSH_PORT=22
_LOCAL_DEBIAN_MIRROR=""
_LOCAL_UBUNTU_MIRROR=""
_FORCE_GIT_MIRROR=""
_USE_SPEED_BOOSTER=YES
_DNS_SETUP_TEST=YES
_NGINX_EXTRA_CONF=""
_PHP_FORCE_REINSTALL=NO
_SQL_FORCE_REINSTALL=NO
###
### Configuration created on 111028-1513 with
### Barracuda version BOA-1.4S
###
### Configuration added on 120218-1723
_NGINX_WORKERS=AUTO
_PHP_FPM_WORKERS=AUTO
### Configuration added on 120218-1723
_PHP_INSTALL_NEW=YES
### Configuration added on 120218-1723
_PHP_FPM_VERSION=5.2
Do you want to proceed with the upgrade? [Y/n] Y
Barracuda [Sat Feb 18 17:24:35 EST 2012] ==> INFO: Testing Drupal, GitHub and Gitorious servers availability, please wait...
Barracuda [Sat Feb 18 17:24:38 EST 2012] ==> INFO: Drupal master repository will be used for this install
Barracuda [Sat Feb 18 17:24:39 EST 2012] ==> INFO: Fix for possibly broken git-core
Barracuda [Sat Feb 18 17:24:42 EST 2012] ==> INFO: Downloading little helpers, please wait...
Barracuda [Sat Feb 18 17:24:45 EST 2012] ==> INFO: Checking BARRACUDA version, please wait...
Barracuda [Sat Feb 18 17:24:45 EST 2012] ==> INFO: Version test result: OK
Barracuda [Sat Feb 18 17:24:45 EST 2012] ==> STATUS: Checking your Debian or Ubuntu version...
Barracuda [Sat Feb 18 17:24:50 EST 2012] ==> Aegir v.BOA-2.0.2 with Nginx on Ubuntu/lucid - highly automated install/upgrade script.
Barracuda [Sat Feb 18 17:24:58 EST 2012] ==> UPGRADE START -> checkpoint:
* Your e-mail address appears to be webmaster@wickwoodonline.com - is that correct?
* Your server hostname is wwm001.wickwoodmarketing.com.
* Your Aegir control panel is/will be available at https://master.wickwoodmarketing.com.
Do you want to proceed with the upgrade? [Y/n] Y
Barracuda [Sat Feb 18 17:26:14 EST 2012] ==> INFO: Clean up temp files in /var/opt/
Barracuda [Sat Feb 18 17:26:18 EST 2012] ==> INFO: Running apt update, please wait...
Barracuda [Sat Feb 18 17:26:29 EST 2012] ==> INFO: Install/upgrade required libraries and tools
Barracuda [Sat Feb 18 17:26:29 EST 2012] ==> NOTE: This step may take a few minutes (depending on your server speed), please wait...
Barracuda [Sat Feb 18 17:26:45 EST 2012] ==> INFO: Running apt update, please wait...
Barracuda [Sat Feb 18 17:26:54 EST 2012] ==> INFO: Running apt update, please wait...
Barracuda [Sat Feb 18 17:27:06 EST 2012] ==> INFO: Installing latest Git from sources, please wait...
make --quiet failed. Error (if any): 0
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again.
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
make: `configure' is up to date.
INDEX lib/
MSGFMT po/de.msgmake --quiet install failed. Error (if any): 0
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again.
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
make: `configure' is up to date.
INDEX lib/
MSGFMT po/de.msg MSGFMT po/de.msg Barracuda [Sat Feb 18 17:28:51 EST 2012] ==> INFO: SMTP check
Barracuda [Sat Feb 18 17:28:55 EST 2012] ==> INFO: Fix for Nginx startup script, please wait...
Barracuda [Sat Feb 18 17:28:59 EST 2012] ==> INFO: No fix required
Barracuda [Sat Feb 18 17:28:59 EST 2012] ==> INFO: Install/upgrade a few more tools, please wait...
Barracuda [Sat Feb 18 17:29:05 EST 2012] ==> INFO: PHP installed version auto-discovering now, please wait...
Barracuda [Sat Feb 18 17:29:09 EST 2012] ==> INFO: PHP rebuild required to include MariaDB 5.2.10 libs
Barracuda [Sat Feb 18 17:29:13 EST 2012] ==> INFO: Installing PHP-FPM 5.2.17
Barracuda [Sat Feb 18 17:29:13 EST 2012] ==> NOTE: This step may take longer than 8 minutes (depending on your server speed), please wait...
Barracuda [Sat Feb 18 17:29:22 EST 2012] ==> INFO: Installing PHP-FPM 5.2.17 part 1/3
Barracuda [Sat Feb 18 17:29:30 EST 2012] ==> INFO: Installing PHP-FPM 5.2.17 part 2/3
Barracuda [Sat Feb 18 17:30:51 EST 2012] ==> INFO: Installing PHP-FPM 5.2.17 part 3/3
Barracuda [Sat Feb 18 17:37:27 EST 2012] ==> INFO: Installing libmemcached with memcached for PHP-FPM 5.2.17, please wait...
Barracuda [Sat Feb 18 17:40:50 EST 2012] ==> INFO: Installing Suhosin for PHP-FPM 5.2.17, please wait...
Barracuda [Sat Feb 18 17:41:09 EST 2012] ==> INFO: Installing UploadProgress for PHP-FPM 5.2.17, please wait...
Barracuda [Sat Feb 18 17:41:21 EST 2012] ==> INFO: Installing APC for PHP-FPM 5.2.17, please wait...
Barracuda [Sat Feb 18 17:41:43 EST 2012] ==> INFO: Installing MailParse for PHP-FPM 5.2.17, please wait...
Barracuda [Sat Feb 18 17:41:56 EST 2012] ==> INFO: Installing IonCube x86_64 version for PHP-FPM 5.2.17, please wait...
Barracuda [Sat Feb 18 17:42:05 EST 2012] ==> INFO: Installing PHP-FPM 5.3.10
Barracuda [Sat Feb 18 17:42:05 EST 2012] ==> NOTE: This step may take longer than 8 minutes (depending on your server speed), please wait...
Barracuda [Sat Feb 18 17:42:14 EST 2012] ==> INFO: Installing PHP-FPM 5.3.10 part 1/3
Barracuda [Sat Feb 18 17:42:23 EST 2012] ==> INFO: Installing PHP-FPM 5.3.10 part 2/3
Barracuda [Sat Feb 18 17:43:38 EST 2012] ==> INFO: Installing PHP-FPM 5.3.10 part 3/3
Barracuda [Sat Feb 18 17:50:56 EST 2012] ==> INFO: Installing memcached for PHP-FPM 5.3.10, please wait...
Barracuda [Sat Feb 18 17:51:12 EST 2012] ==> INFO: Installing Suhosin for PHP-FPM 5.3.10, please wait...
Barracuda [Sat Feb 18 17:51:31 EST 2012] ==> INFO: Installing UploadProgress for PHP-FPM 5.3.10, please wait...
Barracuda [Sat Feb 18 17:51:42 EST 2012] ==> INFO: Installing APC for PHP-FPM 5.3.10, please wait...
Barracuda [Sat Feb 18 17:52:04 EST 2012] ==> INFO: Installing MailParse for PHP-FPM 5.3.10, please wait...
Barracuda [Sat Feb 18 17:52:17 EST 2012] ==> INFO: Nginx version test, please wait...
Barracuda [Sat Feb 18 17:52:21 EST 2012] ==> INFO: Installed Nginx version nginx/1.0.11, upgrade required
Barracuda [Sat Feb 18 17:52:25 EST 2012] ==> INFO: Install/upgrade Nginx, please wait...
BARRACUDA.sh.txt: line 3001: cd: ngx_cache_purge: No such file or directory
sh ./configure --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --user=www-data --group=www-data --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --without-http_scgi_module --without-http_uwsgi_module --with-debug --with-ipv6 --with-http_geoip_module --add-module=/var/opt/ngx_cache_purge/ failed. Error (if any): 0
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again.
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
configuring additional modules
adding module in /var/opt/ngx_cache_purge/
./configure: error: no /var/opt/ngx_cache_purge//config was found
make --quiet failed. Error (if any): 0
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again.
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
configuring additional modules
adding module in /var/opt/ngx_cache_purge/
./configure: error: no /var/opt/ngx_cache_purge//config was found
make --quiet install failed. Error (if any): 0
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again.
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
configuring additional modules
adding module in /var/opt/ngx_cache_purge/
./configure: error: no /var/opt/ngx_cache_purge//config was found
Barracuda [Sat Feb 18 17:52:48 EST 2012] ==> INFO: Installing lshell upgrade, please wait...
find: `/var/opt/lshell-0.9.15-beta1': No such file or directory
BARRACUDA.sh.txt: line 3092: cd: /var/opt/lshell-0.9.15-beta1: No such file or directory
python setup.py install failed. Error (if any): 0
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again.
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
configuring additional modules
adding module in /var/opt/ngx_cache_purge/
./configure: error: no /var/opt/ngx_cache_purge//config was found
Barracuda [Sat Feb 18 17:52:54 EST 2012] ==> INFO: Restarting PHP-FPM and Nginx
Barracuda [Sat Feb 18 17:53:01 EST 2012] ==> INFO: OS and services installation/upgrade completed
Do you want to upgrade Aegir Master Instance? [Y/n] n
Barracuda [Sat Feb 18 17:54:11 EST 2012] ==> INFO: Aegir Master Instance not upgraded this time
Barracuda [Sat Feb 18 17:54:15 EST 2012] ==> INFO: Fix for mime types in Nginx, please wait...
Barracuda [Sat Feb 18 17:54:37 EST 2012] ==> INFO: Upgrading Chive MariaDB Manager, please wait...
Barracuda [Sat Feb 18 17:54:51 EST 2012] ==> CARD: Now charging your credit card for this automated install/upgrade service...
Barracuda [Sat Feb 18 17:54:55 EST 2012] ==> JOKE: Just kidding! Enjoy your Aegir Hosting System :)
Barracuda [Sat Feb 18 17:54:59 EST 2012] ==> Final post-install cleaning, please wait...
Barracuda [Sat Feb 18 17:55:07 EST 2012] ==> BYE!
After the installer finished, I immediately ran $ which git again and again git was missing. Also, when I tried to view /opt/tmp/aegir-install.log it did not exist, probably because it was temporary file i guess.
Notice from the output that the first failure occurs when the Barracuda script gets to "Installing latest Git from sources". Also, even though I went with the default PHP-FPM 5.2 version, the installer still ran the installation for PHP-FPM 5.3.10.
Since I did not run the upgrade to the Aegir Master Instance things are still running for me.
So what do you recommend that I do?
Thanks for your help (again) in advance! Hopefully it is just something stupid that I'm naively doing due to my lack of experience.
Steve
| Comment | File | Size | Author |
|---|---|---|---|
| barracuda.cnf_.txt | 1.24 KB | wickwood | |
| install.log_.txt | 5.56 KB | wickwood | |
| barracuda_log.txt | 1.86 KB | wickwood |
Comments
Comment #1
omega8cc commentedThe problem is that we tested 2.0.2 only with Lenny, Squeeze and Oneiric :/
Hotfix:
Now run Barracuda as usual - but we recommend HEAD instead of 2.0.2.
Comment #2
omega8cc commentedIt is normal that it installs also 5.3 - please read release notes for details.
Comment #3
omega8cc commentedWe will release 2.0.3 because of this critical bug on this weekend.
Comment #4
omega8cc commentedFix committed: http://drupalcode.org/project/barracuda.git/commit/cf97d20
Sorry Ubuntu folks!
Comment #5
wickwood commentedThanks for the prompt response!
In this case, should I also run Octopus from head as well?
I'll be sure to read the release notes more carefully next time, too.
I really appreciate all the work you do for this project and for us!!!
Steve
P.S. I hope I didn't post anything that compromises my security. If I did would you kindly let me know. I did remove my password as instructed, but some of this stuff I totally understand yet (obviously). Thanks again!!!
Comment #6
wickwood commentedSo I have attempted to run Barracuda 2.0.3-dev (HEAD) after doing the hot fix, and now I get these errors for installing drush while upgrading the Aegir Master Instance:
I thought maybe this is a permissions issue, and found that /var/aegir/.drush/drush_make has the user and group set as my primary login username, but all of the files inside it, including the ones giving this error, have user and group set aegir.
What do you suggest that I do now?
Thanks again for (more) help in advance!!
Steve
Comment #7
omega8cc commentedThis is probably a side effect of broken previous upgrade. Please try to move away /var/aegir/.drush/drush_make or run
chown -R aegir:aegir /var/aegir/.drushbefore running Barracuda again. Also, please enable debugging.Comment #8
wickwood commentedI wasn't sure what you meant by "move away /var/aegir/.drush/drush_make" but I had already thought about running
chown -R aegir:aegir /var/aegir/.drush.So I did run the chown command you recommended and re-ran barracuda in the debugging mode. Everything went well with no errors this time. Then I ran octopus head, and had no problems there either.
It is now working again and upgraded.
Thanks for your help (once again)!!!
Steve
Comment #9
omega8cc commentedWe will not release 2.0.3 to fix this issue. Instead, we applied this one patch directly to http://files.aegir.cc/versions/BARRACUDA.sh.txt file, which is always the official, latest release version listed in docs. There is no need for 2.0.3 release and extra confusion/work for unaffected folks.
Comment #10
omega8cc commentedMake it clear that only Ubuntu Lucid was affected.