Hello
I try to upgrade Plesk from v12.0.8 to 12.5.30 on a Centos 5.11 however the upgrade fail at the preupdate stage.
===> Upgrading database
Trying to start service mysqld... mysqld (pid 13595) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012000018
Trying to backup MySQL database... done
MySQL databases are dumped to /home/dumps/mysql.preupgrade.12.0.18-12.5.30.20160207-105541.dump.gz
Trying to allow INNODB engine... Innodb is already enabled - nothing to be done
===> Cumulative APS controller database (apsc) upgrade has been started.
Upgrade or repair for 'apsc' (stage 'prep') is not required
Trying to backup MySQL database... done
MySQL databases are dumped to /home/dumps/mysql.preupgrade.apsc.12.0.18-12.5.30.20160207-105542.dump.gz
===> Cumulative upgrade of APS controller database has been completed.
===> Cumulative Plesk database upgrade (revertable stage) has been started.
Before start of upgrade for 'core' (stage 'prep') following actions are registered as failed: 20111115171314-upgrade_mysqlnd_old_passwd.
===> APreparing Plesk database upgrade (revertable stage).
ERROR 1071 (42000) at line 1: Specified key was too long; max key length is 1000 bytes
After the error message the psa DB is empty. Doing some research the issue is with the charset, looks like the plesk updater dumps and try to import the new DB in utf8 however this why the import fail, it should do it in latin1 as this is the default server charset.
Any suggestions what should I do to successful upgrade Plesk?
P.S. This can be a bug in Plesk updater.
Using mysql Ver 14.14 Distrib 5.5.47, for Linux (x86_64) using readline 5.1
I try to upgrade Plesk from v12.0.8 to 12.5.30 on a Centos 5.11 however the upgrade fail at the preupdate stage.
===> Upgrading database
Trying to start service mysqld... mysqld (pid 13595) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012000018
Trying to backup MySQL database... done
MySQL databases are dumped to /home/dumps/mysql.preupgrade.12.0.18-12.5.30.20160207-105541.dump.gz
Trying to allow INNODB engine... Innodb is already enabled - nothing to be done
===> Cumulative APS controller database (apsc) upgrade has been started.
Upgrade or repair for 'apsc' (stage 'prep') is not required
Trying to backup MySQL database... done
MySQL databases are dumped to /home/dumps/mysql.preupgrade.apsc.12.0.18-12.5.30.20160207-105542.dump.gz
===> Cumulative upgrade of APS controller database has been completed.
===> Cumulative Plesk database upgrade (revertable stage) has been started.
Before start of upgrade for 'core' (stage 'prep') following actions are registered as failed: 20111115171314-upgrade_mysqlnd_old_passwd.
===> APreparing Plesk database upgrade (revertable stage).
ERROR 1071 (42000) at line 1: Specified key was too long; max key length is 1000 bytes
After the error message the psa DB is empty. Doing some research the issue is with the charset, looks like the plesk updater dumps and try to import the new DB in utf8 however this why the import fail, it should do it in latin1 as this is the default server charset.
Any suggestions what should I do to successful upgrade Plesk?
P.S. This can be a bug in Plesk updater.
Using mysql Ver 14.14 Distrib 5.5.47, for Linux (x86_64) using readline 5.1