• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

App vault - rolling your own

D

Doug_M

Guest
Hi. I'm rolling my own app vault package for PostNuke 0.761. I started by copying the vault package for PostNuke 0.750 and modified it accordingly. Things are going well but I have a problem with the uninstall.

The manual doesn't describe how to write an uninstall script. I looked at a bunch of the installed app vault packages and they don't seem to have an uninstall script. When I uninstall PostNuke with my vault package the MySQL database is deleted but the app directory in the vhost/httpdocs folder remains.

I tried using this in a postuninstall script in the scripts directory:

Code:
#!/bin/sh
# nuke postuninstall script
cd ${vhost_path}
rm -rf ${vhost_path}/${documents_directory}/${install_prefix}
exit 0

It doesn't work, the folder is untouched. By the way, according to the manual, the postuninstall script is "called after the files of the application are removed from the vhost".

So, I figure I need an uninstall script in the uninstall folder, but I don't know how to proceed and I can't find an example.

Regards,
Doug
 
Back
Top