If I install an instance of a webapp ebuild: sudo webapp-config -I -d /var/www/localhost/htdocs/ lxr 0.3.1 and then attempt to clean that instance, I get the following: : jmglov@jglover; sudo webapp-config -C -d /var/www/localhost/htdocs/ lxr 0.3.1 * Running with these settings: * --force-virtual is OFF * --virtual-dirs is virtual * --virtual-files is virtual * --user is root * --group is root * --hostname is jglover.tfcc.com * --server is apache-basic * --directory is /var/www/localhost/htdocs/ * package is lxr * version is 0.3.1 * action is clean * Did you forget to use the -d switch? However, if I attempt to install again, I get the following error: : jmglov@jglover; sudo webapp-config -I -d /var/www/localhost/htdocs/ lxr 0.3.1 * Running with these settings: * --force-virtual is OFF * --virtual-dirs is virtual * --virtual-files is virtual * --user is root * --group is root * --hostname is jglover.tfcc.com * --server is apache-basic * --directory is /var/www/localhost/htdocs/ * package is lxr * version is 0.3.1 * action is install * Do we have lxr-0.3.1 available? * Yes, we do * Is there already a package installed in /var/www/localhost/htdocs/? * Package lxr-0.3.1 is already installed here * Use webapp-config -C to uninstall it first * Install directory already contains a web application
Hiya, To clean an installed application, just use webapp-config -C -d /var/www/localhost/htdocs/ You do not need the package name or version on the end. That's why the script isn't working as you expect. I'll make it more obvious that the script has exited with an error. Best regards, Stu