• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Urchin Automation with Plesk

Phil@

New Pleskian
I made some changes to the Urchin Automation Script from Nightawk (Check this thread: http://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