Installation


Upgrades


DTC-Xen Installation


DTC-Xen / Dom0 Howtos

DTC-Xen / DomU Howtos

FAQ


DTC Howtos


Manuals


Features


Roadmap


Devel docs


Wiki - i18n


Wiki - Meta


Upgrade-To-Wheezy

General way to upgrade

As always, just let Debian upgrade everything and overwrite all of your configuration files. The DTC install script should be able to fix everything back.

Apache version

DTC generates Apache configuration files using AllowOverrideList, which requires a patched apache2 server. The update to wheezy will want to replace your current apache2 server with a newer version which lacks the aol patch, and consequently cannot be used with DTC. To place the current apache2 package on hold so that it is not updated:

   dpkg --list | grep apache2 | grep \.aol\. | awk '{print $2 " hold"}' | dpkg --set-selections

MySQL upgrades

On upgrade, MySQL should be adding 2 new tables in the mysql.user table. The problem is that it doesn't use the field names, but the order in the DB. So you have to fix this, since the dtcowner table will be at the position of the plugin table.

You will likely see the error message ERROR 1524 (HY000): Plugin 'none' is not loaded

First, kill any running MySQL server (you wont be able to kill it in another way since auth is destroyed):

   killall mysqld

Then start a MySQL daemon:

   mysqld --skip-grant-tables

On another window do:

   mysql --execute='ALTER table `user` MODIFY COLUMN `dtcowner` varchar(255) AFTER `authentication_string`' -Dmysql

Then you can restart the MySQL server:

   killall mysqld
   /etc/init.d/mysql start

Dovecot

Dovecot can present a problem with locating ssl certs

===> Adding directives to dovecot.conf Version 1.x needs a new config file... replacing existing [....] Restarting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/dovecot/dovecot.pem: No such file or directory

 failed!

invoke-rc.d: initscript dovecot, action "restart" failed. root@:new.mx.yournet.co.nz>_ /etc/apt# nano /etc/dovecot/conf.d/10-ssl.conf

Our certs exist in

   ssl_cert = </var/lib/dtc/etc/ssl/dovecot/new.cert.cert
   ssl_key = </var/lib/dtc/etc/ssl/dovecot/new.cert.key

You can just edit the 10-ssl.conf or you can even delete it altogether


Editing this page means accepting its license.

Page last modified on March 28, 2016, at 07:50 PM EST