Can't create a website with --dbname option

attached the logs when I try to create a php site. I reinstalled ubuntu on my vps and easyengine

COMMAND: docker volume ls --filter=“label=org.label-schema.vendor=EasyEngine” --filter=“label=io.easyengine.site=mywebsite_exemple” -q
[06-07-2020 18:03:59] ee.DEBUG: RETURN CODE: 0
[06-07-2020 18:03:59] ee.DEBUG: -----------------------
[06-07-2020 18:03:59] ee.DEBUG: -----------------------
[06-07-2020 18:03:59] ee.DEBUG: COMMAND: docker cp /tmp/db_exec services_global-db_1:/db_exec
[06-07-2020 18:03:59] ee.DEBUG: RETURN CODE: 0
[06-07-2020 18:03:59] ee.DEBUG: -----------------------
[06-07-2020 18:03:59] ee.DEBUG: -----------------------
[06-07-2020 18:03:59] ee.DEBUG: COMMAND: docker exec services_global-db_1 sh db_exec
[06-07-2020 18:04:00] ee.DEBUG: STDERR: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘-gen’ at line 1
[06-07-2020 18:04:00] ee.DEBUG: RETURN CODE: 1

here is the result of the command the script tries to execute:
docker exec services_global-db_1 sh db_exec
Result : ERROR 1396 (HY000) at line 1: Operation DROP USER failed for ‘userofmywebsite-HNCySf’@’%’

my version of ee :slight_smile:

ee cli info
±------------------±----------------------------------------------------------------------------+
| OS | Linux 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 |
| Shell | /bin/bash |
| PHP binary | /usr/bin/php7.3 |
| PHP version | 7.3.19-1+ubuntu18.04.1+deb.sury.org+1 |
| php.ini used | /etc/php/7.3/cli/php.ini |
| EE root dir | phar://ee.phar |
| EE vendor dir | phar://ee.phar/vendor |
| EE phar path | /home/ubuntu |
| EE packages dir | |
| EE global config | /opt/easyengine/config/config.yml |
| EE project config | |
| EE version | 4.1.0 |
±------------------±----------------------------------------------------------------------------+

and my cmd to create my website :slight_smile:
ee site create mywebsite.com --type=php --with-db --ssl=le --dbname=humo-gen

if I delete the parameter --dbname=humo-gen it works

do you have any idea

Hey @jeremy59710, thanks for reporting the issue, I’ve created an PR which is fixing it and hopefully it will get merged in next release.