cloudpanel-io / cloudpanel-ce

1.2k stars 98 forks source link

Unable to generate new reverse proxy #503

Closed martin-77 closed 1 month ago

martin-77 commented 1 month ago

CloudPanel version(s) affected

2.4.2

Description

running instance of cloudpanel - each minor-update made since 2.0 or 2.1, not sure. from time to time I made manual updates by apt update && apt upgrade. Existing sites are running fine, on generating a new reverse proxy, this error occurs:

An error has occurred, error message: Command " : /usr/bin/sudo /usr/sbin/useradd -p $(/usr/bin/sudo /usr/bin/cat /tmp/.clp_tmp_e95bc231738dcc32f8ad71230e73fbfdcc990002 | /usr/bin/openssl passwd -6 -stdin) -m 'bumms-test' -k '/home/clp/htdocs/app/files/resources/etc/skel/site-user' -s '/bin/bash' -d '/home/bumms-test' " failed, error message: configuration error - unknown item 'NONEXISTENT' (notify administrator) configuration error - unknown item 'PREVENT_NO_AUTH' (notify administrator) configuration error - unknown item 'NONEXISTENT' (notify administrator) configuration error - unknown item 'PREVENT_NO_AUTH' (notify administrator)

Fun Fact: the user and the group bumms-test is generated. when deleting by userdel bumms-test next error occurs:

Jul 29 11:43:08 cp userdel[39393]: unknown configuration item `NONEXISTENT'
Jul 29 11:43:08 cp userdel[39393]: unknown configuration item `PREVENT_NO_AUTH'

the folder bumms-test is generated with fitting user and group

How to reproduce

Try to generate a new reverse proxy from gui

Possible Solution

no idea how to fix

Additional Context

root@cp:~# php -v
PHP 8.2.21 (cli) (built: Jul 12 2024 07:08:08) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.21, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.21, Copyright (c), by Zend Technologies
root@cp:~# nginx -v
nginx version: nginx/1.21.4
root@cp:~# uname -a
Linux cp 6.8.8-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.8-4 (2024-07-26T11:15Z) x86_64 GNU/Linux
FoxXxHater commented 1 month ago

** This Problem ocurs to help me testing with my problem... https://discord.com/channels/696694788883349574/696697364114702368/1267420365580275735

cloudpanel-io commented 1 month ago

We cannot reproduce the issue.

ChatGPT is saying the following:

Screenshot 2024-08-13 at 08 47 59