转到/插件
删除 redmine_x_resources
文件夹和公用 redmine_x_assets
文件夹中。
去除剩菜
确保您还删除了位于 /public/plugin_assets
- 删除 redmine_x_resources
文件夹和公用 redmine_x_assets
夹。 的 RedmineX 资产 插件在甘特图和资源之间创建共享资产。
再次安装资产
解压新 redmine_x_assets
并将其上传到 redmine_root/plugins
或将存档上传到同一位置并在控制台中执行解压缩命令。 不要更改插件文件夹名称。
安装宝石
从 redmine_root
运行 bundle install
.
迁移
运行迁移命令 bundle exec rake redmine:plugins:migrate RAILS_ENV=production
.
再次安装资源
解压 redmine_x_resources
并将其上传到 redmine_root/plugins
或将档案上传到同一位置并在控制台中执行解压缩命令。 不要更改插件文件夹名称。
安装宝石
从 redmine_root
运行 bundle install
.
迁移
运行迁移命令 bundle exec rake redmine:plugins:migrate RAILS_ENV=production
.
上传公众假期日历
运行日历命令 bundle exec rake redmine:redmine_x_assets:initialize_holidays RAILS_ENV=production
加载假期(如果在之前的甘特图更新期间未安装)。
重新启动
重启Redmine。 根据您的托管服务提供商/网络服务器,您将需要运行以下命令。 彪马: sudo systemctl restart redmine.yourcompany.com.service
or 乘客: touch tmp/restart.txt
.