Fork me on GitHub

does this error, after bb deploy, ring any bells?

remote: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
remote: sudo: a password is required
remote: Error while executing task: post-receive

Jacob O'Bryant15:11:22

yeah, I ran into it recently because the path of the systemctl command changed and so the sudoers stuff set up by was invalidated. I thought I fixed that though... as a workaround, after you deploy you can run bb restart

Jacob O'Bryant15:11:01

and if you want to debug root cause, run which systemctl on the server and compare that to the sudoers stuff in

Jacob O'Bryant15:11:42

maybe I should just put both paths (old and new) in the sudoers file (if that's not what I'm already doing? don't remember)


bb restart did the trick; I’ll try to learn by looking at which systemctl.