1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

upgrade Plesk 8.2 to Plesk 8.30 on CentOS 4.4 Error some domain !

Discussion in 'Plesk for Linux - 8.x and Older' started by nuttiwes, Mar 17, 2008.

  1. nuttiwes

    nuttiwes Guest

    Hello everybody,

    I have some Problem when i upgrade Plesk 8.2 to Plesk 8.30 on CentOS 4.4. upgrade is success after i login to plesk 8.3 it found some domain can ' t access the menus it show error something

    Unable to init Account object:
    Unable to init Account object: Account: unable to select: (no such row in the table) /usr/local/psa/admin/plib/class.SysUser.php:73
    DomainControlForm->assign(object of type BsDomain) /usr/local/psa/admin/htdocs/domains/dom_ctrl.php3:148

    i search answer this problem but i don' t found. Help me please !

    Thank you.
  2. ziba@

    ziba@ Guest


    You can try rerunning Plesk upgrade:

    1. Create dump of Plesk database:
    mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` psa > psadump.sql

    2. Download Plesk 8.3 distribution tarball from ftp://download1.swsoft.com/Plesk/Plesk8.3
    3. Unpack this tarball. Let's say you unpacked it to /root/swsoft/plesk83
    4. Reinstall base Plesk packages:

    rpm -Uvh --force /root/swsoft/plesk83/dist...(not sure what the full dir name is)/base/*rpm

    If reinstallation does not help set display_error to On in /usr/local/psa/admin/conf/php.ini, restart Plesk, reproduce error, check and post here messages that will appear in /usr/local/psa/admin/logs/httpsd_error_log
  3. nuttiwes

    nuttiwes Guest

    I try follow this introduction

    rpm -Uvh --force /root/swsoft/plesk83/dist...(not sure what the full dir name is)/base/*rpm

    until it finish and restart plesk again. But my problem is not solv. Plesk is show old error messages

    ERROR: PleskFatalException
    Unable to init Account object:

    0: /usr/local/psa/admin/plib/common_func.php3:158
    psaerror(string 'Unable to init Account object: ', string 'Account: unable to select: no such row in the table')
    1: /usr/local/psa/admin/plib/class.SysUser.php:73
    SysUser->SysUser(string '262')
    2: /usr/local/psa/admin/plib/common_func.php3:2875
    objectMaker(string 'SysUser', string '262')
    3: /usr/local/psa/admin/plib/class.DomainControlForm.php:150
    DomainControlForm->assign(object of type BsDomain)
    4: /usr/local/psa/admin/htdocs/domains/dom_ctrl.php3:148

    I serious this problem. Help me Please !

    Thank you very much.
  4. Samuel Castillo

    Samuel Castillo Guest

    This could come from a previous delete attempt.
    You can re-associate the account id in the psa database:

    1) Obtain the id of the domain -> SELECT id FROM domains WHERE name LIKE '%domain%';
    2) Get its account association -> SELECT account_id FROM dom_level_usrs WHERE dom_id = <here_the_previous_id>
    3) With the account_id you will discover there is no such index at 'accounts' table:
    SELECT * FROM accounts;

    Just insert it:
    INSERT INTO accounts VALUES(<account_id>,'plain','the password for the user to access the panel');