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.
The following information is in
2016-07-18T16:19:33-05:00 [EMERG] /sitebuilder/JsonApi/ PleskFatalException: Execution failed. Command: sbpublish Arguments: Array (  => --publish  => C:\inetpub\example.com\httpdocs  => -source-file  => /usr/local/psa/tmp/tmpAtOV0B  => -owner  => sub631_86  => -group  => psacln  => -domain-id  => 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.
- In the website root folder find the file
6558299edc6fcb3c03c617ece15c36e0_publication_list.xml. NOTE: UID may be differnt.
- In the mentioned file find the item (file) with the long name.
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 /usr/local/sb/htdocs/sites/65/6558299edc6fcb3c03c617ece15c36e0/attachments/Image/file_with_the_long_name_you_found_in_previous_step.jpg
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.