| | 1 | [[PageOutline()]] |
| | 2 | = Technical notes on upgrading from squeeze to wheezy = |
| | 3 | |
| | 4 | This page details some of the issues we've encountered regarding the squeeze to wheezy upgrades, additional information can be found on #7425, [[squeeeze-wheezy-mosh-upgrade]], and [[support-team/server-upgrade-status]]. |
| | 5 | |
| | 6 | == phpmyadmin and php5_cgi == |
| | 7 | We encountered weirdness with phpmyadmin during the upgrade to rose. |
| | 8 | |
| | 9 | After the upgrade phpmyadmin failed to load with the error: |
| | 10 | |
| | 11 | `navigation.php< not found on the server.` |
| | 12 | |
| | 13 | Apparently the apache module php5_cgi created this problem as |
| | 14 | dis-enabling it fixed the error. However, we're not sure why the |
| | 15 | module got loaded. We'll need to pay attention to this issue on |
| | 16 | future upgrades, though that module does not seem to be loaded on |
| | 17 | other moshes. |
| | 18 | |
| | 19 | We also needed to rebuild the phpmyadmin control database. This was |
| | 20 | done using the info from /etc/phpmyadmi/config-db.php. It's not clear |
| | 21 | why, but the old phpmyadmin control database did not transfer to the |
| | 22 | upgraded version of the system. Likely due to choices made during the |
| | 23 | phpmyadmin reconfiguration. |
| | 24 | |
| | 25 | == configuration files to keep == |
| | 26 | Almost all configuration files will use the package maintainers version. Here is the short list of things not to modify: |
| | 27 | === /etc/cron.d/awstats === |
| | 28 | Keep the currently installed version, we do not actually want awstats to install a cronjob since we manage this cronjob separately. |
| | 29 | === /var/log/sysstat === |
| | 30 | The newer version of sysstat asks that you delete the current files, '''Do it!'''. |
| | 31 | === /etc/default/grub === |
| | 32 | You will be given the following options for grub: |
| | 33 | |
| | 34 | 1. install the package maintainer's version |
| | 35 | 2. keep the local version currently installed |
| | 36 | 3. show the differences between the versions |
| | 37 | 4. show a side-by-side difference between the versions |
| | 38 | 5. show a 3-way difference between available versions |
| | 39 | 6. do a 3-way merge between available versions (experimental) |
| | 40 | 7. start a new shell to examine the situation |
| | 41 | |
| | 42 | You can safely just choose to keep the local version as there are no meaningful changes to the package maintainers version. |
| | 43 | |
| | 44 | === rebooting === |
| | 45 | Upon rebooting rose using `shutdown -h now` the service on rose's host failed to start the kvm process. This required the following commands from `root@florence.mayfirst.org`: |
| | 46 | |
| | 47 | {{{ |
| | 48 | sv down rose |
| | 49 | sv up /etc/sv/kvm/rose |
| | 50 | }}} |
| | 51 | |