• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Backups not Works

Alex.H.

New Pleskian
We have a Plesk server version 12.5.
If we try to make a backup, we get the following error message:

Cannot encrypt dump file (this is not fatal error!): Died at /opt/psa/PMM/agents/PleskX/Packer.pm line 483.

I have analysed this sentence and modified it to debug:

IPC::Run::run($encryptCmd, '2>', \$stderr) or die($stderr);
IPC::Run::run($encryptCmd, '2>', \$stderr) or die($stderr, Dumper($encryptCmd));

Now, after trying a backup again, I get the following further information:

$VAR1 = [
'/opt/psa/bin/sw-engine-pleskrun',
'/opt/psa/admin/plib/api-cli/backup_encrypt.php',
'--encrypt-by-plesk',
'-backup-files-map',
'/tmp/xmlFilesListYBoZY5' ];

What I find bizarre: the file:/opt/psa/admin/plib/api-cli/backup_encrypt.php does not exist and can't be executed. Is this the error? I have installed a new Plesk-Iso, to get sure that we have not somehow lost the file on our server. But even on this freshly installed Plesk I can't find the file.
Many thanks for every answer!

Regards
 
I've checked the code you mentioned. There are the following line
Code:
my $encryptCmd = AgentConfig::getEncryptUtil();
I've grep by getEncryptUtil and found the following:
Code:
sub getEncryptUtil {
  my ($self) = @_;
  if (PleskVersion::atLeast(12, 1, 0)) {
    return [$self->__productPath('/admin/sbin/backup_encrypt')];
  } else {
    return [$self->__getSwEnginePath(), $self->__productPath('/admin/plib/api-cli/backup_encrypt.php')];
  }
}
So here the question, is it realy Plesk 12.5?
Check it by running
Code:
plesk version
 
Thank you Dimitry, the result when i run plesk version
Product version: 12.0.18
Build date: 2015/10/14 14:00
OS version: Ubuntu 14.04
Revision: 344620
Architecture: 64-bit
Wrapper version: 1.2


But in the Browser Plesk show me the version: 12.5.30 so what is here wrong.
 
Seems like upgrade error
Please run
Code:
dpkg-query -W plesk-core

But I almost sure it is incomplete upgrade

First check package base:
Code:
apt-get -f install
Code:
dpkg —configure -a

Second run autoinstaller and check that it show installed version as 12.5. If not, install 12.5
If autoinstaller says there are 12.5 already installed and there are no updates, run:
Code:
/usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/bootstrapper.sh repair
bootstrapper should perform postupgrade actions, if any.

Hope it helps!
 
I get the follow output:
START Bootstrapper 12.5.30 repair AT Fri Feb 5 09:30:12 CET 2016

**** Product repair started.

===> Checking for previous installation ... found.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

Trying to start service mysql... /usr/sbin/mysqld (pid 20405) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012005030
Version is OK, no need to create psa database.
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.5.30.20160205-093012.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
Upgrade or repair for 'apsc' (stage 'prep') is not required
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.apsc.12.0.18-12.5.30.20160205-093017.dump.gz
===> Cumulative upgrade and repair of APS controller database has been completed.
Connection to APSC DB is possible
===> Cumulative APS controller upgrade and repair (final stage) has been started.
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
Trying to reset database user password for 'pma_NKkFXtplKlVN@'... done
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
Upgrade or repair for 'core' (stage 'prep') is not required
===> Preparing Plesk database upgrade (revertable stage).

Trying to set psa database version to 012005030... done
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
===> Plesk database scheme upgrade has been started.
===> Plesk database scheme upgrade has been completed.
done
===> Cumulative Plesk upgrade and repair (final stage) has been started.
Upgrade or repair for 'core' (stage 'post') is not required
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
Trying to upgrade and repair Roundcube webmail configuration... Upgrade or repair for 'roundcube' (stage 'files') is not required
done
Upgrade of Roundcube Web Based mail client configs and DB is not required - no previous version
Trying to upgrade and repair Firewall service configuration... Upgrade or repair for 'firewall' (stage 'post') is not required
done
Reconfiguring mail subsystem...
Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... ok
==> Checking for: mail_spam_restore... not found, skipped
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not found, skipped
==> Checking for: mail_outgoing_restore... ok
==> Checking for: mail_transport_restore... ok
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Trying to register service sw-cp-server... done
Trying to register service sw-engine... done
Trying to register service dovecot... done
Trying to register service pc-remote... done
Reconfiguring SSL ciphers and protocols...
Trying to configure SSL ciphers and protocols... done
Regenerating web servers' configuration files...
Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.5.30_repair.log' and '/var/log/plesk/install/plesk_12.5.30_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.

**** Product repair completed successfully.

And the file *repair_problems.log not exists
cat: /var/log/plesk/install/plesk_12.5.30_repair_problems.log: No such file or directory

With plesk version i will get still the follow output
Product version: 12.0.18
Build date: 2015/10/14 14:00
OS version: Ubuntu 14.04
Revision: 344620
Architecture: 64-bit
Wrapper version: 1.2


apt-get tell me that is nothing todo.

any ideas :(
 
Sorry, I have no other ideas. Try to contact support.
As a temporary workaround to be able to make backups you may hack /usr/local/psa/version
Make backup of this file and edit it to 12.5.30 version. It should help to make Plesk backup.
But the root cause of the issue still unclear.
 
Back
Top