Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redmine: add missing 'migrate' command prior to starting the application #54524

Merged
merged 2 commits into from Jan 29, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

redmine: add missing 'migrate' command prior to starting the application

required for plugins with a database component
see: http://www.redmine.org/projects/redmine/wiki/Plugins
  • Loading branch information...
aanderse committed Oct 16, 2018
commit 4ed7d822be7711eb605b011384c29006dc6651f4
@@ -292,6 +292,7 @@ in
# execute redmine required commands prior to starting the application
# NOTE: su required in case using mysql socket authentication
/run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake db:migrate'
/run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:plugins:migrate'
/run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:load_default_data'
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.