Skip to content

Invalid characters for a local volume name #175

Closed

Description

@chinel

After i deleted a site using easyegine.
I tried creating a new website using this command
ee site create 134.122.104.246  --type=wp --cache

And i got the error below
`

Starting site creation. Configuring project. Creating WordPress site 134.122.104.246  Copying configuration files. Starting site's services. Warning: There was some error in docker-compose up. Warning: Initiating clean-up. [134.122.104.246 ] site root removed. Success: Site 134.122.104.246  deleted. Report bugs here: https://github.com/EasyEngine/site-type-wp

`

Also when i checked the log file i saw this as well

`

[02-09-2020 09:24:02] ee.DEBUG: COMMAND: docker volume inspect 134122104246 _data_postfix [02-09-2020 09:24:02] ee.DEBUG: STDOUT: [] [02-09-2020 09:24:02] ee.DEBUG: STDERR: Error: No such volume: 134122104246 _data_postfix [02-09-2020 09:24:02] ee.DEBUG: RETURN CODE: 1 [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: COMMAND: docker volume create \ --label "org.label-schema.vendor=EasyEngine" \ --label$ [02-09-2020 09:24:02] ee.DEBUG: STDERR: Error response from daemon: create 134122104246 _data_postfix: "134122104246\u00a0_data_postfix" includes invalid characters for a local volume name, o$ [02-09-2020 09:24:02] ee.DEBUG: RETURN CODE: 1 [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: COMMAND: docker volume inspect 134122104246 _ssl_postfix [02-09-2020 09:24:02] ee.DEBUG: STDOUT: [] [02-09-2020 09:24:02] ee.DEBUG: STDERR: Error: No such volume: 134122104246 _ssl_postfix [02-09-2020 09:24:02] ee.DEBUG: RETURN CODE: 1 [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: COMMAND: docker volume create \ --label "org.label-schema.vendor=EasyEngine" \ --label$ [02-09-2020 09:24:02] ee.DEBUG: STDERR: Error response from daemon: create 134122104246 _ssl_postfix: "134122104246\u00a0_ssl_postfix" includes invalid characters for a local volume name, onl$ [02-09-2020 09:24:02] ee.DEBUG: RETURN CODE: 1 [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: COMMAND: docker volume inspect 134122104246 _config_postfix [02-09-2020 09:24:02] ee.DEBUG: STDOUT: [] [02-09-2020 09:24:02] ee.DEBUG: STDERR: Error: No such volume: 134122104246 _config_postfix [02-09-2020 09:24:02] ee.DEBUG: RETURN CODE: 1 [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: COMMAND: docker volume create \ --label "org.label-schema.vendor=EasyEngine" \ --label$ [02-09-2020 09:24:02] ee.DEBUG: STDERR: Error response from daemon: create 134122104246 _config_postfix: "134122104246\u00a0_config_postfix" includes invalid characters for a local volume nam$ [02-09-2020 09:24:02] ee.DEBUG: RETURN CODE: 1 [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.INFO: Starting site's services. [02-09-2020 09:24:02] ee.DEBUG: ----------------------- [02-09-2020 09:24:02] ee.DEBUG: COMMAND: docker-compose up -d nginx postfix [02-09-2020 09:24:03] ee.DEBUG: STDERR: Volume 134122104246 _htdocs declared as external, but could not be found. Please create the volume manually using `docker volume create --name=13412210$ [02-09-2020 09:24:03] ee.DEBUG: RETURN CODE: 1

`

Activity

  1. mrrobot47 commented on Oct 15, 2026

    @mrrobot47
    Member

    Thanks for the report. The site name in your command ended with an invisible non-breaking space (the docker error shows 134122104246 _data_postfix), so the create got as far as the docker volumes and then failed with a generic docker-compose error.

    Since EasyEngine v4.13.2 (site-command#509, site-type-wp#243), new site names must be valid hostnames: dot-separated labels of letters, digits and hyphens, at most 64 characters, with internationalized names in punycode (xn--). A name like this one is now refused right away with an "Invalid site name" error, before anything is created.

    Please update with ee cli update, and reopen this if you still see it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions