Skip to content

site enable fails for ssl sites #175

@mrrobot47

Description

@mrrobot47

Site enable currently fails in ssl sites:

$ ee site enable example.com

Enabling site example.com.
global-db: Service already running
PHP Warning:  file_put_contents(/opt/easyengine/sites/example.com/app/htdocs/check.html): failed to open stream: No such file or directory in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php on line 642
PHP Fatal error:  Uncaught Exception: Unrecognized value in --ssl flag: letsencrypt in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php:566
Stack trace:
#0 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(500): EE\Site\Type\EE_Site_Command->init_ssl('vanguard1.blr.r...', '/opt/easyengine...', 'letsencrypt', '0')
#1 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(311): EE\Site\Type\EE_Site_Command->www_ssl_wrapper()
#2 [internal function]: EE\Site\Type\EE_Site_Command->enable(Array, Array)
#3 phar:///usr/local/bin/ee/php/EE/Dispatcher/CommandFactory.php(96): call_user_func(Array, Array, Array)
#4 [internal function]: EE\Dispatcher\CommandFactory::EE\Dispatcher\{closure}(Array, Array)
#5 phar:///usr/local/bin/ee/php/EE/Dispatcher/Subcommand.php(425): call_user_func(Object(Closure), Array, Array)
#6 phar:///usr/local/bin/ee/php/EE/Runner.php(275): EE\Dispatcher\Subcommand->invoke(Array, Array, Array)
#7 phar:///usr/local/b in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php on line 566
Warning: An Error occurred. Initiating clean-up.
Warning: Exiting gracefully after rolling back. This may take some time.
Success: Rollback complete. Exiting now.

Metadata

Metadata

Assignees

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