Publication fails with "It is possible that there are no enough permissions for writing or there is not enough free space on the server."

Refers to:

  • Plesk for Linux
  • Web Presence Builder for Linux
  • Plesk Sitebuilder for Linux
  • Web Presence Builder 11.5 for Windows

Created:

2016-11-16 13:01:50 UTC

Modified:

2016-12-21 19:47:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Publication fails with "It is possible that there are no enough permissions for writing or there is not enough free space on the server."

Symptoms

The following error is shown in Sitebuilder Wizard GUI during site publishing:

The site has not been published. Cannot update modules data.

or

Cannot copy the site files to the specified site location. It is possible that you do not have enough permissions for writing or there is not enough free disk space on the server.

And this message is shown in Sitebuilder admin log ( Parallels Plesk Sitebuilder > Logs ):

Cannot copy file to 'publication_list.xml' via FTP It is possible that there are no enough permissions for writing or there is not enough free space on the server.

or

Cannot read source from %sb_root%/htdocs/sites/%dir%/%dir_name%/data/storage/attachments via FTP It is possible that there are no enough permissions for writing or there is not enough free space on the server.`

Cause

  1. The site is published to NFS share.
  2. Missing or invalid site's directory /data/storage/attachments on Sitebuilder server.
  3. There is some issue with psa-proftpd package, if publication is done to Plesk server.
  4. Site tries to publish images to images folder on windows, tries to create a new folder where as windows webspace has Images folder in the current location. Due to case insensitive nature of windows this will fail with the above error.

Resolution

  1. Verify publishing location according to #213910105 .

  2. Create directory /data/storage/attachments if it's missing and correct permissions as well:

    ~# mkdir %sb_root%/htdocs/sites/%dir%/%dir_name%/data/storage/attachments

    %sb_root% is directory where Parallels Plesk Sitebuilder is installed. It's /usr/local/sitebuilder/ for RedHat based OS and /opt/sitebuilder for Debian/Ubuntu.

    %dir_name% is name of site root directory. Use the mysql query below to get %dir_name% from Sitebuilder database:

    mysql> select dir_name from site where alias='SITE NAME';
    +----------------------------------+
    | dir_name |
    +----------------------------------+
    | de4107a4fd775953b1cbbf86a667a87f |
    +----------------------------------+

    Here %dir% is the first two characters of %dir_name% .

    For example: if %dir_name%="de4107a4fd775953b1cbbf86a667a87f" then %dir%="de" .

    Change owner and group of the directory to Apache user and group, specified in Apache configuration file. For example on FedoraCore Apache user and group are apache:apache (they are www-data:www-data on Debian/Ubuntu):

    ~# egrep '^User|^Group' /etc/httpd/conf/httpd.conf
    User apache
    Group apache

    And so the command is:

    ~# chown apache:apache %sb_root%/htdocs/sites/%dir%/%dir_name%/data/storage/attachments
    1. Make sure the proftpd package isn't from Atomic repo, if it's installed from Atomic repo install the proftpd package from http://autoinstall.plesk.com/
  3. Rename the existing folder, since ppa will store all the required images to new folder.

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