• 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

Can't Sync Subscription

A

AnyiZ

Guest
Hi,

When I was trying to sync one of my subscriptions, I got the following error:

PHP Notice: Undefined index:
Line: 819
File: /usr/local/psa/admin/plib/SysUser.php
Stack Trace:
#0 Smb_Exception_Syntax::handleError(8, Undefined index: , /usr/local/psa/admin/plib/SysUser.php, 819, Array ([oldValues] => Array ([id] => 2,[login] => domain,[home] => /var/www/vhosts/domain.tld,[shell] => /bin/false,[quota] => 0,[account_id] => 2,[mapped_to] => ),[newUser] => ,[shell_options] => Array ([/bin/false] => Array ([name] => Forbidden,[empty] => 1,[chrooted] => ),[/bin/sh] => Array ([name] => /bin/sh,[empty] => ,[chrooted] => ),[/bin/bash] => Array ([name] => /bin/bash,[empty] => ,[chrooted] => ),[/sbin/nologin] => Array ([name] => /sbin/nologin,[empty] => 1,[chrooted] => ),[/bin/tcsh] => Array ([name] => /bin/tcsh,[empty] => ,[chrooted] => ),[/bin/csh] => Array ([name] => /bin/csh,[empty] => ,[chrooted] => ),[/usr/local/psa/bin/chrootsh] => Array ([name] => /bin/bash (chrooted),[empty] => ,[chrooted] => 1),[/bin/rbash] => Array ([name] => /bin/rbash,[empty] => ,[chrooted] => )),[isCurrentShellChrooted] => ,[isOldShellChrooted] => ,[currentCrontabShell] => ,[isCurrentCrontabShellChrooted] => ,[oldCrontabShell] => )) called at [/usr/local/psa/admin/plib/SysUser.php:819]
#1 SysUser->_updateChrootedShell(Array ([id] => 2,[login] => domain,[home] => /var/www/vhosts/domain.tld,[shell] => /bin/false,[quota] => 0,[account_id] => 2,[mapped_to] => ), ) called at [/usr/local/psa/admin/plib/SysUser.php:779]
#2 SysUser->_updateUnix() called at [/usr/local/psa/admin/plib/SysUser.php:1096]
#3 SysUser->update() called at [/usr/local/psa/admin/plib/PHostingManager.php:808]
#4 PHostingManager->updateSysUser() called at [/usr/local/psa/admin/plib/PHostingManager.php:508]
#5 PHostingManager->transactionalUpdate(Transaction_Rollback Object ([] => Array ()))
#6 call_user_func(Array ([0] => PHostingManager Object ([domainId_] => 2,[domainName_] => domain.tld,[ascii_domainName_] => domain.tld,[apacheErrorDocs] => true,[apacheErrorDocs_old] => true,[ipAddressCertId] => 5,[objPHosting] => PHosting Object ([domainName_] => domain.tld,[domainDisplayName_] => domain.tld,[clientId_] => 1,[domainId_] => 2,[sysUserLogin_] => domain,[sysUserLoginShellOption_] => Array (),[] => webspace,[] => ,[attr] => Array ([dom_id] => 2,[sys_user_id] => 2,[ip_address_id] => 2,[ssl] => true,[fp] => false,[fp_ssl] => false,[fp_enable] => false,[fp_adm] => ,[fp_pass] => ,[ssi] => false,
PHP:
 => true,[php_safe_mode] => false,[php_handler_type] => module,[cgi] => true,[perl] => true,[python] => true,[fastcgi] => true,[miva] => false,[coldfusion] => false,[asp] => false,[asp_dot_net] => false,[webstat] => awstats,[same_ssl] => true,[traffic_bandwidth] => -1,[max_connection] => -1,[www_root] => /var/www/vhosts/domain.tld/httpdocs,[maintenance_mode] => false),[changableAttr_] => ,[oldAttr_] => Array ([dom_id] => 2,[sys_user_id] => 2,[ip_address_id] => 2,[ssl] => true,[fp] => false,[fp_ssl] => false,[fp_enable] => false,[fp_adm] => ,[fp_pass] => ,[ssi] => false,[php] => true,[php_safe_mode] => false,[php_handler_type] => module,[cgi] => true,[perl] => true,[python] => true,[fastcgi] => true,[miva] => false,[coldfusion] => false,[asp] => false,[asp_dot_net] => false,[webstat] => awstats,[same_ssl] => true,[traffic_bandwidth] => -1,[max_connection] => -1,[www_root] => /var/www/vhosts/domain.tld/httpdocs,[maintenance_mode] => false),[errorAttr] => Array (),[reqAttr] => Array ([0] => dom_id,[1] => ip_address_id),[Table] => PHostingTable Object ([tables] => Array ([0] => hosting),[fields] => Array ([0] => dom_id,[1] => sys_user_id,[2] => ip_address_id,[3] => ssl,[4] => fp,[5] => fp_ssl,[6] => fp_enable,[7] => fp_adm,[8] => fp_pass,[9] => ssi,[10] => php,[11] => php_safe_mode,[12] => php_handler_type,[13] => cgi,[14] => perl,[15] => python,[16] => fastcgi,[17] => miva,[18] => coldfusion,[19] => asp,[20] => asp_dot_net,[21] => webstat,[22] => same_ssl,[23] => traffic_bandwidth,[24] => max_connection,[25] => www_root,[26] => maintenance_mode),[id] => 2,[idAttrIndex] => 0,[where] => ,[order] => ,[result] => Resource id #398,[error_] => ,[errorMsg_] => ,[warnArr_] => Array ()),[needUpdate] => ,[idFieldName] => dom_id,[] => 1,[error_] => ,[errorMsg_] => ,[warnArr_] => Array ()),[objSysUser] => SysUser Object ([account_] => Account Object ([attr] => Array ([id] => 2,[type] => plain,[password] => 860704),[changableAttr_] => ,[oldAttr_] => Array ([id] => 2,[type] => plain,[password] => 860704),[errorAttr] => Array (),[reqAttr] => Array (),[Table] => AccountTable Object ([tables] => Array ([0] => accounts),[fields] => Array ([0] => id,[1] => type,[2] => password),[id] => 2,[idAttrIndex] => 0,[where] => ,[order] => ,[result] => Resource id #404,[error_] => ,[errorMsg_] => ,[warnArr_] => Array ()),[needUpdate] => ,[idFieldName] => id,[] => 1,[error_] => ,[errorMsg_] => ,[warnArr_] => Array ()),[set_pwd_] => ,[] => ,[] => ,[] => 1,[attr] => Array ([id] => 2,[login] => domain,[home] => /var/www/vhosts/domain.tld,[shell] => /bin/false,[quota] => 0,[account_id] => 2,[mapped_to] => ),[changableAttr_] => ,[oldAttr_] => Array ([id] => 2,[login] => domain,[home] => /var/www/vhosts/domain.tld,[shell] => /bin/false,[quota] => 0,[account_id] => 2,[mapped_to] => ),[errorAttr] => Array (),[reqAttr] => Array ([0] => login,[1] => home),[Table] => SysUserTable Object ([tables] => Array ([0] => sys_users),[fields] => Array ([0] => id,[1] => login,[2] => home,[3] => shell,[4] => quota,[5] => account_id,[6] => mapped_to),[id] => 2,[idAttrIndex] => 0,[where] => ,[order] => ,[result] => Resource id #726,[error_] => ,[errorMsg_] => ,[warnArr_] => Array ()),[needUpdate] => ,[idFieldName] => id,[] => 1,[error_] => ,[errorMsg_] => ,[warnArr_] => Array ()),[objIPAddrSelector] => IPAddressSelector Object ([regime_] => 4,[clientId_] => 1,[ipPoolId_] => 1,[ipsList_] => Array ([2] => Array ([ip] => 109.123.119.210,[type] => shared,[cert_id] => 5,[cert_name] => domain.tld,[usage] => 3)),[freeipsList] => Array (),[ipsIndex_] => Array ([109.123.119.210] => 2),[certsList_] => Array ([3] => *.domain.tld),[currentIPAddressId_] => 2,[certsRepId_] => ,[error_] => ,[errorMsg_] => ,[warnArr_] => Array ()),[_plesk_stat_protect] => ,[anonFtpOnExclusiveIPWasTurnedOff_] => ,[ipDefaultDomainIsChanged_] => ,[editable_] => 1,[manage_sh_access_] => 1,[manage_not_chroot_shell_] => 1,[] => Array ([13] => 109.123.119.210,[61] => shared,[28] => domain,[30] => /bin/false,[62] => 0,[29] => 860704,[31] => false,[32] => false,[33] => false,[34] => ,[35] => ,[42] => true,[43] => awstats,[44] => true,[40] => false,[36] => false,[37] => true,[38] => true,[39] => true,[66] => true,[67] => true,[68] => false,[69] => false),[] => ,[] => Array ()),[1] => transactionalUpdate), Transaction_Rollback Object ([] => Array ())) called at [/usr/local/psa/admin/plib/Transaction/Rollback.php:15]
#7  Transaction_Rollback->commit(Array ([0] => PHostingManager Object ([domainId_] => 2,[domainName_] => domain.tld,[ascii_domainName_] => domain.tld,[apacheErrorDocs] => true,[apacheErrorDocs_old] => true,[ipAddressCertId] => 5,[objPHosting] => PHosting Object ([domainName_] => domain.tld,[domainDisplayName_] => domain.tld,[clientId_] => 1,[domainId_] => 2,[sysUserLogin_] => domain,[sysUserLoginShellOption_] => Array (),[] => webspace,[] => ,[attr] => Array ([dom_id] => 2,[sys_user_id] => 2,[ip_address_id] => 2,[ssl] => true,[fp] => false,[fp_ssl] => false,[fp_enable] => false,[fp_adm] => ,[fp_pass] => ,[ssi] => false,[php] => true,[php_safe_mode] => false,[php_handler_type] => module,[cgi] => true,[perl] => true,[python] => true,[fastcgi] => true,[miva] => false,[coldfusion] => false,[asp] => false,[asp_dot_net] => false,[webstat] => awstats,[same_ssl] => true,[traffic_bandwidth] => -1,[max_connection] => -1,[www_root] => /var/www/vhosts/domain.tld/httpdocs,[maintenance_mode] => false),[changableAttr_] => ,[oldAttr_] => Array ([dom_id] => 2,[sys_user_id] => 2,[ip_address_id] => 2,[ssl] => true,[fp] => false,[fp_ssl] => false,[fp_enable] => false,[fp_adm] => ,[fp_pass] => ,[ssi] => false,[php] => true,[php_safe_mode] => false,[php_handler_type] => module,[cgi] => true,[perl] => true,[python] => true,[fastcgi] => true,[miva] => false,[coldfusion] => false,[asp] => false,[asp_dot_net] => false,[webstat] => awstats,[same_ssl] => true,[traffic_bandwidth] => -1,[max_connection] => -1,[www_root] => /var/www/vhosts/domain.tld/httpdocs,[maintenance_mode] => false),[errorAttr] => Array (),[reqAttr] => Array ([0] => dom_id,[1] => ip_address_id),[Table] => PHostingTable Object ([tables] => Array ([0] => hosting),[fields] => Array ([0] => dom_id,[1] => sys_user_id,[2] => ip_address_id,[3] => ssl,[4] => fp,[5] => fp_ssl,[6] => fp_enable,[7] => fp_adm,[8] => fp_pass,[9] => ssi,[10] => php,[11] => php_safe_mode,[12] => php_handler_type,[13] => cgi,[14] => perl,[15] => python,[16] => fastcgi,[17] => miva,[18] => coldfusion,[19] => asp,[20] => asp_dot_net,[21] => webstat,[22] => same_ssl,[23] => traffic_bandwidth,[24] => max_connection,[25] => www_root,[26] => maintenance_mode),[id] => 2,[idAttrIndex] => 0,[where] => ,[order] => ,[result] => Resource id #398,[error_] => ,
#18 AdminPanel_Application_Web->run() called at [/usr/local/psa/admin/panel/application/public/index.php:15]


Warning: Releasing semaphore 12 in request cleanup in Unknown on line 0



and the domain is shown as unsynced, is there anything I can do to fix it?

Thanks!
 
Back
Top