-
Notifications
You must be signed in to change notification settings - Fork 432
Closed
Labels
Milestone
Description
Brand new installation.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
# ee -v
EasyEngine v3.0.4
Copyright (c) 2015 rtCamp Solutions Pvt. Ltd.
# ee site create --debug too.long.server.name.example.org --wpfc
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Downloading Wordpress [Done]
Setting up database [Done]
Installing plugin nginx-helper
Installing plugin w3-total-cache
Reload : nginx [Failed]
Unable to change owner : /var/www/too.long.server.name.example.org
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/ee-3.0.4-py3.4.egg/ee/core/fileutils.py", line 153, in chown
groupid)
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/too.long.server.name.example.org/logs/access.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/ee-3.0.4-py3.4.egg/ee/cli/main.py", line 104, in main
app.run()
File "/usr/local/lib/python3.4/dist-packages/cement-2.4.0-py3.4.egg/cement/core/foundation.py", line 694, in run
self.controller._dispatch()
File "/usr/local/lib/python3.4/dist-packages/cement-2.4.0-py3.4.egg/cement/core/controller.py", line 455, in _dispatch
return func()
File "/usr/local/lib/python3.4/dist-packages/cement-2.4.0-py3.4.egg/cement/core/controller.py", line 455, in _dispatch
return func()
File "/usr/local/lib/python3.4/dist-packages/cement-2.4.0-py3.4.egg/cement/core/controller.py", line 461, in _dispatch
return func()
File "/usr/local/lib/python3.4/dist-packages/ee-3.0.4-py3.4.egg/ee/cli/plugins/site.py", line 513, in default
setwebrootpermissions(self, data['webroot'])
File "/usr/local/lib/python3.4/dist-packages/ee-3.0.4-py3.4.egg/ee/cli/plugins/site_functions.py", line 388, in setwebrootpermissions
EEVariables.ee_php_user, recursive=True)
File "/usr/local/lib/python3.4/dist-packages/ee-3.0.4-py3.4.egg/ee/core/fileutils.py", line 160, in chown
Log.error(self, "Unable to change owner : {0} ".format(path))
File "/usr/local/lib/python3.4/dist-packages/ee-3.0.4-py3.4.egg/ee/core/logging.py", line 24, in error
self.app.close(1)
File "/usr/local/lib/python3.4/dist-packages/cement-2.4.0-py3.4.egg/cement/core/foundation.py", line 722, in close
sys.exit(code)
SystemExit: 1
# nginx -t
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
nginx: configuration file /etc/nginx/nginx.conf test failed
I'm going to create a pull requests, since i've already fixed it on our servers.