mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Blocking Error? "user: This value is too long. It should have 32 characters or less." #400
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 @presswizards on 5/8/2023
CloudPanel version(s) affected
2.2.2
Description
I was creating some new WP sites, and got this:
An error has occurred, error message: user: This value is too long. It should have 32 characters or less.
The domain name was billtest.cloudpanel2.mydomain.com
Username was btadmin
Password was a generated one
If I shortened the domain name, the error went away and it worked ok. I believe it's referencing the SIte User, not the WordPress username, but I'm not able to specify the Site User on the Create WordPress Site form.
So it seems the Site User is actually limiting the hostname I am allowed to use, and this should be fixed. Maybe have an Advanced option added where you can override the generated Site User, or add those fields to that same form?
How to reproduce
Create a WordPress site using the UI with a subdomain hostname that is long, which seems to result in a Site User generated longer than 32 characters.
Possible Solution
Maybe have an Advanced option added where you can override the generated Site User, or add those fields to that same form so they can be corrected or override the default generated one.
Additional Context
No response