This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
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
yeah, I ran into it recently because the path of the systemctl command changed and so the sudoers stuff set up by setup.sh was invalidated. I thought I fixed that though...
as a workaround, after you deploy you can run bb restart
and if you want to debug root cause, run which systemctl
on the server and compare that to the sudoers stuff in setup.sh
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.