| 95 | | === Upgrade tickets === |
| | 95 | === MariaDB === |
| | 96 | |
| | 97 | BOA installs MariaDB as the MySQL server using the debs from the MariaDB site. |
| | 98 | |
| | 99 | We have set MySQL to use a RAM disk for temp tables, see ticket:591 |
| | 100 | |
| | 101 | === php-fpm === |
| | 102 | |
| | 103 | Please note that the version of php-fpm that the http://transitionnetwork.org/ site needs to be running to work properly is: |
| | 104 | |
| | 105 | {{{ |
| | 106 | /etc/init.d/php53-fpm |
| | 107 | }}} |
| | 108 | |
| | 109 | The config file for it is {{{/opt/local/etc/php53-fpm.conf}}} and when it is running it is listed in top and ps as php-fpm: |
| | 110 | |
| | 111 | {{{ |
| | 112 | ps -lA | grep php |
| | 113 | 1 S 0 29482 1 0 80 0 - 188067 - ? 00:00:00 php-fpm |
| | 114 | 5 S 33 29483 29482 2 80 0 - 205351 - ? 00:01:32 php-fpm |
| | 115 | 5 S 33 29484 29482 2 80 0 - 199726 - ? 00:01:28 php-fpm |
| | 116 | ... |
| | 117 | }}} |
| | 118 | |
| | 119 | Please note the settings that we changed from the default BOA ones in {{{/opt/local/etc/php53-fpm.conf}}} below. |
| | 120 | |
| | 121 | When the server boots another version of php-fpm was also started, which is listed in top and ps as php5-fpm, this one: |
| | 122 | |
| | 123 | {{{ |
| | 124 | /etc/init.d/php5-fpm |
| | 125 | }}} |
| | 126 | |
| | 127 | Which is configured via files in {{{/etc/php5/fpm/}}}. This version should be stopped if it is found to be running: |
| | 128 | |
| | 129 | {{{ |
| | 130 | /etc/init.d/php5-fpm stop |
| | 131 | }}} |
| | 132 | |
| | 133 | It was stopped from running at runlevel 2 by deleting this symlink (see ticket:560#comment:17): |
| | 134 | |
| | 135 | {{{ |
| | 136 | /etc/rc2.d/S01php5-fpm -> ../init.d/php5-fpm |
| | 137 | }}} |
| | 138 | |
| | 139 | But that didn't solve the problem, see ticket:580. |
| | 140 | |
| | 141 | |
| | 142 | === Upgrading BOA === |
| | 143 | |
| | 144 | The steps are documented in [http://drupalcode.org/project/barracuda.git/blob/HEAD:/docs/UPGRADE.txt UPGRADE.txt], to upgrade everything run these commands, this process can take around 30 mins: |
| | 145 | |
| | 146 | {{{ |
| | 147 | sudo -i |
| | 148 | screen |
| | 149 | cd |
| | 150 | wget -q -U iCab http://files.aegir.cc/BOA.sh.txt |
| | 151 | bash BOA.sh.txt |
| | 152 | barracuda up-stable |
| | 153 | octopus up-stable all |
| | 154 | }}} |
| | 155 | |
| | 156 | ==== Upgrade tickets ==== |
| 102 | | |
| 103 | | === MariaDB === |
| 104 | | |
| 105 | | BOA installs MariaDB as the MySQL server using the debs from the MariaDB site. |
| 106 | | |
| 107 | | We have set MySQL to use a RAM disk for temp tables, see ticket:591 |
| 108 | | |
| 109 | | === php-fpm === |
| 110 | | |
| 111 | | Please note that the version of php-fpm that the http://transitionnetwork.org/ site needs to be running to work properly is: |
| 112 | | |
| 113 | | {{{ |
| 114 | | /etc/init.d/php53-fpm |
| 115 | | }}} |
| 116 | | |
| 117 | | The config file for it is {{{/opt/local/etc/php53-fpm.conf}}} and when it is running it is listed in top and ps as php-fpm: |
| 118 | | |
| 119 | | {{{ |
| 120 | | ps -lA | grep php |
| 121 | | 1 S 0 29482 1 0 80 0 - 188067 - ? 00:00:00 php-fpm |
| 122 | | 5 S 33 29483 29482 2 80 0 - 205351 - ? 00:01:32 php-fpm |
| 123 | | 5 S 33 29484 29482 2 80 0 - 199726 - ? 00:01:28 php-fpm |
| 124 | | ... |
| 125 | | }}} |
| 126 | | |
| 127 | | Please note the settings that we changed from the default BOA ones in {{{/opt/local/etc/php53-fpm.conf}}} below. |
| 128 | | |
| 129 | | When the server boots another version of php-fpm was also started, which is listed in top and ps as php5-fpm, this one: |
| 130 | | |
| 131 | | {{{ |
| 132 | | /etc/init.d/php5-fpm |
| 133 | | }}} |
| 134 | | |
| 135 | | Which is configured via files in {{{/etc/php5/fpm/}}}. This version should be stopped if it is found to be running: |
| 136 | | |
| 137 | | {{{ |
| 138 | | /etc/init.d/php5-fpm stop |
| 139 | | }}} |
| 140 | | |
| 141 | | It was stopped from running at runlevel 2 by deleting this symlink (see ticket:560#comment:17): |
| 142 | | |
| 143 | | {{{ |
| 144 | | /etc/rc2.d/S01php5-fpm -> ../init.d/php5-fpm |
| 145 | | }}} |
| 146 | | |
| 147 | | But that didn't solve the problem, see ticket:580. |
| 148 | | |
| 149 | | |
| 150 | | === Upgrading BOA === |
| 151 | | |
| 152 | | The steps are documented in [http://drupalcode.org/project/barracuda.git/blob/HEAD:/docs/UPGRADE.txt UPGRADE.txt], to upgrade everything run these commands, this process can take around 30 mins: |
| 153 | | |
| 154 | | {{{ |
| 155 | | sudo -i |
| 156 | | cd |
| 157 | | wget -q -U iCab http://files.aegir.cc/BOA.sh.txt |
| 158 | | bash BOA.sh.txt |
| 159 | | barracuda up-stable |
| 160 | | octopus up-stable all |
| 161 | | }}} |