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
This commit is contained in:
parent
9ea9d86126
commit
4ed7d822be
@ -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'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user