• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved "Dump failed; The following domains were not found on the host"

Jean Pierre Kolb

New Pleskian
Strange error during backups (manual or scheduled) on a server running Plesk Onyx, Version 17.0.17 Update #29 and Ubuntu 16.04 (all available updates were installed). Since today (21.07.2017) every backup action fails with an error message like this:

Domain: example.com
Plesk entry point: https://hosting.example.com:8443/

The following error occurred during the scheduled backup process:

Dump failed; The following domains were not found on the host: example.com

The backup log for such an action looks looks like this:

Code:
see attached file: "plesk_backup_error_log.txt"

Yesterday there were no errors and all backups (manual and scheduld) ran successfully.
No limits (e. g. file system, cpu, ram, db ...) are exhausted, all backups are stored locally ("/var/lib/psa/dumps"), no other errors or strange behaviors on this server (Plesk, NGINX, MySQL etc.)

It doesn't mater if the account is old, was updated today (e. g. added new domain) or was completly new created today with a new customer. The backup tasks on all accounts always fail, with the same error message.

The following commands where executed without errors or any effect:

Code:
service psa restart
service mysql restart
service psa-firewall restart
service psa-health-monitor-notificationd restart
service sw-collectd restart
service sw-cp-server restart
service sw-engine restart
plesk repair all
plesk repair db
plesk repair mysql
plesk repair fs

The "plesk repair all" command outputs this:

Code:
Reconfiguring the Plesk installation
Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Checking system users ............................................... [OK]

Checking Linux system files ......................................... [OK]

Checking virtual hosts' file system ................................. [OK]

Checking Plesk version .............................................. [OK]

Checking for custom configuration templates ......................... [OK]

Checking for the JkWorkersFile directive in the Apache configuration  [OK]

Checking associations between domains and IP addresses .............. [OK]

Checking for corrupted reference between IP collections and IP
addresses ........................................................... [OK]

Checking for links between APS applications and subscriptions ....... [OK]

Checking for the Zend extension declaraion in php.ini ............... [OK]

Check symbolic links for latest virtual host config files ........... [OK]

Checking for system users home directories consistency .............. [OK]

Checking for records with empty name field in the Configurations table[OK]

Checking for nginx ULIMIT value ..................................... [OK]

Checking for extra configurations in database not owned by any object [OK]

Repairing web server configuration .................................. [OK]

Checking the usage of PHP handlers .................................. [OK]

Repairing the mail server configuration ............................. [OK]

Checking the DNS configuration file ................................. [OK]

Restoring DNS server configuration .................................. [OK]

Checking MySQL database servers ..................................... [OK]

Repair databases on available servers ............................... [OK]

Repair database users on available servers .......................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

The psa database was dumped manually ("mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` psa > psa.sql") and checked, but no errors or inconstancies could be found. Even the sql queries, shown in the log file above, were running perfectly and displays the correct data.

The only strange thing, which I can not understand, is the line:

Code:
[19717]: 2017-07-21 08:00:22.745 WARN c3d3524b-52dc-4352-87bf-0d916acf6bc1 The following domains were not found on the host: example.com

The guid "c3d3524b-52dc-4352-87bf-0d916acf6bc1" isn't set or written in or into the database. If this should be the guid for the corresponding domain (e. g. example.com) in the psa database table "domains", then this must be the problem causing the error, because in the database table, there is another guid for this domain. Every time the backup task is running and failing, there is a new guid outputted in this line - for the same domain?

Even no changes for the server or psa configuration were made, during the last 24 hours.

An diff command on the database today's dump "/var/lib/psa/dumps/mysql.daily.dump.0.gz" and "/var/lib/psa/dumps/mysql.daily.dump.2.gz" from the day before yesterday, only shows differences in tables for e. g. logs. But there was a new table created:

Code:
+-- Table structure for table `gtid_executed`
+--
+
+DROP TABLE IF EXISTS `gtid_executed`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `gtid_executed` (
+  `source_uuid` char(36) NOT NULL COMMENT 'uuid of the source where the transaction was originally executed.',
+  `interval_start` bigint(20) NOT NULL COMMENT 'First number of interval.',
+  `interval_end` bigint(20) NOT NULL COMMENT 'Last number of interval.',
+  PRIMARY KEY (`source_uuid`,`interval_start`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 STATS_PERSISTENT=0;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `gtid_executed`
+--
+
+LOCK TABLES `gtid_executed` WRITE;
+/*!40000 ALTER TABLE `gtid_executed` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gtid_executed` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--

Maybe there was an update for plesk migrator?

Has anybody an idea, which thing could cause this error?

Thanks in advance!
 

Attachments

  • plesk_backup_error_log.txt
    9.9 KB · Views: 5
Same problem here but with Version: Plesk Onyx 17.5.3 Update #14, last update: 21. Juli 2017 04:47:05

Actually, backups scheduled before 21. Juli 2017 04:47:05 are fine. Everything whats scheduled later/after runs into: "Dump failed; The following domains were not found on the host: example.com".

Edit: MySql was updated at 04:48h as well (Ubuntu 16.04)
Code:
- libmysqlclient20 5.7.19-0ubuntu0.16.04.1 vom Repository Ubuntu for xenial-updates by Ubuntu (vorherige Version: 5.7.18-0ubuntu0.16.04.1 vom Repository now)
- mysql-client-core-5.7 5.7.19-0ubuntu0.16.04.1 vom Repository Ubuntu for xenial-updates by Ubuntu (vorherige Version: 5.7.18-0ubuntu0.16.04.1 vom Repository now)
- mysql-common 5.7.19-0ubuntu0.16.04.1 vom Repository Ubuntu for xenial-updates by Ubuntu (vorherige Version: 5.7.18-0ubuntu0.16.04.1 vom Repository now)
- mysql-server 5.7.19-0ubuntu0.16.04.1 vom Repository Ubuntu for xenial-updates by Ubuntu (vorherige Version: 5.7.18-0ubuntu0.16.04.1 vom Repository now)
 
Last edited:
Also having the same issue. At first I thought it may be related to where we were dumping backups to, but that is clearly not the case. We are running Plesk Onyx, Version 17.0.17 Update #29 and Ubuntu 16.04.
 
Same here (one domain + one subdomain, only a small Wordpress installation):

ERROR: () Dump failed
WARNING: () The following domains were not found on the host: example.com
ERROR: (server object 'server') No objects to dump found

Very first backup on this server.

‪Ubuntu 16.04.2 LTS‬
Plesk Onyx Version 17.5.3 Update #14

Hoping this is a bug in this version and will be fixed soon.
 
Same issues here
Backup Task July 22, 2017 04:36 AM Details
Error:
Dump failed
Warning:
The following domains were not found on the host: xxxx
Error: server "server"
No objects to dump found
 
Ich habe seit heute früh auch diese Problem.

Plesk Onyx
Version 17.5.3 Update #14, last updated on July 21, 2017 06:30 AM
The system is up-to-date. Checked on July 21, 2017 06:26 AM.

Ubuntu 16.04.2 LTS‬
 
I have the same problem

Error Log
Error:
@ESCAPE_VALUE_BEGIN@Dump failed@ESCAPE_VALUE_END@
Warning:
@ESCAPE_VALUE_BEGIN@The following domains were not found on the host: domain.com@ESCAPE_VALUE_END@
Error: server "server"
@ESCAPE_VALUE_BEGIN@No objects to dump found@ESCAPE_VALUE_END@
 
I've tried but it keeps logging me out. I can confirm that my particular issue seems to be with Backup Manager and FTP storage. Locally stored backups with Backup Manager apparently succeed.
 
Same here since July 18th (Ubuntu 16.04 / Onyx 17.0.17 Update #29) but sometimes the backup (scheduled) is created, even when the message appears.
 
Okay... That worked for me also.
Code:
apt-get update && apt-get install libdbd-mysql-perl

I can confirm that those packages were not installed on my system, after installing them backups seem to be working again (backup successfully startet, not finished yet).
Thank you GRIP36!

The question is: what was the root-cause for that? Plesk-Update, Ubuntu-(mysql)-Update or maybe "combo" of both..?

Edit/Update: Backup went through!
 
Last edited:
This fixed the issue for me: apt-get update && apt-get install libdbd-mysql-perl

I can confirm too, that this fixes the issue.

Here is the output of the command "apt-get update && apt-get install libdbd-mysql-perl" on my server:

Code:
OK:1 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial InRelease
OK:2 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-updates InRelease                                                         
OK:3 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-security InRelease                                                         
OK:4 http://autoinstall.plesk.com/debian/NODE_0.0.1 all InRelease                                                       
OK:5 http://autoinstall.plesk.com/ubuntu/RUBY_0.0.1 xenial InRelease                                                     
OK:6 http://autoinstall.plesk.com/ubuntu/PMM_0.1.10 xenial InRelease             
OK:7 http://autoinstall.plesk.com/ubuntu/PSA_17.0.17 xenial InRelease             
OK:8 http://autoinstall.plesk.com/ubuntu/PHP52_17 xenial InRelease               
OK:9 http://autoinstall.plesk.com/ubuntu/PHP53_17 xenial InRelease                                       
OK:10 http://autoinstall.plesk.com/ubuntu/PHP54_17 xenial InRelease                                       
OK:11 http://updates.atomicorp.com/channels/tortix-common/debian xenial InRelease
OK:12 http://autoinstall.plesk.com/ubuntu/PHP55_17 xenial InRelease         
OK:13 http://autoinstall.plesk.com/ubuntu/PHP56_17 xenial InRelease
OK:14 http://autoinstall.plesk.com/ubuntu/PHP70_17 xenial InRelease
OK:15 http://autoinstall.plesk.com/ubuntu/PHP71_17 xenial InRelease
OK:16 http://autoinstall.plesk.com/ubuntu/NGINX17 xenial InRelease
Paketlisten werden gelesen... Fertig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
The following additional packages will be installed:
  libdbi-perl
Vorgeschlagene Pakete:
  libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
Die folgenden NEUEN Pakete werden installiert:
  libdbd-mysql-perl libdbi-perl
0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 828 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 2.415 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Holen:1 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial/main amd64 libdbi-perl amd64 1.634-1build1 [743 kB]
Holen:2 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-updates/universe amd64 libdbd-mysql-perl amd64 4.033-1ubuntu0.1 [84,3 kB]
Es wurden 828 kB in 0 s geholt (1.648 kB/s).
Vormals nicht ausgewähltes Paket libdbi-perl wird gewählt.
(Lese Datenbank ... 131393 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libdbi-perl_1.634-1build1_amd64.deb ...
Entpacken von libdbi-perl (1.634-1build1) ...
Vormals nicht ausgewähltes Paket libdbd-mysql-perl wird gewählt.
Vorbereitung zum Entpacken von .../libdbd-mysql-perl_4.033-1ubuntu0.1_amd64.deb ...
Entpacken von libdbd-mysql-perl (4.033-1ubuntu0.1) ...
Trigger für man-db (2.7.5-1) werden verarbeitet ...
libdbi-perl (1.634-1build1) wird eingerichtet ...
libdbd-mysql-perl (4.033-1ubuntu0.1) wird eingerichtet ...

I can't explain, why those packages got lost. Maybe MySQL packages updates were executed by Plesk.

Thanks for the help.
 
Installing libdbd-mysql-perl also resolved the same issue on our server

‪Ubuntu 16.04.2 LTS‬
Plesk Onyx 17.5.3 Update #15
 
Back
Top