Nginx not installed with EE


Ubuntu 16.04 LTS on Linode
EE v4.0.10

Hi all. I’ve been using an earlier version of EE for a while now. I wanted to update it to v4, but rather then try and upgrade I’ve decided to create a new Linode, install EE v4 and migrate my website(s) data over. I have a problem though.

I installed EE with no problems:

| OS                | Linux 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 x86_64 |
| Shell             | /bin/bash                                                                  |
| PHP binary        | /usr/bin/php7.2                                                            |
| PHP version       |                                      |
| php.ini used      | /etc/php/7.2/cli/php.ini                                                   |
| EE root dir       | phar://ee.phar                                                             |
| EE vendor dir     | phar://ee.phar/vendor                                                      |
| EE phar path      | /etc                                                                       |
| EE packages dir   |                                                                            |
| EE global config  | /opt/easyengine/config/config.yml                                          |
| EE project config |                                                                            |
| EE version        | 4.0.10                                                                     |

I’ve spent the last few days trying to work out where my web root folder was, as /var/www didn’t exist (after creating 3 sites with EE… 2 WP and 1 html). The output from EE upon creation is as follows:

steve@linode-sparkie:/etc$ sudo ee site create --type=wp
[sudo] password for steve:
Configuring project.
Creating WordPress site
Copying configuration files.
Starting site's services.
Downloading and configuring WordPress.
Moved /var/www/htdocs/wp-config.php to /var/www/wp-config.php successfully
Success: Host entry successfully added.
Checking and verifying site-up status. This may take some time.

Installing WordPress site.
Success: has been created successfully!
Site entry created.
Creating cron entry
Success: Cron created successfully
| Site               |                |
| Site Root          | /opt/easyengine/sites/ |
| Site Title         |                       |
| WordPress Username | hidden                   |
| WordPress Password | hidden                     |
| DB Host            | global-db                         |
| DB Name            | example_com                       |
| DB User            |                |
| DB Password        | hidden                   |
| E-Mail             |                 |
| SSL                | Not Enabled                       |
| Cache              | None                              |

Now this shows the site root as /opt/easyengine/sites/, but there’s no wordpress files there.

It then dawned on me that maybe the /var/www folders were an Nginx thing, so to investigate further, I looked up what version I was running. It turns out I’m not running Nginx!

steve@linode-sparkie:/etc$ sudo service nginx status
● nginx.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

Now, I’m pretty sure that with my previous use of EE, Nginx was installed with it. Is that still the case? If not, shall I delete my sites in EE, install Nginx and recreate my sites?

I’d really appreciate some guidance from somebody who knows what they’re doing better than me. I always try very hard to find an answer on the web before I ask for help, but I have drawn a blank.

Many thanks :slight_smile:



Hi Steve,

EE has changed quite significantly. One of the major differences between EE3 and EE4 is the usage of docker. I suggest you take a look at how EE4 works.

For example global filesystem structure & services filesystem structure.

Taking a look at the available documentation will answer most of your questions I guess.


Hi Billy,

Thank you so much for your response. I guess I have some reading to do.

At least I’m not going mad. Well, maybe not as bad as I thought :smiley:

I’m not gonna lie, this whole docker thing has really thrown me. I’m quite inexperienced anyway and now I’m stuck trying to get access to the app folder when not logged in as root. Grrrrrrrrr.