V-change-user-shell error

when i do this:

/usr/local/hestia/bin/v-change-user-shell admin nologin

it shows error:

/usr/local/hestia/bin/v-change-user-shell: line 17: /func/main.sh: No such file or directory
/usr/local/hestia/bin/v-change-user-shell: line 18: /conf/hestia.conf: No such file or directory
/usr/local/hestia/bin/v-change-user-shell: line 25: check_args: command not found
/usr/local/hestia/bin/v-change-user-shell: line 26: is_format_valid: command not found
/usr/local/hestia/bin/v-change-user-shell: line 27: is_object_valid: command not found
/usr/local/hestia/bin/v-change-user-shell: line 28: is_object_unsuspended: command not found
/usr/local/hestia/bin/v-change-user-shell: line 31: check_hestia_demo_mode: command not found
/usr/local/hestia/bin/v-change-user-shell: line 58: update_user_value: command not found
/usr/local/hestia/bin/v-change-user-shell: line 61: log_history: command not found
/usr/local/hestia/bin/v-change-user-shell: line 62: log_event: command not found

are you root ?

yes im root. I also tried:
sudo /usr/local/hestia/bin/v-change-user-shell admin nologin

still got error

Did you rebooted your server after installation? Or at least logged out and back in again?