Is migrating from ISPConfig 3 on Ubuntu 12.04 LTS to Ubuntu 14.04LTS possible?

Discussion in 'Installation/Configuration' started by joshfalken, Aug 25, 2014.

  1. joshfalken

    joshfalken New Member

    Hi all,

    I have had ISPConfig 3.x running on Ubuntu 12.04 LTS for some years now on different systems. Everybody is receiving the system notifications to upgrade to 14.04 LTS since a few weeks.

    Since an install guide to ISPConfig 3 is available for 14.04 since a few months, I figured upgrading a running system from 12.04 to 14.04 should maybe be possible. So I did... regrettably: ISPConfig is not running anymore as are my running virtual hosts. (all done in virtualized snapshots, so fallback is possible, I'm not in trouble ;-))

    My question: Is it possible to upgrade from 12.04 to 14.04 successfully and have my ISPConfig installation running as it was? Or should I start from scratch migrating ISPConfig files to a fresh 14.04 installation ? Security-wise I'd prefer not to leave my 12.04 installation as it is, allthough ISPConfig runs smoothly until know.

    I remember stubbornly installing ISPConfig 3 on Ubuntu 14.04 a few months ago as a test only to found out after installation ISPConfig wasn't compatible (yet). Some RTFM applicable here.



    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [WARN] ip addresses from hostname differ from ifconfig output. Please check your ip settings.
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 5.5.9-1ubuntu4.3
    
    ##### PORT CHECK #####
    
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
    	Apache 2 (PID 2092)
    [INFO] I found the following mail server(s):
    	Postfix (PID 18039)
    [INFO] I found the following pop3 server(s):
    	Dovecot (PID 11650)
    [INFO] I found the following imap server(s):
    	Dovecot (PID 11650)
    [INFO] I found the following ftp server(s):
    	PureFTP (PID 22069)
    
    ##### LISTENING PORTS #####
    (only		()
    Local		(Address)
    ***.***.***.***:53		(25785/named)
    [localhost]:53		(25785/named)
    [anywhere]:21		(22069/pure-ftpd)
    [anywhere]:22		(25658/sshd)
    [localhost]:953		(25785/named)
    [anywhere]:25		(18039/master)
    [anywhere]:55868		(21858/rpc.statd)
    [anywhere]:993		(11650/dovecot)
    [anywhere]:995		(11650/dovecot)
    [localhost]:10024		(25943/amavisd-new)
    [localhost]:10025		(18039/master)
    [anywhere]:3306		(25051/mysqld)
    [anywhere]:587		(18039/master)
    [anywhere]:110		(11650/dovecot)
    [localhost]:783		(27222/spamd.pid)
    [anywhere]:111		(17778/rpcbind)
    [anywhere]:143		(11650/dovecot)
    [anywhere]:465		(18039/master)
    *:*:*:*::*:53		(25785/named)
    *:*:*:*::*:21		(22069/pure-ftpd)
    *:*:*:*::*:22		(25658/sshd)
    *:*:*:*::*:953		(25785/named)
    *:*:*:*::*:25		(18039/master)
    *:*:*:*::*:443		(2092/apache2)
    *:*:*:*::*:993		(11650/dovecot)
    *:*:*:*::*:995		(11650/dovecot)
    *:*:*:*::*:59431		(21858/rpc.statd)
    *:*:*:*::*:587		(18039/master)
    [localhost]10		(11650/dovecot)
    *:*:*:*::*:783		(27222/spamd.pid)
    [localhost]11		(17778/rpcbind)
    [localhost]43		(11650/dovecot)
    *:*:*:*::*:80		(2092/apache2)
    *:*:*:*::*:465		(18039/master)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    fail2ban-dovecot-pop3imap  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 110,995,143,993
    fail2ban-pureftpd  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 21
    fail2ban-ssh  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain fail2ban-dovecot-pop3imap (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain fail2ban-pureftpd (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Your problem is the change from apache 2.2 to 2.4 in ubuntu and not ispconfig directly. The apache config syntax has changed from 2.2 to 2.4 so your old server configuration is not working anymore after the update.

    1) disable all vhosts by deleting their symlinks in /etc/apache2/sites-enabled/ except of the ispconfig vhost and conf file.
    2) go trough the perfect server guide for ubuntu 14.04 and install missing modules and edit the apache2.cof file as described there.
    3) download ispconfig tar.gz, unpack it and run the update.php script and let it reconfigure services.
    4) logn to ispconfig, go to tools > resync and let it resync the websites to let ispconfig rebuild the sites in apache 2.4 syntax.

    ISPConfig is compatible with Ubuntu 14.04 since April 22. I installed it several times a week on latest Ubuntu with 100% success rate by using the perfect server guide.
     
    Last edited: Aug 25, 2014

Share This Page