轉到/插件
刪除 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
.