• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question How to control when a created Event Handler is called?

FreeUserName

New Pleskian
It seems that created event handlers are called after the event occurs.

Coming from:

https://docs.plesk.com/en-US/12.5/a...t-tracking/adding-event-handlers-linux.59206/

E.g. when I use the example 'customer account creation' event the bash script test-handler.sh is called after the client has been created what makes perfect sense here. But let's say I would like to perform a task before the 'Physical hosting deleted' event actually does its task? E.g. unmount a folder pointing to an NFS in the users httpdocs/.

In addition is there an overview of when events are called and in which order? E.g. Domain created > Physical hosting created > Event N.
 
Last edited:
The current behaviour is following - event handlers are started in selected priority order only after the event occurs.
 
Thanks Igor. I expected that. In that case; I searched the Plesk Administrator's Guide about Event Tracking / Handlers but I couldn't find the order of steps taken. Is there such an overview?

Let's say I like to unmount a directory mounted in httpdocs when I delete a domain. I found out that this is at least associated in the end with the event 'Physical hosting deleted'. What is the order of steps taken by Plesk? Is it for instance a sequence of different events? E.g.:

This is an assumption for illustration:
1) Domain status updated (e.g. to first suspend the domain before delete)
2) {Some process in between}
3) Domain deleted
4) {Some other process in between}
5) Physical hosting deleted

In this particuar case I'm trying to find the event just before Plesk will delete the domain directory (/var/www/vhosts/domain.ext/) where I can hook my unmout action on.

Any ideas or know where I can find the order of steps taken by Plesk for domain create / delete?
 
Back
Top