Help finding the correct procedure for updating/upgrading contacts(crm) & helpdesk plugins
Added by donny osmon about 7 years ago
Hi I am running these 2 plugins & would like to know the correct procedure for updating/upgrading them.
Should the existing version be uninstalled first? If so, would this wipe out the data?
Or should the existing plugin files be removed & new version files copied in before updating?
Below are 2 procedures I wrote up but have not executed yet. If they are wrong, please let me know.
Any advice would be greatly appreciated.
Thanks
redmine_contacts 4.0.3 --> 4.1.1 (free version being used)
redmine_contacts_helpdesk 3.0.1 --> 3.09
bundle exec rake redmine:plugins:migrate NAME=redmine_contacts VERSION=0 RAILS_ENV=production
$ rm -r /var/www/redmine/plugins/redmine_contacts
Restart Redmine
$ mv new-version_of_redmine_contacts_CRM to /var/www/redmine/plugins/redmine_contacts
$ cd /var/www/redmine; bundle install;
bundle exec rake redmine:plugins:migrate NAME=redmine_contacts RAILS_ENV=production
Restart Redmine
Or just move in new files & run migrate?
$ rm -r /var/www/redmine/plugins/redmine_contacts
$ mv new-version_of_redmine_contacts_CRM to /var/www/redmine/plugins/redmine_contacts
$ cd /var/www/redmine; bundle install;
$ bundle exec rake redmine:plugins:migrate NAME=redmine_contacts RAILS_ENV=production
Restart Redmine
Replies (2)
RE: Help finding the correct procedure for updating/upgrading contacts(crm) & helpdesk plugins - Added by Bernhard Rohloff about 7 years ago
To just update the plugin, your last mentioned steps are the right one:
$ rm -r /var/www/redmine/plugins/redmine_contacts
$ mv new-version_of_redmine_contacts_CRM to /var/www/redmine/plugins/redmine_contacts
$ cd /var/www/redmine; bundle install;
$ bundle exec rake redmine:plugins:migrate NAME=redmine_contacts RAILS_ENV=production
Restart Redmine
They also have a bit documentation on their website: https://www.redmineup.com/pages/help/installation/upgrade-redmineup-plugin
Greetings,
Bernhard
RE: Help finding the correct procedure for updating/upgrading contacts(crm) & helpdesk plugins - Added by Dimitar (RedmineUP) about 2 years ago
Hi Donny,
This is Dimitar from the RedmineUP Support Team.
May I ask, have you succeeded with the installation?
We look forward to hearing from you.
Best Regards,
Dimitar from the RedmineUP Support Team
donny osmon wrote:
Hi I am running these 2 plugins & would like to know the correct procedure for updating/upgrading them.
Should the existing version be uninstalled first? If so, would this wipe out the data?
Or should the existing plugin files be removed & new version files copied in before updating?
Below are 2 procedures I wrote up but have not executed yet. If they are wrong, please let me know.
Any advice would be greatly appreciated.
Thanksredmine_contacts 4.0.3 --> 4.1.1 (free version being used)
redmine_contacts_helpdesk 3.0.1 --> 3.09bundle exec rake redmine:plugins:migrate NAME=redmine_contacts VERSION=0 RAILS_ENV=production
$ rm -r /var/www/redmine/plugins/redmine_contacts
Restart Redmine
$ mv new-version_of_redmine_contacts_CRM to /var/www/redmine/plugins/redmine_contacts
$ cd /var/www/redmine; bundle install;
bundle exec rake redmine:plugins:migrate NAME=redmine_contacts RAILS_ENV=production
Restart RedmineOr just move in new files & run migrate?
$ rm -r /var/www/redmine/plugins/redmine_contacts
$ mv new-version_of_redmine_contacts_CRM to /var/www/redmine/plugins/redmine_contacts
$ cd /var/www/redmine; bundle install;
$ bundle exec rake redmine:plugins:migrate NAME=redmine_contacts RAILS_ENV=production
Restart Redmine