• 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

All is broken after 8.0.1 -> 8.1 update

A

aernative

Guest
After completing the update everything seemed to be ok - server was still running, notihing appeared broken. Apart from being quite anoyed at the appearance of some swsoft advertising i thought everything was ok.

Today i needed to add a domain - i get the error -

ERROR: PleskFatalException
Create ShortcutCreate Shortcut
Up LevelUp Level
Failed domain creation: Unable to update domain data: dnsmng::remove() failed: dnsmng failed: dnsmng: Unable to open file "/usr/local/psa/var/lock/files/26d9d96d428d491b87bd77bbeae57bcf": Permission denied.
System error 13: Permission denied
dnsmng: Error occurred while locking the file /var/named/run-root/etc/named.conf

System error 13: Permission denied

0: /usr/local/psa/admin/htdocs/domains/create_domain.php:150

Which was alarming, so i thought best restart plesk or apache see if that solves it - went to service management an i was greated with the following errors -

WEB_Server_package parameter not defined in features list.

0: /usr/local/psa/admin/plib/common_func.php3:153
psaerror(string 'WEB_Server_package parameter not defined in features list.')
1: /usr/local/psa/admin/plib/class.WebServerManager.php:209
WebServerManager->getWebServerPackage()
2: /usr/local/psa/admin/plib/class.ServiceControl.php:88
ServiceControl->chkServiceObjects(string 'web')
3: /usr/local/psa/admin/plib/class.ServiceControl.php:261
ServiceControl->getServiceName(string 'web')
4: /usr/local/psa/admin/plib/class.RestartServForm.php:72
RestartServForm->assign(object of type ServiceControl)
5: /usr/local/psa/admin/htdocs/server/restart_services.php:38

Now i am realy worried... so i went to update - and got permssion denied errors there also... these related to some files in /tmp so i changed the permissions to allow read/write (in /var/psa versions and psa.inf chmodded to 666) re visited the updater panel thinking maybey an update will fix things...

Now i get a list of packages to install some i cant de-select, i run the installers an every time they fail usually to do with permissions - so i have also ran the following to try to get the installer to work -

last time i tried to update the installer script failed the end of the install log reads as follows -

Install package psa-backup-manager-8.1.0-fc2.build81061226.14.i586, psa-migration-manager-8.1.0-fc2.build81061226.14.i586, psa-api-rpc-8.1.0-fc2.build81061226.14.noarch, psa-api-8.1.0-fc2.build81061226.14.noarch
error: can't create transaction lock
Error while execute command rpm -U /var/psa/PSA_8.1.0/dist-rpm-FedoraCore-2-i386/opt/backup/psa-backup-manager-8.1.0-fc2.build81061226.14.i586.rpm /var/psa/PSA_8.1.0/dist-rpm-FedoraCore-2-i386/opt/migration/psa-migration-manager-8.1.0-fc2.build81061226.14.i586.rpm /var/psa/PSA_8.1.0/dist-rpm-FedoraCore-2-i386/opt/api/psa-api-rpc-8.1.0-fc2.build81061226.14.noarch.rpm /var/psa/PSA_8.1.0/dist-rpm-FedoraCore-2-i386/base/psa-api-8.1.0-fc2.build81061226.14.noarch.rpm
catch error with message: error while executing RPM
ERROR: error while executing RPM
Check SElinux status after error:
Exit with ERROR status


cat /usr/local/psa/version gives -

8.1.0 FedoraCore 2 81061212.22

Heellllpppp!

::UPDATE::

I cant even edit a domains settings - gives me the following error -

ERROR: PleskFatalException
Create ShortcutCreate Shortcut
Up LevelUp Level
WEB_FPAdminSysUser parameter not defined in features list.

0: /usr/local/psa/admin/plib/common_func.php3:153
psaerror(string 'WEB_FPAdminSysUser parameter not defined in features list.')
1: /usr/local/psa/admin/plib/class.WebServerManager.php:222
WebServerManager->getWebServerFPAdminSysUser()
2: /usr/local/psa/admin/plib/class.PHostingManager.php:1377
PHostingForm->assign(object of type PHostingManager, boolean true, boolean true, boolean true, boolean true, boolean false)
3: /usr/local/psa/admin/htdocs/domains/hosting/phosting_setup.php:285

Ok - i have now solved this myself (touch wood) i ran the autoinstaller from the commandline and all is now running again - i suspect the update feature screwed things up when last run.

For those who are insterested i ran -
Code:
cd /usr/local/psa/admin/bin
./autoinstaller

then followed the on screen instructions.
 
how did u run the update from the command line ?

i'm having the same problems as u are

cheers
 
See my edit on the post at the end - you need to logon to your server with a secure shell such as putty and switch to super user, i would recomend doing a backup first, then running -
Code:
locate autoinstaller
To check for the correct path for the file - mine was as above but different distributions may have different layouts.

Once you know where it is just give it a run...
 
Weird, I get this error :S

Start packages installation
Install package psa-backup-manager-8.1.0-fc4.build81061226.14.i586, psa-api-rpc-8.1.0-fc4.build81061226.14.noarch, psa-api-8.1.0-fc4.build81061226.14.noarch
error: Failed dependencies:
psa-api = 8.0.1-fc4.build80061205.14 is needed by (installed) psa-migration-manager-8.0.1-fc4.build80061205.14.i586
Error while execute command rpm -U /root/swsoft/PSA_8.1.0/dist-rpm-FedoraCore-4-i386/opt/backup/psa-backup-manager-8.1.0-fc4.build81061226.14.i586.rpm /root/swsoft/PSA_8.1.0/dist-rpm-FedoraCore-4-i386/opt/api/psa-api-rpc-8.1.0-fc4.build81061226.14.noarch.rpm /root/swsoft/PSA_8.1.0/dist-rpm-FedoraCore-4-i386/base/psa-api-8.1.0-fc4.build81061226.14.noarch.rpm
ERROR: error while executing RPM
ERROR: Installation failed
 
Back
Top