hestiacp / hestiacp

Hestia Control Panel | A lightweight and powerful control panel for the modern web.
https://hestiacp.com
GNU General Public License v3.0
3.4k stars 680 forks source link

[Bug] v-update-user-package error hestiamail #4101

Open arielesp opened 1 year ago

arielesp commented 1 year ago

Describe the bug

a clean hestiacp 1.8.10 install

error in new user hestiamail, but he user exists in /etc/passwd

in the panel, user count show 2 , but only admin exists

grep: /usr/local/hestia/data/users//hestiamail/user.conf: No such file or directory Error: user hestiamail doesn't exist

Tell us how to replicate the bug

v-update-user-package default

grep: /usr/local/hestia/data/users//hestiamail/user.conf: No such file or directory

v-update-sys-ip

sed: can't read /usr/local/hestia/data/users/hestiamail/web.conf: No such file or directory Error: user hestiamail doesn't exist

cat /etc/passwd

hestiamail:x:1001:1001:email@email.com:/home/hestiamail:/bin/sh

Which components are affected by this bug?

Control Panel Command Line Interface Control Panel Interface

Hestia Control Panel Version

1.8.10

Operating system

ubuntu 22.04

Log capture

No response

jaapmarcus commented 1 year ago

$BIN/v-list-sys-users plain

Check /etc/passwd for @ ... Will fix the issue for next release. It has been already patched for the main branch

arielesp commented 1 year ago

$BIN/v-list-sys-users plain

Check /etc/passwd for @ ... Will fix the issue for next release. It has been already patched for the main branch

hestiamail admin

in /etc/paswd not exists "@"

thx

jaapmarcus commented 1 year ago

eris@web01:~$ cat /etc/passwd | grep '@'

hestiamail:x:1000:1000:me@xxxx.xx:/home/hestiamail:/bin/sh
admin:x:1001:1001:me@xxx.:/home/admin:/usr/sbin/nologin
zzzz:x:1003:1003:client@domain.com:/home/zzzz:/bin/bash

So that is the issue issue has been patched in the main branch but not in the release branch yet ...

arielesp commented 1 year ago

yes, there are these users ..... @ is my email from install in hestiamail and admin , like your example

OK thanks =)