Product:
Search Type:

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

Article ID: 5389 
Last Review: Jul,08 2008
APPLIES TO:
  • Sitebuilder 4.x for Linux/Unix

SYMPTOMS

 In Sitebuilder admin log following messages persist:

Cannot read source from '/usr/local/sitebuilder/htdocs/sites/dirs_names/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

or

Cannot read source from '/opt/sitebuilder/htdocs/sites/dirs_names/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

RESOLUTION

Directory /data/storage/attachments does not exist on Sitebuilder server, you should create it manually to resolve the problem:

~# mkdir <sb-root>/htdocs/sites/dir/dir_name/data/storage/attachments
~# chown apache:apache <sb-root>/htdocs/sites/dir/dir_name/data/storage/attachments

Where dir_name is directory name where the site is located. Use the mysql command below to query Stebuilder database for dir_name.
mysql> select dir_name from site where alias='SITE NAME';
+----------------------------------+
| dir_name                         |
+----------------------------------+
| de4107a4fd775953b1cbbf86a667a87f |
+----------------------------------+
1 row in set (0.00 sec)

mysql>

and dir is 'de' from there.

apache:apache are user and group server apache works under, they are specified in apache configuration file.

For examplte for Fedora Core OS:

~# grep ^User /etc/httpd/conf/httpd.conf
User apache
~# grep ^Group /etc/httpd/conf/httpd.conf
Group apache


 Where <sb-root> is /usr/local/sitebuilder/ or /opt/sitebuilder (on Debian and Ubuntu).

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields