Uninstalling Agile plugin from Redmine 7 Docker Container in Linux

This step-by-step guide will show you in how to completely remove the Agile plugin from Redmine 7 Docker Container. All is done on Ubuntu Linux 26.04 operating system.

01_sys_info_redmine_ubuntu_versions.png

Show Docker Container name

The very first command that we need to execute is showing the name of your Docker Redmine 7 Container. It is needed because every single command until the end of the process is going to include this name.

sudo docker ps

In my case the name is dimitar_container.

02_docker_ps.png

Listing the plugins

Now, please list the available plugins to check the one that we will uninstall.

sudo docker exec -it dimitar_container ls -l plugins/

03_listing_plugins.png

Downgrade the database

This is the most important part of the full guide. It will downgrade your database in relation to the Agile. So it will completely remove the tables of this plugin in your database.

sudo docker exec -it -e RAILS_ENV=production dimitar_container bundle exec rake redmine:plugins:migrate NAME=redmine_agile VERSION=0

04_downgrade_database.png

Delete plugin folder

Next step that we need to do is just delete the plugin folder that is left in the list. It happens via this command:

sudo docker exec -it dimitar_container rm -rf plugins/redmine_agile

05_delete_plugin_folder.png

List again

To double-check and see if everything is fine, we list again the plugins and make sure the Agile is gone.

06_list_again.png

Cache clear

To be sure that everything will be gone, just clear the cache as well:

sudo docker exec -it -e RAILS_ENV=production dimitar_container bundle exec rake tmp:cache:clear

07_cache_clear.png

Restart

The final thing that is needed is restarting your Docker Container.

sudo docker restart dimitar_container

08_docker_restart.png

Plugin is gone

Now check if the plugin is gone indeed via just going to your Redmine webpage and refreshing it.

09_plugin_gone.png

Video demonstration

If you wish to see the process in action, please see the this video demonstration of removing the Agile from Redmine 7 Docker Container in Ubuntu 26.04.

Was this article helpful? Yes  No