• 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.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

Forwarded to devs Subscription Removal Issue

WebHostingAce

Silver Pleskian
Username:

TITLE

Subscription Removal Issue

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

OS - CentOS Linux 7.9.2009 (Core)
Product - Plesk Obsidian - Version 18.0.47 Update #5

PROBLEM DESCRIPTION

When you are removing a Subscription with a Cron running every minute, It fails with the Error Message,

Unable to execute /usr/sbin/userdel username

Actual Subscription is removed from the Plesk interface but the,

/var/www/vhosts/SubscriptionName Directory remain in the system.

/var/www/vhosts/system/SubscriptionName Directory remain in the system.

The user remains in the psa database, sys_users table.

User remains in the system - Have to delete manually executing /usr/sbin/userdel username

STEPS TO REPRODUCE

Setup a Subscription with a Cron running every minute.

Execution of these Cron task should be about 30sec.

ACTUAL RESULT

Actual Subscription is removed from the Plesk interface but the,

/var/www/vhosts/SubscriptionName Directory remain in the system.

/var/www/vhosts/system/SubscriptionName Directory remain in the system.

The user remains in the psa database, sys_users table.

User remains in the system - Have to delete manually executing /usr/sbin/userdel username

EXPECTED RESULT

Subscription to be removed completely.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
From the developer:

I can't reproduce that. I created a script, which interacts with I/O, run cron and after remove subscription with directories without any problems (on CentOS 7)
I try with a clean subscription. Maybe it depends on the weight of subscription, or it happens for every subscription with a running cron job, no matter how heavy it is (size in bytes, I mean).
 
This is happening with Magento 2 websites.

Subscriptions are about 5 - 20GB. Also we have a Cron running every minute. This Cron fires about 6 PHP processes every minute. Each of these PHP process runs for about 3 seconds.

We have to make sure to 'Suspend' the subscription before removal to prevent the above issue happening.

Also this doesn't happens 100% of the time. I will say about 50%.
 
@WebHostingAce, developers would like to perform debugging this rare case directly on your server.
If you don't mind, please contact our Support Team to give them access to your server for further investigation.
Thank you.
 
@IgorG This is happening on all our servers.

As I explained in the above reply, we can eliminate this issue by Suspending the Subscription before removal.

Ok, I will contact the Support when I get a chance.

Thank you.
 
Back
Top