Unable to manage WordPress instance: Unable to locate configuration path




  • Avatar
    Eske Rahn

    After an attach everything works, except the preview in Plesk, any good ideas why?

    Not in ANY way a big issue, just wondering if there is an easy fix.

    Could it be a tiny bug in the Scan, that needs/forgets to reset something somewhere?

    (It is after a rename, see this)

  • Avatar
    Alexandr Redikultsev (Edited )

    Hi, @Eske Rahn!

    Preview and WordPress do not always goes hand in hand, as WordPress can only listed on one URL that is specified in WordPress database, in case you came to the WordPress on any other URL, it will trigger the redirection. For example:

    1. WordPress is working on http://example.com, preview link is 

    This one most probably will be working fine.

    2. WordPress is working in https://example.com, preview link is 

    This will redirect to the original site as preview is on HTTP, and WordPress is on HTTPS.

    And so on. What you want to do to make the preview stable is to change site URL of the WordPress site to the preview URL (to instead of example.com) either in the WordPress database (options table) or in wp-config.php.

    We have a feature request for such functionality to be available out of the box, feel free to share your input there: https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/33777442-wordpress-toolkit-url-switch-main-url-previ

  • Avatar
    Eske Rahn (Edited )

    @Alexandr Redikultsev

    Thanks for the reply. Should have been more clear, The preview of the site worked fine before the detach-rename-attach..

    Everything else are unchanged. It is merely the file-dir "httpdocs" that was renamed.

    (Renamed to make things easier to manage, as there are other sites in the same file structure - where preview worked/works fine btw).

    So my guess is that after a detach and attach, it is still remembered somewhere in Plesk that it previously was "httpdocs"

    (I have looked through all wp-database tables with "better search replace", and there are no references to httpdocs)


    P.S. If I Detach - Rename back to httpdocs - Scan, the preview works fine. And Detach - Rename - Scan, and it is gone again. 

    P.P.S Also note that Restore points are gone, they also reappear by renaming back

  • Avatar
    Alexandr Redikultsev

    Hi @Eske Rahn,

    Thanks, now this behavior is clear for me!

    I was not able to catch a preview issue, however I was able to replicate the issue with missing restore points etc.

    We discussed it here internally and realized that as of now there is no way to tell WordPress Toolkit that this instance is actually the same instance it was before, and there is no way to change document root in the way that WordPress Toolkit catches it. As there is no such functionality at all, I can suggest creating a feature request on our uservoice portal here describing the use case (why exactly it was required for you and why exactly it is not working), you can even specify the link to this comment section to provide more details.

    With that said, there should be a workaround for that case. I am not sure whether or not it will help to resolve preview issue, but it will at least 'sync' the instance in WordPress toolkit with the previously existed restore points. What you need to do is to get into /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3 database, find 'detached' instance (it will have isIgnored parameter set to 1), remove this record and change the ID of the instance with new document root to the ID of removed record. That should sync the restore points and hopefully resolve the preview issue as well. In case it will not, feel free to submit a support request: https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support- 


  • Avatar
    Eske Rahn (Edited )

    Thanks for the suggested workaround :)

    My site is hosted where I have no access to the outer file system and databases.

    This is definitely not a big issue, we are in the Nice-to-have department. As I mentioned I got a couple of domains, where the others are in directories reflecting each domain's name. So it would be 'cleaner' if that was the case for the primary site too.


    ADD 2018-12-20: After letting Plesk update WP to 5.0.2, both preview and restore points are back. :-D

  • Avatar
    Ivan Postnikov

    Hello @Eske,

    ADD 2018-12-20: After letting Plesk update WP to 5.0.2, both preview and restore points are back. :-D

    Thank you for the information. Glad to know it is resolved now

Please sign in to leave a comment.

Have more questions? Submit a request