covid-19.png
In response to the spread of COVID-19, we want to do our part to help you stay connected and productive using our products

Free for hospitals, healthcare-related, and nonprofit organizations

In response to the spread of COVID-19, we want to do our part to help you stay connected and productive using our products

升级RedmineUP插件

我们插件的轻便版与专业版有着相同的数据库结构,这意味着如果你有相同的版本号,插件升级过程中你无需迁移数据库。我们强烈建议在安装之前进行完整备份。在最常见的情况下,只需删除名为light version redmine/plugins/[plugin_name]的文件夹,并将专业版本复制到同一个文件夹redmine/plugins/[plugin_name]即可。

*注意:*无论是从旧版本升级到新版本,还是从轻便版升级到专业版,所有数据都将被保存。

以下是任何插件升级的常见步骤(所有命令都应该从Redmine应用程序根目录下执行,比如/var/www/redmine,该文件夹包含config.ru配置文件)

删除轻便版本文件

cd /var/www/redmine
rm -fr plugins/[plugin_name]

复制和解压缩专业版本文件

cp [plugin_name]-4_0_0-pro.zip plugins/
cd plugins
unzip [plugin_name]-4_0_0-pro.zip

安装所需的文件

cd /var/www/redmine
bundle install

迁移插件表

bundle exec rake redmine:plugins NAME=[plugin_name] RAILS_ENV=production

重启Redmine应用程序

对于Phusion Passenger, 只需执行touch restart.txt命令

touch tmp/restart.txt
Was this article helpful? Yes  No
92 from 169 found this helpful