Getting groupadd -g 2001 ftpgroup error while installing cyberpanel on ubuntu 20.04 LTS

I am trying to install cyberpanel on ubuntu 20.04 LTS on a machine, using following command.

sh <(curl https://cyberpanel.net/install.sh || wget -O -https://cyberpanel.net/install.sh)

but I’m getting ftpgroup error :

[09.12.2022_12-54-15] [ERROR] We are not able to run groupadd -g 2001 ftpgroup return code: 9.  Fatal error, see /var/log/installLogs.txt for full details.

[09.12.2022_12-54-15] #########################################################################

Oops, something went wrong...

and also same details given in installLogs.txt

[09.12.2022_12-54-15] Running: groupadd -g 2001 ftpgroup,60
[09.12.2022_12-54-15] [ERROR] We are not able to run groupadd -g 2001 ftpgroup return code: 9.  Fatal error, see /var/log/installLogs.txt for full details.
[09.12.2022_12-54-15] [ERROR] We are not able to run groupadd -g 2001 ftpgroup return code: 9.  Fatal error, see /var/log/installLogs.txt for full details.

Oops, something went wrong... [404]

Do you know any fix for this? I have a fresh installed Ubuntu 20.04 OS and I’m getting this error.

Hi @alexiz

May I know, how you solved this ? Im getting the same error on Ubuntu 22

Found a fix

  1. Remove FTP ser
    sudo userdel ftpuser
  2. Remove FTP Group
    sudo groupdel -f ftpgroup

and run install again