Uninstalling extensions

This article is machine translated.

Uninstalling with Contao Manager

You first need to log back in to Contao Manager. To do so, you need to/contao-manager.phar.php access your domain again and enter your access data.

If you want to uninstall the extension “terminal42/contao-easy_themes”, go to the “Packages” tab and click on the “Remove” button next to the extension. Of course you can also reserve other extensions for uninstallation.

Mark extensions in Contao Manager for uninstallation

Click on “Apply changes” to start the uninstallation. The uninstallation can now take several minutes. Details of the uninstallation process can be displayed by clicking on the following iconShow/Hide Console Output.

Uninstalling extensions in Contao Manager

Once the Contao Manager has uninstalled the extension(s), you have to run the Contao installation tool to update the database if necessary.

Uninstalling from the command line {#deinstallation-using the command line}

You have logged on to your server with your user name and domain.

ssh benutzername@example.com

Then change to the directory of your Contao installation on the console.

cd www/example/

The command removeremoves the extension from the composer.jsonand deletes the code from the project.

To remove an extension and update itcomposer.lock, the command is removeexecuted. This will cause some hosters to not be able to finish the process because of the high system load and the update will fail. In this case you should use theContao Manager.

Uninstall a single extension:

php composer.phar remove terminal42/contao-easy_themes

Uninstall multiple extensions:

php composer.phar remove terminal42/notification_center terminal42/contao-leads

Once the uninstallation of the extension(s) is complete, you have to run the Contao install tool to update the database if necessary.