• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Backup fails since upgrade to 10.x

P

papick.taboada

Guest
Since I upgraded to 10.x (now 10.2.0) on my ubuntu server I cannot backup to ftp anymore.

-> Scheduled backups always stated as "failed"
-> When I click on one of the failed "backup prefix" entries, I get a "Error: Unknown object type" displayed
-> Nothing ever gets removed, disk gets full every now and then
-> Server Repository in Backup-Manager always list the latest 3 backups, I configured 4!
-> Nothing is stored in the ftp server

Connection from the server to the ftp server is working fine.

So, this is what I see from the plesk panel webapp on my server. Is there any way to trigger a backup (to ftp server) as configured in the webapp from the command line?

Please help.
 
Not enough information. Could you please try to pick up related error messages from logs in /usr/local/psa/PMM/logs/
 
Thank you, now I know where the backup logs are...

According to the logs, the FTP upload failed:

<message id="1beb28f5-0f2e-44fb-88c3-8e37e3ff8a71" severity="error" code="FtpError">
<description>Can't upload file '/raid/psadumps/automatic_info_1105230431.xml.tar' to ftp</description>
</message>
<message id="68d54d30-c462-4add-8868-8620b417dcb8" severity="error" code="msgtext">
<description>'undef' password passed to makePasswordNode. Set to empty</description>
</message>


And the error mail is not getting sent because of:

Stacktrace is: Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli_daemon_actions.py", line 545, in process
action_item.process(logger)
File "/usr/local/psa/admin/share/pmmcli/pmmcli_daemon_actions.py", line 320, in process
mailsender.send(logger,self.__mail_to,self.__task_type,self.__task_status,self.__owner_guid,self.__owner_type,self.__creation_date,self.__fullname,self.__logfilename)
File "/usr/local/psa/admin/share/pmmcli/pmmcli_daemon_actions.py", line 281, in send
sendmail = subprocess.Popen(["sendmail",mail_sender,"-t","-oi"], stdin = subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Unfortunately, I can't tell what file or direcotry is not where it should be...
 
The only row I found was the one of a mailing list email. I added a password (hope it does not break anything), now the backup fails and I can click on the webapp and check the failure error:

<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error" log-location="/opt/psa/PMM/sessions/2011-06-20-105912.802/migration.result">
<message id="c2d2b3d0-e1aa-4cae-80c1-276a814bfeab" severity="error" code="fatal">
<description>Runtime error</description>
</message>
<message id="55100dbd-47e4-45e3-8395-a2c7f54280d0" severity="error" code="ExportFailed">
<description>The dump have been made successfully but can not be imported to FTP due to errors.
The dump 'manual_info_1106201059.xml' have been leaved at repository '/somewhereelse/psadumps'. Please export it manually</description>
</message>
<message id="9b5cf680-627b-4d77-8a74-737434d266d7" severity="error" code="FtpError">
<description>Can't upload file '/somewhereelse/psadumps/manual_info_1106201059.xml.tar' to ftp</description>
</message>
</execution-result>

Could it be some firewall/ active ftp thing?
 
Do you have more detailed error messages in /opt/psa/PMM/sessions/2011-06-20-105912.802/migration.result ?
Try to use passive mode for FTP.
 
Well, it only says ftp error.
Tried both - ftp active and passive mode, no changes.



<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error" log-location="/opt/psa/PMM/sessions/2011-06-21-162644.729/migration.result">
<message id="50f68616-6338-4598-8a26-82ebde5c99ca" severity="error" code="fatal">
<description>Runtime error</description>
</message>
<message id="ddd17e4b-e7c9-48d4-8129-b605cb9f3643" severity="error" code="ExportFailed">
<description>The dump have been made successfully but can not be imported to FTP due to errors.
The dump 'manual_info_1106211626.xml' have been leaved at repository '/somepath/psadumps'. Please export it manually</description>
</message>
<message id="4c9f285f-cb4b-41c5-8764-4978970e664f" severity="error" code="FtpError">
<description>Can't upload file '/somepath/psadumps/manual_info_1106211626.xml.tar' to ftp</description>
</message>
</execution-result>
 
Back
Top