Article ID: 114677, created on Aug 29, 2012, last review on May 6, 2014

  • Applies to:
  • Plesk Sitebuilder 4.x for Linux/Unix

Symptoms

Cannot open site in Sitebuilder Wizard. The following error is shown:

---8<---
Internal Sitebuilder error.
File: /usr/local/sitebuilder/include/SB/Site/Compiler/Target/Link.php; Line: 89
Message: Cannot read the source from '/usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/attachments'.; Code: 0
--->8---    


Where “0f8199d880c7a8e29a9bcbaaf9d27310” is site ID.

Cause

Subdirectories "/attachments" and probably "/data/storage/attachments" are missing in site's directory.

Resolution

Verify and create the missing directories. You may use the following commands:

~# mkdir /usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/attachments
~# mkdir /usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/data/storage/attachments

~# mkdir /usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/data/settings/attachments

Remember to fix permissions:

~# chown apache:apache /usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/attachments
~# chown apache:apache /usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/data/storage/attachments

~# chown apache:apache /usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/data/settings/attachments

for Debian and Ubuntu:

~# chown www-data:www-data /opt/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/attachments
~# chown www-data:www-data /opt/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/data/storage/attachments

~# chown www-data:www-data /opt/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/data/settings/attachments

ea6a61e571a858aa6019ceb068ea403a 56797cefb1efc9130f7c48a7d1db0f0c fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946

Email subscription for changes to this article
Save as PDF