Articles in this section

Backups in Plesk cannot be created or restored from a remote storage: Internal Error 504 Gateway Time-out

Plesk for Linux kb: technical

Symptoms

  • Trying to restore a backup from remote storage returns an error

    PLESK_ERROR: Internal error
    <html>
    <head><title>504 Gateway Time-out</title></head>
    <body>
    <center><h1>504 Gateway Time-out</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>

  • With debug logs enabled, /var/log/plesk/panel.log may show the following error

    CONFIG_TEXT: 3466646:63b8a47429bf7 DEBUG [util_exec] [63b8a47429baa] Starting: filwrpr 49, stdin:
    [2023-01-06 23:45:08.185] 3466646:63b8a47429bf7 DEBUG [util_exec] [63b8a47429baa] Finished in 0.01331s, Error code: TRUE, stdout: , stderr:
    [2023-01-06 23:45:08.279] 3466646:63b8a47429bf7 DEBUG [util_exec] [63b8a4744421c] Starting asynchronously: pmmcli --pmmras-exec /usr/local/psa/tmp/preeZ5Z8A --get-dump-content-list --dump-file-specification=ftps://user@your-storage.example//example.com//backup_2211300110.tar --content-type=webcontent --session-path=/var/log/plesk/PMM --dump-storage=ftps://user@your-storage.example//example.com/ --use-ftp-passive-mode --type=server --guid=cbe4222b-3b5b-4faf-90fa-bb8a1119a263 --filter-type=domain --filter-name=su-reiter.de --filter-guid=d4a66c67-c2dd-4985-a5a8-da97a1e99c75 --web-content-dir=/, stdin:
    [2023-01-06 23:45:08.280] 3466646:63b8a47429bf7 DEBUG [util_exec] [63b8a4744421c] Finished in 0.00137s, Error code: TRUE, stdout: , stderr:

  • Timeout values have been increased and no errors are logged in /var/log/sw-cp-server/error_log

Cause

Connection issues with the remote storage location.

Solution

Contact the remote storage provider to troubleshoot the connection, or connect a new remote storage instance. If no issues are found on the remote side, or it persists with different ones, have a network administrator check the network access from Plesk to the remote storage boxes.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.