Article ID: 119051, created on Dec 6, 2013, last review on May 10, 2014

  • Applies to:
  • Operations Automation 5.5
  • Operations Automation 5.4
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


I cannot publish a site with Parallels Web Presence Builder. The following error occurs:

Unexpected server behavior.
Please contact the server administrator.


Invalid permissions in the publishing directory (where to the site is published). Apache does not have permissions for writing into the directory.

[For Plesk] Enable Plesk backend tools debug tracking and try to publish the site. The following error is shown in the log:

cp: cannot create regular file `/var/www/vhosts/%domain.tld%/httpdocs/css/style.css': Permission denied 


Verify and fix permissions for the publishing directory.

[For Plesk]. Here are correct permissions for files in virtual host directory of Plesk domain %domain.tld%:

~# /usr/local/psa/bin/domain --info %domain.tld% | egrep 'FTP Login|WWW-Root'
FTP Login:            %ftpuser%
--WWW-Root--: /var/www/vhosts/%domain.tld%/httpdocs/
~# ls -l /var/www/vhosts/%domain.tld%/httpdocs/
total 108
-rw-r--r--  1 %ftpuser% psacln   4579 Dec  5 13:07 index.html
drwxr-xr-x  2 %ftpuser% psacln   4096 Dec  5 13:07 css
drwxr-xr-x  8 %ftpuser% psacln   4096 Dec  4 09:18 attachments

If the permissions are incorrect, fix them with this command:

~# chown -R %ftpuser%:psacln /var/www/vhosts/%domain.tld%/httpdocs/*
~# chmod -R 755 /var/www/vhosts/%domain.tld%/httpdocs/css

Refer to this KB article for changing permissions for Plesk domains in a mass:

How to reset Virtual Host Permissions in Parallels Plesk Panel 11

Additional information

[Troubleshooting] Cannot publish site with Parallels Web Presence Builder: "Unexpected server behavior"

Cannot apply generated templates to site: "Unexpected server behavior"

Cannot launch Parallels Presence Builder: "Unexpected server behavior"

Module "Banner" cannot be added to site: "Unexpected server behavior"

Search Words

Unexpected server behaviour. Please contact the server administrator.

cannot publish site

Unexpected server behavior

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e ac82ce33439a9c1feec4ff4f2f638899 aea4cd7bfd353ad7a1341a257ad4724a 01bc4c8cf5b7f01f815a7ada004154a2 614fd0b754f34d5efe9627f2057b8642

Email subscription for changes to this article
Save as PDF