v-update-user-counters command not found for admin
Posted: Mon Jul 11, 2016 8:01 pm
Hi,
I have a weird bug. When I try to use sudo v-update-user-counters as admin I get 'command not found'. However, if I type the complete path 'sudo /usr/local/vesta/bin/v-update-user-counters' the command works. The same goes for root.
I tried to fix this by adding to my ~/.bash_aliases
but it is still not working. I didn't forget to 'source ~/.bash_aliases'.
Any suggestions?
I have a weird bug. When I try to use sudo v-update-user-counters as admin I get 'command not found'. However, if I type the complete path 'sudo /usr/local/vesta/bin/v-update-user-counters' the command works. The same goes for root.
I tried to fix this by adding to my ~/.bash_aliases
Code: Select all
# Making the vesta commands available to admin
VESTAPATH=$PATH:/usr/local/vesta/bin
export VESTAPATH
Any suggestions?