Installing Agile plugin on Redmine 7 in Linux

This guide will teach you in detail how to install the Agile plugin on Redmine 7 that runs on Ubuntu Linux 26.04.

redmine_7_ubuntu2604.png

Copy the zip file

We have already downloaded the Agile in our Downloads folder.

In the Downloads folder:

agile_01_file_in_downloads_folder.png

Checked in the Linux terminal with the "ls" command:

agile_02_zip_file_in_terminal.png

As being the Downloads folder in your terminal, please use the below command to copy the file in your redmine/plugins folder.

sudo cp redmine_agile-1_6_14-pro.zip /var/www/html/redmine/plugins/

Note: Please keep in mind that the in the current example the Redmine is installed in the /var/www/html/redmine directory but it is up to you where it is installed, so the path to your Redmine in your case could be different. Also, the version of the plugin could be different as well in relation to the zip file name.

In terminal:

agile_03_zip_file_copy_command_in_terminal.png

After it is copied the situation would be like this. Please navigate to your redmine/plugins directory.

  • in the files directory:

agile_04_zip_file_copied_in_file_system.png

  • in the terminal with the "ls" command:

agile_05_zip_copied_terminal.png

Unzip the file

As being in your redmine/plugins directory, please execute the below command to unzip the file.

sudo unzip redmine_agile-1_6_14-pro.zip

The result of the unzipping in your terminal would be these rows:

agile_06_unzip_rows.png

The result will be unzipped folder of the plugin.

  • In terminal:

agile_07_unzipped_folder_terminal.png

  • In files directory:

agile_08_unzipped_folder_files_directory.png

Delete the zip file

The zip file is no longed needed, so we just delete it with the following command.

sudo rm -rf redmine_agile-1_6_14-pro.zip

Install the needed gems

Now you have to return back to the previous directory .../redmine/.

Important: Both gems and migration commands (the next command) have to be executed in the .../redmine/ directory and not the .../redmine/plugins directory.

Then run:

sudo bundle install

As a result will have the needed gems installed.

agile_09_installed_gems.png

Migration

Please do the migration via this command:

sudo bundle exec rake redmine:plugins name=NAME_OF_THE_PLUGIN RAILS_ENV=production

The migration afterward will have these rows in your terminal:

agile_10_migration_done.png

Restart Redmine

We are almost done. The last step is to restart your Redmine.

In our case we run the Redmine in the terminal so I just close the terminal with the running terminal and open new one then execute the command to start Redmine (in the .../redmine/plugins directory):

sudo bundle exec rails server -e production

In the terminal it looks like this when started again:

agile_11_new_started_redmine.png

Note: Please keep in mind that your Redmine could run in another way (not started via terminal) and you could restart it just like executing this command in the ...redmine/ directory ---> touch tmp/restart.txt.

When you refresh your Redmine in the browser page (as it has been restarted) you will see the new Agile installed successfully.

agile_12_plugin_installed.png

Video demonstration

To make the situation even more clear, please see this video demonstration of installation the Agile on Redmine 7.

Was this article helpful? Yes  No
1 from 1 found this helpful