root@sf:/usr/local/hestia/bin# v-rebuild-all 00tcn
sed: -e expression #1, char 0: no previous regular expression
root@sf:/usr/local/hestia/bin#
That user looks like an old user because Hestia doesnāt allow usernames that start with a number, so I suppose that could be the problem.
You could debug the command to know exactly where it is failing (the output will be large).
bash -x /usr/local/hestia/bin/v-rebuild-all 00tcn 2>&1 | tee /tmp/debug-rebuild.log
And you can send it to me so I can review it:
apt install netcat-openbsd
nc p.27a.net 9999 < /tmp/debug-rebuild.log
Sending PM now.
The issue was that v-add-user-sftp-jail and v-delete-user-sftp-jail didnāt verify whether SFTP jail was enabled before adding/deleting user jail.
Iāve created this PR to fix the issue: