• Resolved tommcgee

    (@tommcgee)


    After updating the plugin this morning, no mails were being sent from forms on my multisite installation. When I went to the most-important one I saw that all of the SMTP host and port settings had reverted to “localhost” “25”.

    Resetting them seems to have fixed it, but I thought the upgrade was supposed to keep the old settings?

    FWIW I log all the mails that go out, and they were successful right up until the update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hi,

    I assume you used constants to set site-wide settings?
    If yes, please wait for the next release, it will fix the issue by properly working with them.

    Sorry for the trouble! Meanwhile, you can downgrade to the older version.
    v1.0.3 will come with the fix.

    Thread Starter tommcgee

    (@tommcgee)

    I have two multisite installations, one with site-wide constants and one with individual blog settings. Both failed.

    It’s kind of erratic — some blogs have localhost, some have ‘mycorrect.email.host’. That might be an artifact of some older blogs that had a different setup. Anyway:

    wp site list –field=url | xargs -n1 -I {} sh -c ‘wp –url={} option update smtp_host mycorrect.email.host –skip-themes’ seems to be working.

    • This reply was modified 7 years, 3 months ago by tommcgee.
    Plugin Author Slava Abakumov

    (@slaffik)

    First of all: ? for the wp usage ??

    Individual blog settings fail is more interesting (kind of unknown reason of error). Is it possible to get more details about that? Like debug output of the Email Test, or something else?

    Thread Starter tommcgee

    (@tommcgee)

    I’m not sure where the errors would be — there was nothing in the mail logs that I could see. But since the server had reverted to “localhost” instead of our organization’s email server, that would be enough to break it. Our internal rules don’t allow for individual machines to run mail servers, it all has to go through the master hub.

    Though it was interesting that users got a “success” message on their submissions, even though the outgoing mails vanished.

    • This reply was modified 7 years, 3 months ago by tommcgee.
    Plugin Author Slava Abakumov

    (@slaffik)

    Perhaps postfix was installed and did some magic, plenty of possibilities.

    I will mark this topic as resolved, as you have actually resolved it for your network.
    But we will look closer at the WPMS integration.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multisite settings lost’ is closed to new replies.