• Resolved magdamunro

    (@magdamunro)


    When I try to install my backup made with Duplicator 1.5.9 in my freshly made Docker WordPress container, using bind, I can neither connect to localhost when doing the validation —?Error: “Unable to connect the user [db-user] to the host [localhost]. The server error response was: No such file or directory‘ “— nor to 127.0.0.1 — Error: “Unable to connect the user [db-user] to the host [127.0.0.1]. The server error response was: Connection refused‘ “.

    However, I can use the same credentials to connect locally through my OS (mac) with any DB app, or I can issue docker exec -it from Docker Desktop and connect through the CLI. I can create and see tables no problem. If I instead use wordpress (another build) as is it works just as fine. But duplicator does not. I do make sure to delete everything for each run.

    in the dup-installer-log… file you can read pretty much the same thing, except it also states under “INSTALLER ERROR:” that “DATABASE: NULL”, which is surprising given I’ve supplied that. The same is true for both “127.0.0.1” as well as “localhost”.

    What can be done?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @magdamunro,

    We understand that you’re facing an issue that requires further investigation, and it may involve sharing log files containing sensitive information about your website. Unfortunately, such sharing is not allowed in www.remarpro.com forums for security reasons.

    To ensure your privacy and get the necessary support, kindly contact us through the form on our Contact Us page, and we’ll be more than happy to assist you promptly:

    https://duplicator.com/contact/?form=1

    Looking forward to hearing back from you.

    Thanks!

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @magdamunro ,

    I’m closing this support topic for inactivity. Please don’t hesitate to contact us in a Support Topic if you need any help with Duplicator.

    Thanks! 

    Thread Starter magdamunro

    (@magdamunro)

    I’m afraid I gave up. This is either my fault, in which case it doesn’t matter, or it’s systemic with Duplicator on Docker, in which case it’s not my problem.
    I’m moving to another hand-built solution for a WordPress site <> Docker Site using CI/CD. This doesn’t mean Duplicator isn’t great, because it is. It’s just not a great fit for this migration of mine.

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @magdamunro,

    I’m happy that you can migrate your website, and thanks for letting us know.

    If you have any other issues or questions using Duplicator, don’t hesitate to reach out to us again in a new support topic.

    Thanks!

    The host is what you define in docker-compose.yml, usually db

    Thread Starter magdamunro

    (@magdamunro)

    Yes, as I said the host was defined in all the scenarios I described including fresh wordpress, which worked. In all scenarios the db was reachable, just not from wp in the case of the Duplicator installation.

    If you think a fresh WP site and a Duplicator install should be set up differently in Docker, please share.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.