• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

PLSK 10.4.4 - Missing parameter 'dirname' or previous parameter is empty.

boxmedia

New Pleskian
---------------------------------------------------------------
PLESK 10.4.4 (actual all MUs installed), Linux Debian Squeeze, 64 bit

PROBLEM
Caonnot remove customer via panel and/or system command:
/usr/local/psa/bin/customer -r username

STEPS TO REPRODUCE
Login into PLESK and remove a customer with a subscription
after clicking to the red X to delete the user the error message
"Missing parameter 'dirname' or previous parameter is empty." occours

ACTUAL RESULT
does not work

EXPECTED RESULT
customer is removed and deleted

ANY ADDITIONAL INFORMATION
direct raw output from the shell when i use the shell command customer -r username:

PleskUtilException: '/opt/psa/admin/bin/dirmng' '-r' failed with code 1.

stdout:
Missing parameter 'dirname' or previous parameter is empty.


stderr:
Missing parameter 'dirname' or previous parameter is empty.

file: /opt/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /opt/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('288b422490d9641...', Array, Object(Service_Agent_Log))
#3 /opt/psa/admin/plib/Service/Apache/VhostStructure.php(22): Service_Agent->commit()
#4 /opt/psa/admin/plib/Service/Apache/VhostStructure.php(32): Service_Apache_VhostStructure::_callDirectoryStructureAdapter(' :::::::0', Array, Object(Db_Table_Row_ServiceNode))
#5 /opt/psa/admin/plib/Service/Apache/VhostManager.php(150): Service_Apache_VhostStructure::removeDirectories(Object(Service_Apache_VhostStructure_Custom), Object(Db_Table_Row_ServiceNode))
#6 /opt/psa/admin/plib/SubDomain.php(306): Service_Apache_VhostManager->removeWwwRoot(Object(SubDomain))
#7 /opt/psa/admin/plib/SubDomain.php(275): SubDomain->_removeWwwRoot()
#8 /opt/psa/admin/plib/SubDomainManager.php(272): SubDomain->delete()
#9 /opt/psa/admin/smb/application/library/Smb/Plesk/Bridge/Subdomain.php(587): SubDomainManager->delete()
#10 /opt/psa/admin/smb/application/library/Smb/Plesk/Bridge/Domain.php(598): Smb_Plesk_Bridge_Subdomain->delete()
#11 /opt/psa/admin/smb/application/library/Smb/Plesk/Bridge/Domain.php(588): Smb_Plesk_Bridge_Domain->_deleteSubdomains()
#12 /opt/psa/admin/plib/Plesk/Smb/Bridge/Domain.php(19): Smb_Plesk_Bridge_Domain->deleteLinkedParts()
#13 /opt/psa/admin/plib/BsDomain.php(548): Plesk_Smb_Bridge_Domain::deleteLinkedParts(60)
#14 /opt/psa/admin/plib/Webspace.php(835): BsDomain->delete()
#15 /opt/psa/admin/plib/BsDomain.php(927): Webspace->delete()
#16 /opt/psa/admin/plib/Client.php(684): BsDomain::mdeleteDomains(Array)
#17 /opt/psa/admin/plib/Client.php(728): Client->removeDomains()
#18 /opt/psa/admin/plib/api-common/cuClient.php(750): Client->remove()
#19 /opt/psa/admin/plib/api-common/cuClient.php(402): cuClient->cmdRemove('schoettner')
#20 /opt/psa/admin/plib/api-common/AbstractCuExecutor.php(21): cuClient->cuClient()
#21 /opt/psa/admin/plib/api-common/CuExecutor.php(29): AbstractCuExecutor->_execUtil('cuClient', NULL)
#22 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(18): CuExecutor->run()
#23 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(43): CliUtilityRunner->run()
#24 /opt/psa/admin/plib/api-cli/client.php(4): require_once('/opt/psa/admin/...')
#25 {main}

SUCCESS: The user account 'schoettner' was removed.

The SUCCESS message is wrong! The Customer is still there!

--------------------------------------------------------------
 
Try to use attached hotfix.
 

Attachments

  • VhostManager.zip
    6.3 KB · Views: 25
Back
Top