mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
New Site: error message: user: This value already exists. #427
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rodetv on 3/1/2023
CloudPanel version(s) affected
latest
Description
It is not possible to add a domain that match the name of a system account.
When you create a new website, the user is named after the domain but without the .tld.
This results in an error when you have two domains where only the .tld is different.
An example could be that you have a system account named "test" then you can't create a website called "test.tld" or if you have created a website called "test.com" then you can't have a website called "test.net".
How to reproduce
try to create a website that match the name of an existing system account.
try to create a website where only the .tld differs from an existing website.
Possible Solution
change the naming to match the domain with the .tld (test.tld = testtld or test_tld) or make an unique username to the new website user.
Additional Context
No response