Skip to content

Commit 4ff49d0

Browse files
authored
Add information regarding "v-command: command not found error" (hestiacp#3147)
1 parent 7f6a11c commit 4ff49d0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/docs/server-administration/troubleshooting.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Troubleshooting
22

3+
## Command not found when I try to run a v-command as root
4+
5+
Add to /root/.bashrc the following code:
6+
7+
```bash
8+
if [ "${PATH#*/usr/local/hestia/bin*}" = "$PATH" ]; then
9+
. /etc/profile.d/hestia.sh
10+
fi
11+
```
12+
13+
And logout and login again.
14+
15+
After that you are able to run any v-command you want.
16+
317
## Disabling “Use IP address allow list for login attempts” via command line
418

519
With the introduction of Hestia v1.4.0 we have added certain security features, including the possibility to limit login to certain IP addresses. If your IP address changes, you will not able to login anymore. To disable this feature, run the following commands:

0 commit comments

Comments
 (0)