пытаюсь восстановить пользователя VestaCP в новой панели Hestia по ssh из под root:
v-restore-user admin admin.2021-02-21_23-34-23.tar
Выдает ошибку:
v-restore-user: command not found
В чем проблема?
пытаюсь восстановить пользователя VestaCP в новой панели Hestia по ssh из под root:
Выдает ошибку:
v-restore-user: command not found
В чем проблема?
try
sudo v-restore-user admin admin.2021-02-21_23-34-23.tar
Пожалуйста, пиши по-английски
Use the full path
/usr/local/hestia/bin/v-restore-user
or
$HESTIA/bin/v-restore-user
I have added:
PATH=$PATH:/usr/local/hestia/bin/
to .bash_profile
or
if [ "${PATH#*/usr/local/hestia/bin*}" = "$PATH" ]; then
. /etc/profile.d/hestia.sh
fi
to .profile
How about we add $HESTIA/bin to the path automatically upon install? I think that the vast majority of users will have to do it one way or the other. So we will all save time and people like me who are less experienced will have an easier first experience.
It happens when you install hestia with sudo and run the command as root. Or sudo into the root user from the other user.
Does it? Maybe not in Debian? (but this is off-topic)
вот это помогло!