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).