git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit4ed7d822be7711eb605b011384c29006dc6651f4 authorAaron Andersen <aaron@fosslib.net> dateTue 16 Oct 2018, 15:08 (8 years ago) parent9ea9d86
1 file changed+1
nixos/modules/services/misc/redmine.nix+1
nixos/modules/services/misc/redmine.nix+1
@@ -292,6 +292,7 @@ in
292292 # execute redmine required commands prior to starting the application
293293 # NOTE: su required in case using mysql socket authentication
294294 /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake db:migrate'
295+ /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:plugins:migrate'
295296 /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:load_default_data'
296297
297298