• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Upgrade from 10.2.0 -> 10.3.0

M

Maku

Guest
Whenever I try to upgrade my 10.2.0 to 10.3.0 or 10.3.1 it gives me this error

Trying to start service mysqld... mysqld (pid 5497) is running...
done
Trying to establish test connection... connected
done
Trying to backup MySQL database...
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_10.3.0_installation.log), fix and try again

***** problem report *****
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_10.3.0_installation.log), fix and try again

ERROR: An error occurred during performing of installation PREP actions (see log for detail s). Installation was rolled back.

I tried running bootstrapper.sh repair but also gave me the same error

What can I do with this problem? I am desperate. I don't want to reformat and build the whole system again.
 
Update Plesk with autoinstaller

Try this:

Code:
/usr/local/psa/admin/bin/autoinstaller --select-release-latest --upgrade-installed-components --truncate-log --notify-email root
Your installation should be working normal when this command is executed.

If you need some more options type "--help" after autoinstaller.
Otherwise, check you logs to resolve your problem.
 
Last edited by a moderator:
Thanks for the tip but after doing what you said

This error came up
***** problem report *****
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_10.3.1_installation.log), fix and try again

ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try installing the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
qmail-inject: fatal: qq read error (#4.3.0)

:(
 
Check your logs

Go to: less /tmp/plesk_10.3.1_installation.log

Check what's happening at your web-server.
 
Still the same error in the log

Trying to establish test connection... connected
done
Trying to backup MySQL database...
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_10.3.1_installation.log), fix an$


**** Product prep-install for BASE failed.

***** problem report *****
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_10.3.1_installation.log), fix an$
STOP Bootstrapper 10.12.0 prep-install for BASE AT Fri Sep 30 17:23:25 CEST 2011
 
upgrade your Database

Hello Maku,

Have you upgraded the MySQL version without upgrading the database and not executed like
Code:
mysql_upgrade -h localhost -uadmin -p
Than the database will becomes incompatible and needs an upgrade first before you upgrade Plesk.
(Hopefuly will the upgrade working properly)
 
Last edited by a moderator:
I tried that too and ran the installation then this error pops up earlier in the error log

===> Updated /etc/psa/psa.conf
===> Preparing upgrade
mkdir: cannot create directory `/var/lib/psa': No such file or directory
touch: cannot touch `/var/lib/psa/dumps/mysql.preupgrade.10.9.0-10.12.0.20110930-180214.dump.gz': No such file or directory

**** Product prep-install started.

===> Checking for previous installation ... found.

then the same error again :|
 
Ceate a directory

Hi,

As you can see you should have a directory like "/var/lib/psa"
Otherwise you'll should create one by "mkdir /var/lib/psa" and/or create the directory "/var/lib/psa/dumps"

Check-it by using "ls -acl /var/lib/" to see if the rights are okay and/or adjust it by "chmod" and "chown" (normal root:root and 755, 757 or 777.
 
Last edited by a moderator:
Hello,

I can't seem to create the psa folder inside /var/lib even though I changed the /var/lib properties to 777 and chowned it to root. :(

mkdir psa
mkdir: cannot create directory `psa': No such file or directory

Thanks for helping me

ls -acl /var/lib
total 112
drwxrwxrwx 27 root root 4096 Sep 30 18:18 .
drwxr-xr-x 22 root root 4096 Sep 30 08:29 ..
drwxr-xr-x 2 root root 4096 Sep 28 22:32 alternatives
drwxr-xr-x 2 apache apache 4096 Sep 28 22:32 awstats
drwx------ 2 apache apache 4096 Sep 28 22:32 dav
drwxr-xr-x 2 root root 4096 Sep 28 22:32 dbus
drwxr-xr-x 2 root root 4096 Sep 28 22:32 dhclient
drwxr-x--- 2 root root 4096 Sep 28 22:32 dhcpv6
drwxr-xr-x 2 root root 4096 Sep 28 22:32 games
drwxr-xr-x 8 root root 4096 Sep 28 22:36 iscsi
-rw-r--r-- 1 root root 1273 Sep 30 00:52 logrotate.status
drwxrwsr-x 6 root mailman 4096 Sep 28 22:36 mailman
drwxr-xr-x 2 root root 4096 Sep 28 22:32 misc
drwxr-x--- 2 root slocate 4096 Sep 28 22:32 mlocate
drwxr-xr-x 2 root root 4096 Sep 28 22:32 multipath
drwxr-xr-x 17 mysql mysql 4096 Sep 30 18:01 mysql
drwxr-xr-x 2 ntp ntp 4096 Sep 28 22:32 ntp
drwxr-xr-x 3 root root 4096 Sep 28 22:32 php
drwxr-xr-x 3 root root 4096 Sep 28 22:32 plesk
drwxr-x--- 8 psaadm root 4096 Sep 28 22:32 plesk-billing
?--------- ? ? ? ? ? psa
-rw------- 1 root root 512 Sep 30 15:35 random-seed
drwxr-xr-x 2 root root 4096 Sep 30 16:03 rpm
drwxr-xr-x 2 root root 4096 Sep 28 22:36 sepolgen
drwxr-xr-x 3 root root 4096 Sep 28 22:32 spamassassin
drwxr-x--- 2 sso root 4096 Sep 28 22:32 sso
drwxr-xr-x 3 root root 4096 Sep 28 22:36 stateless
drwxr-xr-x 2 webalizer root 4096 Sep 28 22:32 webalizer
drwxr-xr-x 2 root root 4096 Sep 28 22:32 yum
 
Last edited by a moderator:
Nice, the installation seems to be okay for now.
That's the reason why you have to look inside of your logs to solve some mystery's.
 
Last edited by a moderator:
I too was having the same issue and I really did not know as to why I was not able to update to 10.3.1. Bootstrapper repair method was done by me several times but to no avail. Anyway, thanks to your script, I was able to fix the issue and update instantaneously.Has anyone tried using dedicated server services? Will it be advisable and cost effective?
 
Last edited by a moderator:
Back
Top