EE4 x WordPress - Where does the folder?

Hello everyone does anyone here know how to access the wordpress folder in EE4?

fI did a new install, but the structure is different from EE3 and I can’t find the wodpress site folders.

The EE site shows this structure, but it doesn’t look like this on my server.

├── app 
│   ├── htdocs
│   └── wp-config.php
├── config
│   ├── nginx
│   ├── php
│   └── postfix
├── docker-compose-admin.yml
├── docker-compose.yml
├── logs
│   ├── nginx
│   └── php
└── services
    ├── postfix
    ├── mariadb
    │   ├── conf
    │   ├── data
    │   └── logs

Here:

/var/lib/docker/volumes/

Thanks for the reply friend, but is giving access denied!

That’s the default WP directory of EE v4.
EE v3 command is different with ee4. Maybe u need to read the decumentation. Sorry I can’t speak English well.

Anything in /var/lib/docker directory should not be edited directly! That’s why it’s in read-only mode.

You can also look here

/opt/easyengine/sites/sitename.com/app

which is just a link to the previously mentioned docker volume, in this case,

/var/lib/docker/volumes/sitenamecom_htdocs/_data

You will need sudo or root to do anything inside that volume. The much safer and preferred way to manage and/or manipulate that directory is to use the following EE4 command

sudo ee shell sitename.com

Which will put in inside the wp directory, htdocs in my case, as the proper www-data user. This is also the way to execute many wp-cli commands as well.

** Always hoping this never needs to be said, but you will need to substitute sitename.com with your ACTUAL site name.

Thanks friends for your help, but unfortunately it didn’t work out!

I could not access these folders.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.