Search Engine: Elastic

Article ID: 129134, created on Jul 18, 2016, last review on Jul 18, 2016

  • Applies to:
  • Plesk Automation 11.5


  1. The following error is thrown when attempting to publish the website:

    Unexpected server behavior. For details, see the product's log files.
    Some errors were written to log. Please contact to administrator.
  2. The following information is in /usr/local/psa/admin/logs/sitebuilder.log:

    2016-07-18T16:19:33-05:00       [EMERG] /sitebuilder/JsonApi/   PleskFatalException: Execution failed.
    Command: sbpublish
    Arguments: Array
        [0] => --publish
        [1] => C:\inetpub\\httpdocs
        [2] => -source-file
        [3] => /usr/local/psa/tmp/tmpAtOV0B
        [4] => -owner
        [5] => sub631_86
        [6] => -group
        [7] => psacln
        [8] => -domain-id
        [9] => 738
    Details: Error occured while sending feedback. HTTP code returned: 502
    Error occured while sending feedback. HTTP code returned: 502
    Failed to copy local temporary storage to target path. The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
    file: /usr/local/psa/admin/plib/Os.php
    line: 107


The name of one of the website items (documents, images, etc) is too long so that the full path (on destination side) exceeds 428 characters.


  1. In the website root folder find the file 6558299edc6fcb3c03c617ece15c36e0_publication_list.xml. NOTE: UID may be differnt.
  2. In the mentioned file find the item (file) with the long name.
  3. Find that file on the management node:

    [root@server]# find /usr/local/sb/htdocs/sites/ -name file_with_the_long_name_you_found_in_previous_step.jpg
  4. Rename it having shortened its name:

    [root@server]# mv /usr/local/sb/htdocs/sites/65/6558299edc6fcb3c03c617ece15c36e0/attachments/Image/file_with_the_long_name_you_found_in_previous_step.jpg /usr/local/sb/htdocs/sites/65/6558299edc6fcb3c03c617ece15c36e0/attachments/Image/file01.jpg

NOTE: You may also remove the file directly from sitebuilder constructor and upload again after renaming.

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF