@@PRODUCT@@

Removing an application

If you no longer need an application — an old forum, a test installation, a web shop you never got going — you take it away completely in one go: the files, the database and the scheduled tasks. You do not have to dig through the file manag

Written for: Customer, Reseller, Administrator

If you no longer need an application — an old forum, a test installation, a web shop you never got going — you take it away completely in one go: the files, the database and the scheduled tasks. You do not have to dig through the file manager and phpMyAdmin yourself. And because CoreCP makes a restore point first, you can put it back with one click for two weeks.

Removing

Open Applications, click the application and choose Remove. A dialog appears that says what goes and what stays. To be sure you are removing the right application, you type the site's name, for example example.nl, or example.nl/forum for an application in a subfolder. Only then can you confirm.

What happens

CoreCP does it in this order, and stops as soon as a step does not work:

  1. First a restore point of the files and the database. It is kept for 14 days and does not count towards your disk space.
  2. The application's database and database user are removed. If something else uses the same database, it stays.
  3. The application's files are removed. If another application lives in the same folder, for example a forum in /forum below your WordPress, it stays where it is and keeps working. Your website's own web folder stays as well, so you can put something else in it later.
  4. What the application had changed on your website — such as the web folder Moodle pointed at its own folder — goes back to how it was, and the application's scheduled tasks disappear.

Putting it back

After removing, the application is listed under Applications in Removed, with the date until which you can put it back. Choose Put back, and the files, the database, the database user and the scheduled tasks return as they were at the moment of removal. The application is then in your list again, with the same automatic update settings.

With Download on the same row you fetch the restore point to your own computer, for example to rebuild the site somewhere else. After 14 days the restore point and the row disappear by themselves.

If it goes wrong halfway

If a step does not work, CoreCP stops at once. You see which steps were done and which were not, and the row under Removed says partly removed. The restore point is kept: Put back puts everything back, including a database that had already been removed. Feel free to try again afterwards, or ask your hosting provider to look at what was in the way.

Stop managing is something else

On the Policy tab there is Stop managing. That removes nothing: the application stays on your website, CoreCP just no longer looks after it. Choose that if you want to maintain the application yourself. Choose Remove if it really has to go.

From the terminal

$ corectl app uninstall phpbb:example.nl/forum --confirm example.nl/forum
$ corectl app removed
$ corectl app restore <restore-point> --instance phpbb:example.nl/forum