Hi,

when working on local dev, i'm running into an issue with the drupal console
the command:

root@debian-salon:/var/www/cri# drupal config:export --tar --uri=www.example.com

ended with an error:

[Exception] DateTime::__construct(): Invalid date.timezone value 'Europe-Paris', we selected the timezone 'UTC' for now.

i checked my local php.ini, timezone currently defined is ok
Drupal Console Launcher version 1.0.1
Drupal Console version 1.5.0
Drupal version 8.4.4
PHP Version 7.0.27-0+deb9u1 (debian stable)
DataBase Version 5.5.5-10.1.26-MariaDB-0+deb9u1 (debian stable)

any clue, how to solve this ?

Comments

cri2mars’s picture

fortunately,

without the tar option, the command is completed

root@debian-salon:/var/www/cri# drupal config:export --uri=www.example.com 
 The configuration was exported at "../config/sync"

of course, i can export the config using the site config manager,

but i'd be really more convenient using the drupal console

i must miss something... :-/