seed23 is expected to be a clone of seed11c on a dist-upgraded vm from 16.04 to Ubuntu 18.04 on the proxmox-based dedicated server.
Ispconfig config panel will be updated to latest version 3.x which can run with recent php versions such as php 7.2 (and eventually previous php versions?)



1.1.1. Install ISPConfig 3.1 in new serer (seed23)

apt-get update && apt-get upgrade
apt-get install unzip 
cd /tmp
wget --no-check-certificate https://github.com/servisys/ispconfig_setup/archive/master.zip
unzip master.zip
cd ispconfig_setup-master/

The script doens't work with MySQL in Ubuntu 18.04. Probably related to the changes in mysql in Ubuntu 18.04, in which you cannot connect to mysql by default from root in purpose.
I purged then mysql-server* and mysql-client*, which made the system reinstall mariadb by default instead.
Then when re-running the ispconfig script, selecting mariadb as the database.

Well done! ISPConfig installed and configured correctly :D  

Now you can access to your ISPConfig installation at: https://seed23.seeds4c.org:8080 or
The default ISPConfig Username is: admin
	      and the Password is: ******
Warning: This is a security risk. Please change the default password after your first login.

You will need to edit the username and password in /var/lib/roundcube/plugins/ispconfig3_account/config/config.inc.php of the roundcube user, as the one you set in ISPconfig 

You can visit the GitHub repository at: https://github.com/servisys/ispconfig_setup/
If you need support or have questions, ask here: https://www.howtoforge.com/community/#ispconfig-3.23
Please report any errors or issues with this auto installer script at: https://github.com/servisys/ispconfig_setup/issues and with ISPConfig at: https://git.ispconfig.org/ispconfig/ispconfig3/issues

Note that roundcube is not installed by default (only in Debian 7), but squirrelmail.

1.1.2. Migrate ISPConfig 3.0 data from old server (seed11) to new (seed23)

Attempt to re-use my own script to migrate ispconfig

instead of paying 50+€ for the migration tools provided by them, if my own tweaked tool works for these 2 ispconfig versions and servers (seed11 with ubuntu 16.04 and ispconfig 3.0, and seed23 with ubuntu 18.04 and ispconfig 3.1).

I needed to copy the ssh public key from new server to old, to allow ssh passwordless connections.
Since the usual ssh.copy-id didn't work, and hacked it thorugh the manual way:

sudo su
cat /root/.ssh/id_rsa.pub | ssh root@ 'cat >> .ssh/authorized_keys && echo "Key copied"'

(taken from here: https://askubuntu.com/a/4833)

I also tweaked the ssh config files on both servers to allow root ssh logins, and public key authentication, as suggested here:

1.1.3. fix ispconfig pass to get mysql up

For some reason, the migration step doesn't update the mysql password for user ispconfig, so that I have to fix manually:
The right password can be found in old server at:

$conf['db_password'] = 'longhashhere';



And use it in the new server as the value of the same param in the equivalent file.

You can test that this is the passwd that works for mysql user ispconfig in the new server testing the old and the new one with this command in the new server:

mysql -h localhost -u ispconfig -p

1.1.4. port extra changes by hand in /etc files

I still need to port also the new entries from

  • /etc/group
  • /etc/shadow
  • /etc/gshadow

since they were not copied over by the script i cloned initially for my migration

Extra changes:

  • I changed the domain system.seeds4c.org to point to the ip address of the new server instead of the old
  • I changed system name in /etc/postfix/main,cf


Image Seed: noun \ˈsēd\ : the beginning of something which continues to develop or grow

Knowledge seeds

Switch Language