• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Urchin Automation with Plesk

Phil@

New Pleskian
I made some changes to the Urchin Automation Script from Nightawk (Check this thread: https://forum.plesk.com/showthread.php?s=&threadid=15979)

Changelog of V. 2.2 modified by me:
- The passwords are now correctly transmitted to the script (not with "xxxxxx" like before").
Long story short: The following has changed..
PLESK_PW=`cat /etc/psa/.psa.shadow`
PASSWORD=`
mysql -uadmin -p$PLESK_PW -N psa<< eof
SELECT a.password FROM accounts a, sys_users s WHERE login LIKE '$USERNAME' and a.id = s.account_id;
eof`


Installation:
1. Download Script
2. Change the Path to the vhosts in the Script: Its currently set to /var/www/vhosts... You might change it to /home/httpd/vhosts...
3. Put it in /usr/local/psa/bin
4. chown psaadm.psaadm urchin.sh
5. chmod 0755 urchin.sh
6. Go to Plesk -> Server -> Event Manager and add a new handler:
--> choose: Physical hosting created
--> Priority: 10
--> User: root
--> Comand: /usr/local/psa/bin/urchin.sh <new_domain_name> <new_system_user>
7. Create new Physical Hosting
8. Check in Urchin if all is created successfully
9. Enjoy

Download the Script: http://www.net-team.ch/downloads/urchin/urchin.sh
 
The link to your script is giving me a 404, any chance of getting a copy?
 
I've reupped the script to another host. You'll find the script here: http://www.net-team.ch/downloads/urchin/urchin.sh


It has not been optimized for Plesk 8.0 and Plesk 8.1. It might work, but I haven't tested it for above 7.5.4.

Enjoy...

PS: If you optimize it for Plesk 8.0 or 8.1 or do some useful modifications, feel free to post it in this thread.
 
Back
Top