Cannot download a log file from Plesk Migrator

Created:

2016-12-12 03:40:04 UTC

Modified:

2017-08-16 17:38:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot download a log file from Plesk Migrator

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  • Browser shows the following error when trying to download info.log or debug.log from the interface of Plesk Migrator:

    Mozilla Firefox:

    alttext

    Google Chrome:

    alttext

  • The following errors can be found in /var/log/plesk/panel.log :

    PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 268531 bytes) in /usr/local/psa/admin/plib/modules/panel-migrator/controllers/IndexController.php on line 567

    OR

    PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 292991782 bytes) in /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php on line 309

Cause

Not enough memory for PHP.

Resolution

  1. Increase memory_limit in /usr/local/psa/admin/conf/php.ini file up to 512 Mb.

  2. Restart services:

    # service sw-cp-server restart
    # service sw-engine restart

If the issue still persists, increase memory_limit even more.

Have more questions? Submit a request
Please sign in to leave a comment.