Blocking Error? "user: This value is too long. It should have 32 characters or less." #400

Closed
opened 2026-04-05 20:27:40 +02:00 by MrUnknownDE · 0 comments
Owner

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

*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_
Sign in to join this conversation.