• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

Input Unable to delete web user? Here's how to work around it

websavers

Regular Pleskian
Server operating system version
CentOS 7.9.2009
Plesk version and microupdate number
Version 18.0.50 Update #2
Note this applies only to web users. They appear under FTP Accounts, but are not deleteable from there. If you click on the user then try to delete it from the Plesk GUI while you're using PHP-FPM, it will say:

Unable to execute usermng: usermng: /usr/sbin/userdel execution failed:
userdel: user ACCOUNT is currently used by process PID
usermng: Unable to delete user:

To work around this, run the following from shell:

Bash:
systemctl stop plesk-php81-fpm && systemctl stop plesk-php80-fpm && systemctl stop plesk-php74-fpm

/usr/local/psa/bin/webuser --remove $WEBUSERNAME -domain $DOMAIN

systemctl start plesk-php81-fpm && systemctl start plesk-php80-fpm && systemctl start plesk-php74-fpm

Notes: Do not forget to enter the correct username and the primary domain from the subscription in the middle line. If the web user belongs to a subscription that has any domains within it using a different PHP-FPM version than those above, edit the first and last lines to stop and start those PHP versions.
 
Back
Top