# Discover existing

# About

The "Discover Existing" tool works by looking in the website's home directory for working WordPress installations which were installed manually or copied from another server. These are verified using wp-cli and then added to the apps listing on the website which will enable you to use the WordPress toolkit features.

# Troubleshooting

If you received a "No WordPress Installations have been found" error, please run the following commands as the website user, not root.

wp user list --path=public_html

wp core is-installed --path=public_html

wp option get DB_NAME --path=public_html

Replace public_html with the path in which WordPress is installed. These commands should all succeed - if not, there might be something wrong with the WordPress installation.

Another potential cause could be that the wp-config.php is in an unusual format, for example with database credentials being included from another file.