Notification emails not working after server change
-
Hi,
I have a low traffic website that I’m doing some maintenance on, and I’ve moved it from Server A to Server B. The website is working well. I have enabled debugging and there’s no error messages.
Updraft backups were already running on the old server (once a month) and a summary email was sent correctly. Destination is Google Drive. After migrating the website, on Server B, on UpdraftPlus plugin settings, I re-authenticated to the Google account, without issues. Ran a manual backup and it ran well but it did not send a summary email. I had a look at the log and it says:
0000.000 (0) Opened log file at time: Fri, 29 Dec 2023 20:52:35 +0000 on https://mywebsite.org 0000.001 (0) UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.23.16 WP: 6.0 PHP: 7.4.33 (litespeed, Linux cp01-nl.serverB-hosting.net 4.18.0-425.19.2.lve.el8.x86_64 #1 SMP Thu Apr 6 12:07:52 EDT 2023 x86_64) MySQL: 10.6.16-MariaDB-cll-lve (max packet size=268435456) WPLANG: pt_PT Server: LiteSpeed safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 13.9M | 16M) multisite: N openssl: OpenSSL 1.1.1k FIPS 25 Mar 2021 mcrypt: N LANG: ZipArchive::addFile: Y (...) 0151.222 (0) This backup set (1697042706) was an 'Always Keep' backup, so it will not be pruned. Skipping. 0151.222 (0) This backup set remains non-empty (f=1/d=1); will retain in history 0151.223 (0) Retain: saving new backup history (sets now: 5) and finishing retain operation 0151.224 (0) Resume backup (093e6ffdde9f, 0): finish run 0151.225 (0) Decremented the semaphore (fd) by 1 0151.226 (0) Semaphore (fd) unlocked 0151.227 (0) There were no errors in the uploads, so the 'resume' event (1) is being unscheduled 0151.228 (0) Deleting zip manifest (backup_2023-12-29-2252_My_Website_093e6ffdde9f-plugins.zip.list.tmp) 0151.229 (0) Deleting zip manifest (backup_2023-12-29-2252_My_Website_093e6ffdde9f-themes.zip.list.tmp) 0151.230 (0) Deleting zip manifest (backup_2023-12-29-2252_My_Website_093e6ffdde9f-uploads.zip.list.tmp) 0151.230 (0) Deleting zip manifest (backup_2023-12-29-2252_My_Website_093e6ffdde9f-others.zip.list.tmp) 0151.230 (0) No email will/can be sent - the user has not configured an email address. 0151.231 (0) The backup succeeded and is now complete
I don’t understand why the email was not sent. It says it’s not set but that is not true.
I had a look at the log of a previous scheduled backup, on Server A:
0000.000 (0) Opened log file at time: Mon, 11 Dec 2023 06:52:26 +0000 on https://mywebsite.org 0000.001 (0) UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.23.10 WP: 6.0 PHP: 7.3.25 (cgi-fcgi, Linux server-A-hosting.net 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64) MySQL: 5.5.30 (max packet size=1048576) WPLANG: pt_PT Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 20.9M | 26M) multisite: N openssl: OpenSSL 1.0.1e 11 Feb 2013 mcrypt: N LANG: ZipArchive::addFile: Y (...) 0072.558 (0) This backup set (1697042706) was an 'Always Keep' backup, and we have not yet reached any retain limits, so it should be counted in the count of how many have been retained for purposes of the 'how many to retain' count. It will not be pruned. Skipping. 0072.558 (0) This backup set remains non-empty (f=1/d=1); will retain in history 0072.558 (0) Retain: saving new backup history (sets now: 4) and finishing retain operation 0072.559 (0) Resume backup (b0eb58eba79a, 0): finish run 0072.560 (0) Decremented the semaphore (fd) by 1 0072.560 (0) Semaphore (fd) unlocked 0072.561 (0) There were no errors in the uploads, so the 'resume' event (1) is being unscheduled 0072.563 (0) Deleting zip manifest (backup_2023-12-11-0852_My_Website_b0eb58eba79a-plugins.zip.list.tmp) 0072.563 (0) Deleting zip manifest (backup_2023-12-11-0852_My_Website_b0eb58eba79a-themes.zip.list.tmp) 0072.564 (0) Deleting zip manifest (backup_2023-12-11-0852_My_Website_b0eb58eba79a-uploads.zip.list.tmp) 0072.564 (0) Deleting zip manifest (backup_2023-12-11-0852_My_Website_b0eb58eba79a-others.zip.list.tmp) 0072.565 (0) Fetching RSS news feed 0072.955 (0) Fetched RSS news feed; result is a: SimplePie 0072.982 (0) Sending email ('Ficheiros e base de dados (Backup Completo)') report (attachments: 0, size: 0 KB) to: info@... 0073.112 (0) The backup succeeded and is now complete
As you can see from the sample log above, on Server A, emails were being sent (and I know for a fact, they reached my email account).
Some details:
- Server A was using PHP 7.3.25 and Server B is using PHP 7.4.33.
- The website is on WordPress 6.0 and UpdraftPlus 1.23.16 (latest available).
- I’m using the free version of UpdraftPlus.
- I know WordPress emails are working on Server B. To test WordPress email sending capabilities, I created a new website account and the “New account” email notifications were sent correctly to both the new user email address and to the general WP website admin address (info@…). Btw, both of these email addresses are external (they don’t belong to the website domain).
- The website still exists on the old server, but DNS is not pointing to it and the UpdraftPlus plugin is disabled in that WordPress instance.
- The topic ‘Notification emails not working after server change’ is closed to new replies.