| | 50 | |
| | 51 | === Errors with fail2ban === |
| | 52 | |
| | 53 | After the initial upgrade, dpkg reports an error restarting fail2ban. |
| | 54 | |
| | 55 | Next run `freepuppet-run` which will also fill the screen with errors. |
| | 56 | |
| | 57 | When complete re-run freepuppet-run and all should be swell again. |
| | 58 | === PHP and Moshes === |
| | 59 | |
| | 60 | When upgrading to stretch, php5-fpm will remain and php7.0-fpm will be added. Both will exist at the same time. |
| | 61 | |
| | 62 | Normally, the proper step would be to carefully transition the php configuration from /etc/php5/fpm/pool.d/site.conf to /etc/php/7.0/fpm/pool.d/sites.conf and then purge PHP5. However, on moshes, we are keeping PHP5 until December 31, 2018 to help with the transition of member web sites. |
| | 63 | |
| | 64 | Additionally, red will handle the transition by auto-converting all sites to the most recent version of PHP available, ''unless'' the following comment is present in the web configuration: |
| | 65 | |
| | 66 | {{{ |
| | 67 | # mfplphpversion: 5 |
| | 68 | }}} |
| | 69 | |
| | 70 | After upgrading a mosh, you must run `/usr/local/share/red/node/sbin/red-regenerate-web-config` |
| | 71 | |
| | 72 | If that comment is present, then the site will remain on PHP5 after `red-regenerate-web-config` is run. Otherwise the site will switch to using PHP7.0. |
| 138 | | When upgrading to stretch, php5-fpm will remain and php7.0-fpm will be added. Both will exist at the same time. |
| 139 | | |
| 140 | | Normally, the proper step would be to carefully transition the php configuration from /etc/php5/fpm/pool.d/site.conf to /etc/php/7.0/fpm/pool.d/sites.conf and then purge PHP5. However, on moshes, we are keeping PHP5 until December 31, 2018 to help with the transition of member web sites. |
| 141 | | |
| 142 | | Additionally, red will handle the transition by auto-converting all sites to the most recent version of PHP available, ''unless'' the following comment is present in the web configuration: |
| 143 | | |
| 144 | | {{{ |
| 145 | | # mfplphpversion: 5 |
| 146 | | }}} |
| 147 | | |
| 148 | | After upgrading a mosh, you must run `/usr/local/share/red/node/sbin/red-regenerate-web-config` |
| 149 | | |
| 150 | | If that comment is present, then the site will remain on PHP5 after `red-regenerate-web-config` is run. Otherwise the site will switch to using PHP7.0. |