#1  
Old 9th February 2014, 23:17
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 149
Thanks: 35
Thanked 13 Times in 13 Posts
Question Upgrade from Squeeze to Wheezy

The hardware node that I run on my server is CentOS. I also have several Debian containers on that node under OpenVZ. I'm late upgrading from Squeeze to Wheezy, and I ran into some issues with Dovecot.

I first updated a name server, then a web server and had no issues. I next attempted to update my mail server, and had problems with Dovecot. I could no longer access my server and when trying to perform "apt-get upgrade" after my platform migration from Squeeze to Wheezy, the entire system became unusable.

Dovecot was complaining about the certificates needing to be moved from /etc/ssl to /etc/dovecot.

During the upgrade I always chose to use older versions b/c of configuration file changes in the new packages. Not sure this was the right decision, but I figured everything would have broken worse if i had upgraded all of the software including the crontab to the latest.

I backed up my containers before starting with the upgrades, so my mail server has been restored back to the default.

I would be greatful for any help anyone can provide. The two primary questions I have are:
  1. Should I allow the latest software and configuration files to be installed, or retain existing versions?
  2. Has anyone experienced upgrading problems with Dovecot that I mentioned, and how to fix it?
Reply With Quote
Sponsored Links
  #2  
Old 10th February 2014, 07:25
srijan srijan is offline
HowtoForge Supporter
 
Join Date: Feb 2014
Location: New Delhi, India
Posts: 211
Thanks: 2
Thanked 27 Times in 26 Posts
Send a message via Skype™ to srijan
Default

Hi Peterson,


The old configuration in dovecot.conf is no longer compatible with the new version.As the dist upgrade have been done so almost parameters have changed. .To avoid a prolonged failure of the mail server, we need to convert the dovecot.conf file in to new configuration fileHere is a small howto for Debian Wheezy dovecot.conf.
This is best done with the tool doveconf.The commanddoveconfis part or our Dovecot package and should be present during the installation of Dovecot on the system automatically.

Conversion of dovecot.conf

In / etc / dovecot/ we find the old configuration.*If we have left unchanged the configuration when upgrading we find our old configuration in the file dovecot.conf.

cd /etc/dovecot
cp dovecot.conf dovecot.conf_squeeze
doveconf -n -c ./dovecot.conf_squeeze > dovecot.conf
/etc/init.d/dovecot restart


The commanddoveconfplenty of information about the parameters that were converted.There are also the errors that occurred during the conversion.It may be necessary to install a number of packages or even changing the original configuration file.
Next you can try , the package hasdovecot-managesievedmissing and in thedovecot.conf_squeezehad the parameterssl = notbe set.SSL can be configured later manually.

Now it should actually folded and Dovecot as usual under Debian Wheezy perform its duties.Please cross-check all the ore-requisites of dovecot configuration in Debian.*Later you need to modify your configuration later and the parameters in the files below adapted / etc / dovecot / conf.d.

Br//
Srijan

Last edited by srijan; 10th February 2014 at 07:31.
Reply With Quote
The Following User Says Thank You to srijan For This Useful Post:
darinpeterson (11th February 2014)
  #3  
Old 10th February 2014, 17:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

In addition to what srijan posted: in case that you use ispconfig on any of thes e servers, then just download the ispconfig 3 tar.gz again, unpack it and run the update.php in the install folder. Choose to reconfigure services during update.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
darinpeterson (11th February 2014)
Reply

Bookmarks

Tags
squeeze, squeeze to wheezy, upgrade, wheezy

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with upgrade to Wheezy ebart HOWTO-Related Questions 2 6th January 2014 16:16
Debian: Upgrading from Lenny -> Squeeze -> Wheezy Norman Installation/Configuration 3 23rd July 2013 18:22
Upgrade debian squeeze 6.X to wheezy 7.X Ispconfig 3 moglia Installation/Configuration 1 29th May 2013 22:26
Mail and FTP doesnt work cyprus Installation/Configuration 15 18th April 2012 15:12
Xen Lenny DomU with Lenny Dom0 - Upgrade to Squeeze time? pinky Server Operation 2 6th August 2011 16:09


All times are GMT +2. The time now is 05:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.