• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Trying to upgrade 8.3 to 8.4

fogoss

New Pleskian
Linux - Redhat 5


ERROR: PleskMainDBException
Up LevelUp Level
MySQL query failed: MySQL server has gone away

0: /usr/local/psa/admin/plib/common_func.php3:218
db_query(string 'SELECT id, type, url, priority, enabled, auth_required, login, password FROM ai_vendor_sources')
1: /usr/local/psa/admin/plib/autoinstaller/AutoInstallerVendorSource.php:136
AutoInstallerVendorSource::getVendorSources()
2: /usr/local/psa/admin/plib/autoinstaller/AutoInstallerManager.php:209
AutoInstallerManager->install(string 'PLESK_8_4_0', array, boolean false, string '[email protected]', boolean true)
3: /usr/local/psa/admin/htdocs/server/autoinstaller_install.php:101
 
I'm getting the same error with the latest 8.6 update

Here is the error message I am getting.

Code:
ERROR: PleskMainDBException  	
Up LevelUp Level
MySQL query failed: MySQL server has gone away

0: /usr/local/psa/admin/plib/common_func.php3:250
    db_query(string 'SELECT id, type, url, priority, enabled, auth_required, login, password FROM ai_vendor_sources')
1: /usr/local/psa/admin/plib/autoinstaller/AutoInstallerVendorSource.php:136
    AutoInstallerVendorSource::getVendorSources()
2: /usr/local/psa/admin/plib/autoinstaller/AutoInstallerManager.php:209
    AutoInstallerManager->install(string 'PLESK_8_6_0', array, boolean false, string '[email protected]')
3: /usr/local/psa/admin/htdocs/server/autoinstaller_install.php:113
 
Seems it is a common error, but apparently nobody knows the answer.
 
whyyyyyyyyy!!

I'm actually made it to 8.6 this was the newest update. There always seems to be a "fix" to any updates they make, lol, I hope someone figures it out sometime soon, ; / i like to keep fully updated
 
try this

try this, I think this is the code I used to do the update in the command line.

/usr/local/psa/admin/bin/autoinstaller --enable-xml-output --source-type=plesk --target=/root/psa --select-release-id=PLESK_8_6_0 [email protected] --install-component=base --install-component=docs --install-component=api --install-component=pmm --install-component=psa-firewall --install-component=psa-fileserver --install-component=spamassassin --install-component=backup-ded
 
ok,

try this command:

yum clean all

if that doesnt work, your going to have to edit your repositories.

My repositories are in this folder /etc/yum.repos.d

im not sure if its in the same place on your server..

Just comment out the line of code that has that link in it.
 
The solution was commenting the lines regarding the repo in question in file
/root/.autoinstallerrc
 
Back
Top