Project

General

Profile

Plugin breaks redmine instance

Added by Taryn A almost 3 years ago

Plugin breaks redmine instance.

Plugins trying to install:
redmine_checklists-3_1_19
redmine_cms-1_2_2

Environment:
Redmine version 4.2.1.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux-gnu]
Rails version 5.2.5
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Filesystem
Redmine plugins:
no plugin installed


Replies (4)

RE: Plugin breaks redmine instance - Added by Lorenzo Meneghetti almost 3 years ago

Hi, how did you install the plugins? Did you follow the plugin author instructions? Can you post the steps you did?
Thanks
Lorenzo

RE: Plugin breaks redmine instance - Added by Taryn A almost 3 years ago

-CMS

Below you will find common steps for any plugin installation (all commands should be executed from Redmine app root folder ex. /var/www/redmine, that folder contains config.ru file)

Go to Redmine's root folder

cd /var/www/redmine

Copy and unarchive plugin

cp redmine_cms-[version]-light.zip plugins/
cd plugins
unzip redmine_cms-[version]-light.zip

Install required gems

cd /var/www/redmine
bundle install --without development test --no-deployment

Migrate plugin's tables

bundle exec rake redmine:plugins NAME=redmine_cms RAILS_ENV=production

Restart Redmine app

For Phusion Passenger just touch restart.txt file

touch tmp/restart.txt

-checklist
Below you will find common steps for any plugin installation (all commands should be executed from the Redmine app root folder ex. /var/www/redmine; that folder contains config.ru file)

Go to Redmine's root folder

cd /var/www/redmine

Copy and unarchive plugin

cp redmine_checklists-x_x_x-pro.zip plugins/
cd plugins
unzip redmine_checklists-x_x_x-pro.zip

Install required gems

cd /var/www/redmine
bundle install --without development test --no-deployment

Migrate plugin's tables

bundle exec rake redmine:plugins NAME=redmine_checklists RAILS_ENV=production

Restart Redmine app

For the Phusion Passenger just touch the restart.txt file

touch tmp/restart.txt

RE: Plugin breaks redmine instance - Added by Lorenzo Meneghetti almost 3 years ago

Hi, did you have any errors while installing the plugins?
Sounds like an access problem to plugins folders by the user that runs redmine.
Thanks
Lorenzo

RE: Plugin breaks redmine instance - Added by Taryn A almost 3 years ago

Thank you. This seems to have fixed the problem.

    (1-4/4)