• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue DOMAIN_CURRENT_SITE matches

Kingsley

Silver Pleskian
Hello;

I am trying to clone an existing wordpress multi site install with the WP TOOLKIT but it keeps showing me the below error.

Code:
[2018-09-08 01:19:58.241] ERR [panel] Task failed: id=338, pid=5662, type=ext-wp-toolkit-task\manage, error=Site 'healthable.org/' not found. Verify DOMAIN_CURRENT_SITE matches an existing site or use `--url=<url>` to override.
{"err_code":true,"err_message":"Site 'healthable.org\/\/' not found. Verify DOMAIN_CURRENT_SITE matches an existing site or use `--url=<url>` to override."}

i have checked my wp-config and data base and my domain 'healthable.org' is there.

Code:
/* MULTI SITE SETTINGS. */
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'healthable.org');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

/* CUSTOME SITE SETTINGS. */
define('WP_MEMORY_LIMIT', '300M');

I have attached screenshots
 

Attachments

  • Edit Site  Healthable ‹ Network Admin  Healthable Sites — WordPress (1).png
    Edit Site Healthable ‹ Network Admin Healthable Sites — WordPress (1).png
    12.7 KB · Views: 11
  • Edit Site  Healthable ‹ Network Admin  Healthable Sites — WordPress.png
    Edit Site Healthable ‹ Network Admin Healthable Sites — WordPress.png
    23.2 KB · Views: 10
  • boma riolohost com 8443   localhost   healthable   ha_blogs   phpMyAdmin 4 7 8.png
    boma riolohost com 8443 localhost healthable ha_blogs phpMyAdmin 4 7 8.png
    43.8 KB · Views: 9
Last edited:
Code:
root@boma:~#

/usr/local/psa/admin/bin/filemng healthable exec /var/www/vhosts/healthable.org /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/bin/wp --path=/var/www/vhosts/healthable.org/httpdocs site list --debug

Debug (commandfactory): No doc comment for fix_keys. (0.38s)
Debug (commandfactory): No doc comment for fix_keys. (0.381s)
Debug (bootstrap): No readable global config found (0.387s)
Debug (bootstrap): No project config found (0.387s)
Debug (bootstrap): argv: /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/bin/../php/boot-fs.php --path=/var/www/vhosts/healthable.org/httpdocs site list --debug (0.387s)
Debug (bootstrap): ABSPATH defined: /var/www/vhosts/healthable.org/httpdocs/ (0.388s)
Debug (bootstrap): Begin WordPress load (0.388s)
Debug (bootstrap): wp-config.php path: /var/www/vhosts/healthable.org/httpdocs/wp-config.php (0.388s)
Debug (bootstrap): Set URL: healthable.org/ (0.388s)
Debug (bootstrap): Loaded WordPress (1.19s)
Debug (bootstrap): Running command: site list (1.191s)
+---------+------------------------+---------------------+---------------------+
| blog_id | url | last_updated | registered |
+---------+------------------------+---------------------+---------------------+
| 1 | http://healthable.org/ | 2018-09-08 05:24:55 | 2018-08-30 20:30:06 |
+---------+------------------------+---------------------+---------------------+
 
Code:
root@boma:~#

/usr/local/psa/admin/bin/filemng healthable exec /var/www/vhosts/healthable.org /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/bin/wp --path=/var/www/vhosts/healthable.org/httpdocs config get --constant=DOMAIN_CURRENT_SITE --debug

Debug (commandfactory): No doc comment for fix_keys. (0.059s)
Debug (commandfactory): No doc comment for fix_keys. (0.06s)
Debug (bootstrap): No readable global config found (0.063s)
Debug (bootstrap): No project config found (0.063s)
Debug (bootstrap): argv: /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/bin/../php/boot-fs.php --path=/var/www/vhosts/healthable.org/httpdocs config get --constant=DOMAIN_CURRENT_SITE --debug (0.063s)
Debug (bootstrap): ABSPATH defined: /var/www/vhosts/healthable.org/httpdocs/ (0.064s)
Debug (bootstrap): Running command: config get (0.065s)
healthable.org
 
Hi, it's an very old topic and I'm sorry for posting here. But I've ran into the same issue and was wondering how you overcome this issue. Thanks alot!
Ps: The knowledge article didn't helped me.

Edit:

Solved the issue by simply removing define('DOMAIN_CURRENT_SITE', ''); from the wpconfig. Before cloning the instance.
 
Last edited:
Back
Top